Struct FeModel.FeKelagerBend ​
Namespace: ValveResourceFormat.ResourceTypes.RubikonPhysics.Softbody
Assembly: ValveResourceFormat.dll
A three-node bend constraint (FeKelagerBend2_t).
csharp
public readonly record struct FeModel.FeKelagerBend : IEquatable<FeModel.FeKelagerBend>Implements ​
IEquatable<FeModel.FeKelagerBend>
Constructors ​
FeKelagerBend(float[], float, int[], int) ​
A three-node bend constraint (FeKelagerBend2_t).
csharp
public FeKelagerBend(float[] Weights, float Height0, int[] Nodes, int Reserved)Parameters ​
Weights float[]
Solver share of each node (flWeight).
Height0 float
Allowed distance from the bent node to the centroid of the three nodes (flHeight0).
Nodes int[]
The bent node, then the two nodes the bend measures against (nNode).
Reserved int
nReserved.
Properties ​
Height0 ​
Allowed distance from the bent node to the centroid of the three nodes (flHeight0).
csharp
public float Height0 { get; init; }Property Value ​
Nodes ​
The bent node, then the two nodes the bend measures against (nNode).
csharp
public int[] Nodes { get; init; }Property Value ​
int[]
Reserved ​
nReserved.
csharp
public int Reserved { get; init; }Property Value ​
Weights ​
Solver share of each node (flWeight).
csharp
public float[] Weights { get; init; }Property Value ​
float[]

