Struct FeModel.FeSDFRigid ​
Namespace: ValveResourceFormat.ResourceTypes.RubikonPhysics.Softbody
Assembly: ValveResourceFormat.dll
A signed-distance-field collider on one node (FeSDFRigid_t).
csharp
public readonly record struct FeModel.FeSDFRigid : IEquatable<FeModel.FeSDFRigid>Implements ​
IEquatable<FeModel.FeSDFRigid>
Constructors ​
FeSDFRigid(Vector3, Vector3, float, int, int, int, int, float[], int, int, int) ​
A signed-distance-field collider on one node (FeSDFRigid_t).
csharp
public FeSDFRigid(Vector3 LocalMin, Vector3 LocalMax, float Bounciness, int Node, int CollisionMask, int VertexMapIndex, int Flags, float[] Distances, int Width, int Height, int Depth)Parameters ​
LocalMin Vector3
vLocalMin.
LocalMax Vector3
vLocalMax.
Bounciness float
flBounciness.
Node int
nNode.
CollisionMask int
nCollisionMask.
VertexMapIndex int
nVertexMapIndex, -1 when absent.
Flags int
nFlags.
Distances float[]
m_Distances.
Width int
m_nWidth.
Height int
m_nHeight.
Depth int
m_nDepth.
Properties ​
Bounciness ​
flBounciness.
csharp
public float Bounciness { get; init; }Property Value ​
CollisionMask ​
nCollisionMask.
csharp
public int CollisionMask { get; init; }Property Value ​
Depth ​
m_nDepth.
csharp
public int Depth { get; init; }Property Value ​
Distances ​
m_Distances.
csharp
public float[] Distances { get; init; }Property Value ​
float[]
Flags ​
nFlags.
csharp
public int Flags { get; init; }Property Value ​
Height ​
m_nHeight.
csharp
public int Height { get; init; }Property Value ​
LocalMax ​
vLocalMax.
csharp
public Vector3 LocalMax { get; init; }Property Value ​
LocalMin ​
vLocalMin.
csharp
public Vector3 LocalMin { get; init; }Property Value ​
Node ​
nNode.
csharp
public int Node { get; init; }Property Value ​
VertexMapIndex ​
nVertexMapIndex, -1 when absent.
csharp
public int VertexMapIndex { get; init; }Property Value ​
Width ​
m_nWidth.
csharp
public int Width { get; init; }
