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
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 record.
csharp
public SurfaceTagCombo(string surfacePropName, string[] collisionTags)Parameters
surfacePropName string
collisionTags string[]
Properties
InteractAsStrings
csharp
public HashSet<string> InteractAsStrings { get; init; }Property Value
StringMaterial
Gets the string representation of the material.
csharp
public string StringMaterial { get; }Property Value
SurfacePropName
csharp
public string SurfacePropName { get; init; }Property Value
Methods
Equals(SurfaceTagCombo?)
Determines whether the specified is equal to the current instance.
csharp
public bool Equals(SurfaceTagCombo? other)Parameters
other SurfaceTagCombo?
Returns
GetHashCode()
Serves as the default hash function.
csharp
public override int GetHashCode()Returns
A hash code for the current object.
Remarks
Returns the hash code of the string material representation.

