docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryGetTimestamp

    TryGetTimestamp(out long)

    Get the timestamp of the frame if possible.

    Declaration
    public bool TryGetTimestamp(out long timestampNs)
    Parameters
    Type Name Description
    long timestampNs

    The timestamp of the camera frame, equal to timestampNs.

    Returns
    Type Description
    bool

    true if the frame has a timestamp. Otherwise, false. Equal to hasTimestamp.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, September 22, 2023