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

