docs.unity3d.com
    Show / Hide Table of Contents

    Class XRCpuImageAsyncConversionStatusExtensions

    Extension methods for the XRCpuImage.AsyncConversionStatus enum.

    Inheritance
    Object
    XRCpuImageAsyncConversionStatusExtensions
    Namespace: UnityEngine.XR.ARSubsystems
    Syntax
    public static class XRCpuImageAsyncConversionStatusExtensions

    Methods

    IsDone(XRCpuImage.AsyncConversionStatus)

    Whether the request has completed. It may have completed with an error or be an invalid / disposed request. See IsError(XRCpuImage.AsyncConversionStatus).

    Declaration
    public static bool IsDone(this XRCpuImage.AsyncConversionStatus status)
    Parameters
    Type Name Description
    XRCpuImage.AsyncConversionStatus status

    The XRCpuImage.AsyncConversionStatus being extended.

    Returns
    Type Description
    Boolean

    true if the XRCpuImage.AsyncConversionStatus has completed.

    IsError(XRCpuImage.AsyncConversionStatus)

    Whether the request status represents an error. If the request has been disposed, IsError will be true.

    Declaration
    public static bool IsError(this XRCpuImage.AsyncConversionStatus status)
    Parameters
    Type Name Description
    XRCpuImage.AsyncConversionStatus status

    The XRCpuImage.AsyncConversionStatus being extended.

    Returns
    Type Description
    Boolean

    true if the XRCpuImage.AsyncConversionStatus represents an error.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023