docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct MostRecentFixedTime

    Singleton dynamic buffer that record the last Time.ElapsedTime and Time.DeltaTime of the most recent tick for each stepped Physics World. The PhysicsWorldIndex value is used as index to store and retrieve the timing data. Because of that, the dynamic buffer size is always equals to the largest PhysicsWorldIndex value set by the application.

    Implements
    IBufferElementData
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Unity.Physics.GraphicsIntegration
    Assembly: Unity.Physics.dll
    Syntax
    [InternalBufferCapacity(256)]
    public struct MostRecentFixedTime : IBufferElementData

    Fields

    DeltaTime

    The delta time.

    Declaration
    public double DeltaTime
    Field Value
    Type Description
    double

    ElapsedTime

    The elapsed time.

    Declaration
    public double ElapsedTime
    Field Value
    Type Description
    double

    Implements

    IBufferElementData
    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)