docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryGetFrame

    TryGetFrame(XRCameraParams, out XRCameraFrame)

    Get the camera frame for the subsystem.

    Declaration
    public virtual bool TryGetFrame(XRCameraParams cameraParams, out XRCameraFrame cameraFrame)
    Parameters
    Type Name Description
    XRCameraParams cameraParams

    The current Unity Camera parameters.

    XRCameraFrame cameraFrame

    The current camera frame returned by the method.

    Returns
    Type Description
    bool

    true if the method successfully got a frame. Otherwise, false.

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