docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryGetPlane

    TryGetPlane(int, int, out Cinfo)

    Method to be implemented by the provider to get information about an image plane from a native image handle by index.

    Declaration
    public virtual bool TryGetPlane(int nativeHandle, int planeIndex, out XRCpuImage.Plane.Cinfo planeCinfo)
    Parameters
    Type Name Description
    int nativeHandle

    A unique identifier for this camera image.

    int planeIndex

    The index of the plane to get.

    XRCpuImage.Plane.Cinfo planeCinfo

    The returned camera plane information if successful.

    Returns
    Type Description
    bool

    true if the image plane was 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