docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct PhysicsTemporalCoherenceInfo

    Temporal coherence information associated with a rigid body for incremental broadphase updates.

    Implements
    ICleanupComponentData
    IComponentData
    IQueryTypeParameter
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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

    ICleanupComponentData
    IComponentData
    IQueryTypeParameter
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)