Class ModelExtract.SurfaceTagCombo
- Namespace
- ValveResourceFormat.IO
- Assembly
- ValveResourceFormat.dll
Represents a combination of surface property and collision tags.
public sealed record ModelExtract.SurfaceTagCombo : IEquatable<ModelExtract.SurfaceTagCombo>
Inheritance
Implements
Inherited Members
Constructors
SurfaceTagCombo(string, HashSet<string>)
Represents a combination of surface property and collision tags.
public SurfaceTagCombo(string SurfacePropName, HashSet<string> InteractAsStrings)
Parameters
SurfaceTagCombo(string, string[])
Initializes a new instance of the ValveResourceFormat.IO.ModelExtract.SurfaceTagCombo record.
public SurfaceTagCombo(string surfacePropName, string[] collisionTags)
Parameters
Properties
InteractAsStrings
public HashSet<string> InteractAsStrings { get; init; }
Property Value
StringMaterial
Gets the string representation of the material.
public string StringMaterial { get; }
Property Value
SurfacePropName
public string SurfacePropName { get; init; }
Property Value
Methods
Equals(SurfaceTagCombo)
Determines whether the specified ValveResourceFormat.IO.ModelExtract.SurfaceTagCombo is equal to the current instance.
public bool Equals(ModelExtract.SurfaceTagCombo other)
Parameters
other
ModelExtract.SurfaceTagCombo
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
-
A hash code for the current object.
Remarks
Returns the hash code of the string material representation.