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

