Class ModelExtract.SurfaceTagCombo
Namespace: ValveResourceFormat.IO
Assembly: ValveResourceFormat.dll
Represents a combination of surface property and collision tags.
csharp
public sealed record ModelExtract.SurfaceTagCombo : IEquatable<ModelExtract.SurfaceTagCombo>Inheritance
object ← ModelExtract.SurfaceTagCombo
Implements
IEquatable<ModelExtract.SurfaceTagCombo>
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(ModelExtract.SurfaceTagCombo? other)Parameters
other ModelExtract.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.

