Struct FeModel.FeSimdRodConstraint ​
Namespace: ValveResourceFormat.ResourceTypes.RubikonPhysics.Softbody
Assembly: ValveResourceFormat.dll
Four rods, one per lane (FeSimdRodConstraint_t).
csharp
public readonly record struct FeModel.FeSimdRodConstraint : IEquatable<FeModel.FeSimdRodConstraint>Implements ​
IEquatable<FeModel.FeSimdRodConstraint>
Constructors ​
FeSimdRodConstraint(int[][], float[], float[], float[], float[]) ​
Four rods, one per lane (FeSimdRodConstraint_t).
csharp
public FeSimdRodConstraint(int[][] Nodes, float[] MaxDist, float[] MinDist, float[] Weight0, float[] RelaxationFactor)Parameters ​
Nodes int[][]
The end nodes as two rows of four lanes, indexed [end][lane] (nNode).
MaxDist float[]
f4MaxDist.
MinDist float[]
f4MinDist.
Weight0 float[]
f4Weight0.
RelaxationFactor float[]
f4RelaxationFactor.
Properties ​
MaxDist ​
f4MaxDist.
csharp
public float[] MaxDist { get; init; }Property Value ​
float[]
MinDist ​
f4MinDist.
csharp
public float[] MinDist { get; init; }Property Value ​
float[]
Nodes ​
The end nodes as two rows of four lanes, indexed [end][lane] (nNode).
csharp
public int[][] Nodes { get; init; }Property Value ​
int[][]
RelaxationFactor ​
f4RelaxationFactor.
csharp
public float[] RelaxationFactor { get; init; }Property Value ​
float[]
Weight0 ​
f4Weight0.
csharp
public float[] Weight0 { get; init; }Property Value ​
float[]

