Struct FeModel.FeCollisionPlane ​
Namespace: ValveResourceFormat.ResourceTypes.RubikonPhysics.Softbody
Assembly: ValveResourceFormat.dll
A collision plane (FeCollisionPlane_t). Older files carry flStickiness instead of flStrength; whichever is absent reads as 0.
csharp
public readonly record struct FeModel.FeCollisionPlane : IEquatable<FeModel.FeCollisionPlane>Implements ​
IEquatable<FeModel.FeCollisionPlane>
Constructors ​
FeCollisionPlane(int, int, RnPlane, float, float) ​
A collision plane (FeCollisionPlane_t). Older files carry flStickiness instead of flStrength; whichever is absent reads as 0.
csharp
public FeCollisionPlane(int CtrlParent, int ChildNode, FeModel.RnPlane Plane, float Strength, float Stickiness)Parameters ​
CtrlParent int
nCtrlParent.
ChildNode int
nChildNode.
m_Plane.
Strength float
flStrength.
Stickiness float
flStickiness.
Properties ​
ChildNode ​
nChildNode.
csharp
public int ChildNode { get; init; }Property Value ​
CtrlParent ​
nCtrlParent.
csharp
public int CtrlParent { get; init; }Property Value ​
Plane ​
m_Plane.
csharp
public FeModel.RnPlane Plane { get; init; }Property Value ​
Stickiness ​
flStickiness.
csharp
public float Stickiness { get; init; }Property Value ​
Strength ​
flStrength.
csharp
public float Strength { get; init; }
