Struct PhysicsTemporalCoherenceInfo
Temporal coherence information associated with a rigid body for incremental broadphase updates.
Implements
ICleanupComponentData
IComponentData
IQueryTypeParameter
Inherited Members
Namespace: Unity.Physics
Assembly: Unity.Physics.dll
Syntax
public struct PhysicsTemporalCoherenceInfo : ICleanupComponentData, IComponentData, IQueryTypeParameter
Fields
Default
Default and invalid temporal coherence info (immutable).
Declaration
public static readonly PhysicsTemporalCoherenceInfo Default
Field Value
Type | Description |
---|---|
PhysicsTemporalCoherenceInfo |
LastBvhLeafSlotIndex
Last frame's index of the leaf slot in the bounding volume hierarchy node this rigid body was referenced in.
Declaration
public byte LastBvhLeafSlotIndex
Field Value
Type | Description |
---|---|
byte |
LastBvhNodeIndex
Last frame's index of the bounding volume hierarchy node this rigid body was referenced in.
Declaration
public int LastBvhNodeIndex
Field Value
Type | Description |
---|---|
int |
LastColliderVersion
Last frame's collider version
Declaration
public byte LastColliderVersion
Field Value
Type | Description |
---|---|
byte |
LastRigidBodyIndex
Last frame's index of this rigid body in the collision world.
Declaration
public int LastRigidBodyIndex
Field Value
Type | Description |
---|---|
int |
StaticBvh
Last frame's bounding volume hierarchy type.
Declaration
public bool StaticBvh
Field Value
Type | Description |
---|---|
bool |
Properties
Valid
Checks whether this object contains valid temporal coherence info.
Declaration
public bool Valid { get; }
Property Value
Type | Description |
---|---|
bool |
Implements
Unity.Entities.ICleanupComponentData
Unity.Entities.IComponentData
Unity.Entities.IQueryTypeParameter