Struct FeModel.FeHingeLimit ​
Namespace: ValveResourceFormat.ResourceTypes.RubikonPhysics.Softbody
Assembly: ValveResourceFormat.dll
A hinge angle limit (FeHingeLimit_t).
csharp
public readonly record struct FeModel.FeHingeLimit : IEquatable<FeModel.FeHingeLimit>Implements ​
IEquatable<FeModel.FeHingeLimit>
Constructors ​
FeHingeLimit(int[], uint, float, float, float, float) ​
A hinge angle limit (FeHingeLimit_t).
csharp
public FeHingeLimit(int[] Nodes, uint Flags, float Weight4, float Weight5, float AngleCenter, float AngleExtents)Parameters ​
Nodes int[]
The axis, reference and arm nodes (nNode).
Flags uint
nFlags.
Weight4 float
Blend of the reference nodes (flWeight4).
Weight5 float
Blend of the arm nodes (flWeight5).
AngleCenter float
flAngleCenter, in radians.
AngleExtents float
flAngleExtents, in radians.
Properties ​
AngleCenter ​
flAngleCenter, in radians.
csharp
public float AngleCenter { get; init; }Property Value ​
AngleExtents ​
flAngleExtents, in radians.
csharp
public float AngleExtents { get; init; }Property Value ​
Flags ​
nFlags.
csharp
public uint Flags { get; init; }Property Value ​
Nodes ​
The axis, reference and arm nodes (nNode).
csharp
public int[] Nodes { get; init; }Property Value ​
int[]
Weight4 ​
Blend of the reference nodes (flWeight4).
csharp
public float Weight4 { get; init; }Property Value ​
Weight5 ​
Blend of the arm nodes (flWeight5).
csharp
public float Weight5 { get; init; }
