docs.unity3d.com
    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 TimeSpan deltaTime { get; }
    Property Value
    Type Description
    TimeSpan

    frameTime

    The time at the beginning of the frame

    Declaration
    public 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 TimeSpan lastFrameTime { get; }
    Property Value
    Type Description
    TimeSpan
    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