docs.unity.cn
    Show / Hide Table of Contents

    Struct Clock.Proxy

    Namespace: UnityEngine.Reflect
    Syntax
    public struct Proxy

    Constructors

    Proxy(Clock)

    Declaration
    public Proxy(Clock clock)
    Parameters
    Type Name Description
    Clock clock

    Properties

    deltaTime

    The delta time since the last frame

    Declaration
    public readonly TimeSpan deltaTime { get; }
    Property Value
    Type Description
    TimeSpan

    frameTime

    The time at the beginning of the frame

    Declaration
    public readonly TimeSpan frameTime { get; }
    Property Value
    Type Description
    TimeSpan

    lastFrameTime

    The time at the beginning of the previous frame. This is equivalent of doing frameTime - deltaTime

    Declaration
    public readonly TimeSpan lastFrameTime { get; }
    Property Value
    Type Description
    TimeSpan
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on 03 February 2022
    Terms of use