Struct FeModel.FeVertexMapDesc ​
Namespace: ValveResourceFormat.ResourceTypes.RubikonPhysics.Softbody
Assembly: ValveResourceFormat.dll
A named vertex selection (FeVertexMapDesc_t).
public readonly record struct FeModel.FeVertexMapDesc : IEquatable<FeModel.FeVertexMapDesc>Implements ​
IEquatable<FeModel.FeVertexMapDesc>
Constructors ​
FeVertexMapDesc(string, uint, uint, uint, int, int, int, int, Vector3, float, int, int) ​
A named vertex selection (FeVertexMapDesc_t).
public FeVertexMapDesc(string Name, uint NameHash, uint Color, uint Flags, int VertexBase, int VertexCount, int MapOffset, int NodeListOffset, Vector3 CenterOfMass, float VolumetricSolveStrength, int ScaleSourceNode, int NodeListCount)Parameters ​
Name string
sName.
NameHash uint
nNameHash.
Color uint
nColor.
Flags uint
nFlags.
VertexBase int
The first node the selection covers (nVertexBase).
VertexCount int
How many consecutive nodes it covers (nVertexCount).
MapOffset int
Where its weights start in (nMapOffset).
NodeListOffset int
nNodeListOffset.
CenterOfMass Vector3
vCenterOfMass.
VolumetricSolveStrength float
flVolumetricSolveStrength.
ScaleSourceNode int
The node whose scale the selection follows, or -1 (nScaleSourceNode).
NodeListCount int
nNodeListCount.
Properties ​
CenterOfMass ​
vCenterOfMass.
public Vector3 CenterOfMass { get; init; }Property Value ​
Color ​
nColor.
public uint Color { get; init; }Property Value ​
Flags ​
nFlags.
public uint Flags { get; init; }Property Value ​
MapOffset ​
Where its weights start in (nMapOffset).
public int MapOffset { get; init; }Property Value ​
Name ​
sName.
public string Name { get; init; }Property Value ​
NameHash ​
nNameHash.
public uint NameHash { get; init; }Property Value ​
NodeListCount ​
nNodeListCount.
public int NodeListCount { get; init; }Property Value ​
NodeListOffset ​
nNodeListOffset.
public int NodeListOffset { get; init; }Property Value ​
ScaleSourceNode ​
The node whose scale the selection follows, or -1 (nScaleSourceNode).
public int ScaleSourceNode { get; init; }Property Value ​
VertexBase ​
The first node the selection covers (nVertexBase).
public int VertexBase { get; init; }Property Value ​
VertexCount ​
How many consecutive nodes it covers (nVertexCount).
public int VertexCount { get; init; }Property Value ​
VolumetricSolveStrength ​
flVolumetricSolveStrength.
public float VolumetricSolveStrength { get; init; }
