Struct FeModel.FeBoxRigid ​
Namespace: ValveResourceFormat.ResourceTypes.RubikonPhysics.Softbody
Assembly: ValveResourceFormat.dll
A box collider on one node (FeBoxRigid_t).
public readonly record struct FeModel.FeBoxRigid : IEquatable<FeModel.FeBoxRigid>Implements ​
IEquatable<FeModel.FeBoxRigid>
Constructors ​
FeBoxRigid(FeTransform?, int, int, Vector3?, int, int, float?) ​
A box collider on one node (FeBoxRigid_t).
public FeBoxRigid(FeModel.FeTransform? Frame2, int Node, int CollisionMask, Vector3? Size, int VertexMapIndex, int Flags, float? Stickiness)Parameters ​
Frame2 FeModel.FeTransform?
The box frame (tmFrame2), or null when the file carries no form of it.
Node int
nNode.
CollisionMask int
nCollisionMask.
Size Vector3?
The half extents (vSize), or null when absent.
VertexMapIndex int
nVertexMapIndex, -1 when absent.
Flags int
nFlags.
Stickiness float?
flStickiness, or null when absent (older files only).
Properties ​
CollisionMask ​
nCollisionMask.
public int CollisionMask { get; init; }Property Value ​
Flags ​
nFlags.
public int Flags { get; init; }Property Value ​
Frame2 ​
The box frame (tmFrame2), or null when the file carries no form of it.
public FeModel.FeTransform? Frame2 { get; init; }Property Value ​
Node ​
nNode.
public int Node { get; init; }Property Value ​
Size ​
The half extents (vSize), or null when absent.
public Vector3? Size { get; init; }Property Value ​
Stickiness ​
flStickiness, or null when absent (older files only).
public float? Stickiness { get; init; }Property Value ​
VertexMapIndex ​
nVertexMapIndex, -1 when absent.
public int VertexMapIndex { get; init; }
