Struct ModelMeshReference ​
Namespace: ValveResourceFormat.ResourceTypes.ModelData
Assembly: ValveResourceFormat.dll
A reference from a model to a mesh that lives in its own vmesh, resolved through a file loader.
csharp
public readonly record struct ModelMeshReference : IEquatable<ModelMeshReference>Implements ​
IEquatable<ModelMeshReference>
Constructors ​
ModelMeshReference(int, string, long) ​
A reference from a model to a mesh that lives in its own vmesh, resolved through a file loader.
csharp
public ModelMeshReference(int MeshIndex, string MeshName, long LodMask)Parameters ​
MeshIndex int
The mesh's index in the model, addressing the same tables as .
MeshName string
The referenced mesh's resource path.
LodMask long
Bit N set means the mesh is in LOD level N. Zero when the model declares no LOD data.
Properties ​
LodMask ​
Bit N set means the mesh is in LOD level N. Zero when the model declares no LOD data.
csharp
public long LodMask { get; init; }Property Value ​
MeshIndex ​
The mesh's index in the model, addressing the same tables as .
csharp
public int MeshIndex { get; init; }Property Value ​
MeshName ​
The referenced mesh's resource path.
csharp
public string MeshName { get; init; }
