docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryGetLatestFrame

    TryGetLatestFrame(XRCameraParams, out XRCameraFrame)

    Get the latest frame from the provider.

    Declaration
    public bool TryGetLatestFrame(XRCameraParams cameraParams, out XRCameraFrame frame)
    Parameters
    Type Name Description
    XRCameraParams cameraParams

    The Unity Camera parameters.

    XRCameraFrame frame

    The camera frame to be populated if the subsystem is running and successfully provides the latest camera frame.

    Returns
    Type Description
    bool

    true if the camera frame is successfully returned. Otherwise, false.

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