Struct FeModel.FeRigidColliderIndices ​
Namespace: ValveResourceFormat.ResourceTypes.RubikonPhysics.Softbody
Assembly: ValveResourceFormat.dll
One row of m_RigidColliderPriorities (FeRigidColliderIndices_t): the index at which a priority group starts in each rigid-collider array.
public readonly record struct FeModel.FeRigidColliderIndices : IEquatable<FeModel.FeRigidColliderIndices>Implements ​
IEquatable<FeModel.FeRigidColliderIndices>
Constructors ​
FeRigidColliderIndices(int, int, int, int, int, int[]?) ​
One row of m_RigidColliderPriorities (FeRigidColliderIndices_t): the index at which a priority group starts in each rigid-collider array.
public FeRigidColliderIndices(int TaperedCapsuleRigidIndex, int SphereRigidIndex, int BoxRigidIndex, int SDFRigidIndex, int CollisionPlaneIndex, int[]? CollisionSphereIndex)Parameters ​
TaperedCapsuleRigidIndex int
m_nTaperedCapsuleRigidIndex.
SphereRigidIndex int
m_nSphereRigidIndex.
BoxRigidIndex int
m_nBoxRigidIndex.
SDFRigidIndex int
m_nSDFRigidIndex.
CollisionPlaneIndex int
m_nCollisionPlaneIndex.
CollisionSphereIndex int[]?
m_nCollisionSphereIndex, two indices, or null when absent (older files only).
Properties ​
BoxRigidIndex ​
m_nBoxRigidIndex.
public int BoxRigidIndex { get; init; }Property Value ​
CollisionPlaneIndex ​
m_nCollisionPlaneIndex.
public int CollisionPlaneIndex { get; init; }Property Value ​
CollisionSphereIndex ​
m_nCollisionSphereIndex, two indices, or null when absent (older files only).
public int[]? CollisionSphereIndex { get; init; }Property Value ​
int[]?
SDFRigidIndex ​
m_nSDFRigidIndex.
public int SDFRigidIndex { get; init; }Property Value ​
SphereRigidIndex ​
m_nSphereRigidIndex.
public int SphereRigidIndex { get; init; }Property Value ​
TaperedCapsuleRigidIndex ​
m_nTaperedCapsuleRigidIndex.
public int TaperedCapsuleRigidIndex { get; init; }
