docs.unity3d.com
    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.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Physics.GraphicsIntegration
    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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023