Struct FeModel.FeSphereRigid ​
Namespace: ValveResourceFormat.ResourceTypes.RubikonPhysics.Softbody
Assembly: ValveResourceFormat.dll
A sphere collider on one node (FeSphereRigid_t).
csharp
public readonly record struct FeModel.FeSphereRigid : IEquatable<FeModel.FeSphereRigid>Implements ​
IEquatable<FeModel.FeSphereRigid>
Constructors ​
FeSphereRigid(Vector4?, int, int, int, int, float?) ​
A sphere collider on one node (FeSphereRigid_t).
csharp
public FeSphereRigid(Vector4? Sphere, int Node, int CollisionMask, int VertexMapIndex, int Flags, float? Stickiness)Parameters ​
Sphere Vector4?
The center and radius (vSphere), or null when the file carries no form of it.
Node int
nNode.
CollisionMask int
nCollisionMask.
VertexMapIndex int
nVertexMapIndex, -1 when absent.
Flags int
nFlags.
Stickiness float?
flStickiness, or null when absent (older files only).
Properties ​
CollisionMask ​
nCollisionMask.
csharp
public int CollisionMask { get; init; }Property Value ​
Flags ​
nFlags.
csharp
public int Flags { get; init; }Property Value ​
Node ​
nNode.
csharp
public int Node { get; init; }Property Value ​
Sphere ​
The center and radius (vSphere), or null when the file carries no form of it.
csharp
public Vector4? Sphere { get; init; }Property Value ​
Stickiness ​
flStickiness, or null when absent (older files only).
csharp
public float? Stickiness { get; init; }Property Value ​
VertexMapIndex ​
nVertexMapIndex, -1 when absent.
csharp
public int VertexMapIndex { get; init; }
