Table of Contents

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

SurfacePropName string
InteractAsStrings HashSet<string>

SurfaceTagCombo(string, string[])

Initializes a new instance of the ValveResourceFormat.IO.ModelExtract.SurfaceTagCombo record.

public SurfaceTagCombo(string surfacePropName, string[] collisionTags)

Parameters

surfacePropName string
collisionTags string[]

Properties

InteractAsStrings

public HashSet<string> InteractAsStrings { get; init; }

Property Value

HashSet<string>

StringMaterial

Gets the string representation of the material.

public string StringMaterial { get; }

Property Value

string

SurfacePropName

public string SurfacePropName { get; init; }

Property Value

string

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

bool

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.