Class BodyGroupChoice
Namespace: ValveResourceFormat.ResourceTypes.ModelData
Assembly: ValveResourceFormat.dll
One choice of a body group: a mesh group whose name encodes the group it belongs to.
public sealed record BodyGroupChoice : IEquatable<BodyGroupChoice>Inheritance
Implements
Constructors
BodyGroupChoice(int, string, string, bool)
One choice of a body group: a mesh group whose name encodes the group it belongs to.
public BodyGroupChoice(int GroupIndex, string FullName, string Name, bool Indexed)Parameters
GroupIndex int
Index of this choice in , which is the bit it occupies in a mesh's group mask.
FullName string
The mesh group name as compiled, e.g. head_@bald.
Name string
The authored choice name, e.g. bald.
Indexed bool
Whether the compiled name spelled out the choice's index. A group holding a single choice can be compiled without it.
Properties
FullName
The mesh group name as compiled, e.g. head_@bald.
public string FullName { get; init; }Property Value
GroupIndex
Index of this choice in , which is the bit it occupies in a mesh's group mask.
public int GroupIndex { get; init; }Property Value
Indexed
Whether the compiled name spelled out the choice's index. A group holding a single choice can be compiled without it.
public bool Indexed { get; init; }Property Value
Name
The authored choice name, e.g. bald.
public string Name { get; init; }
