Struct PhysicsTemporalCoherenceInfo
Temporal coherence information associated with a rigid body for incremental broadphase updates.
Inherited Members
Namespace: Unity.Physics
Assembly: Unity.Physics.dll
Syntax
public struct PhysicsTemporalCoherenceInfo : ICleanupComponentData, IComponentData, IQueryTypeParameterFields
Default
Default and invalid temporal coherence info (immutable).
Declaration
public static readonly PhysicsTemporalCoherenceInfo DefaultField 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 LastBvhLeafSlotIndexField Value
| Type | Description | 
|---|---|
| byte | 
LastBvhNodeIndex
Last frame's index of the bounding volume hierarchy node this rigid body was referenced in.
Declaration
public int LastBvhNodeIndexField Value
| Type | Description | 
|---|---|
| int | 
LastColliderVersion
Last frame's collider version
Declaration
public byte LastColliderVersionField Value
| Type | Description | 
|---|---|
| byte | 
LastRigidBodyIndex
Last frame's index of this rigid body in the collision world.
Declaration
public int LastRigidBodyIndexField Value
| Type | Description | 
|---|---|
| int | 
StaticBvh
Last frame's bounding volume hierarchy type.
Declaration
public bool StaticBvhField 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 |