docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryAcquireLatestCpuImage

    TryAcquireLatestCpuImage(out Cinfo)

    Get the latest native camera image.

    Declaration
    public virtual bool TryAcquireLatestCpuImage(out XRCpuImage.Cinfo cameraImageCinfo)
    Parameters
    Type Name Description
    XRCpuImage.Cinfo cameraImageCinfo

    The metadata required to construct a XRCpuImage.

    Returns
    Type Description
    bool

    true if the camera image is acquired. Otherwise, false.

    Exceptions
    Type Condition
    NotSupportedException

    Thrown if the implementation does not support camera image.

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