docs.unity.cn
    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
    Generated by DocFX
    on Wednesday, June 21, 2023