Class XRAsyncCameraImageConversionStatusExtensions | AR Subsystems | 3.1.10
docs.unity3d.com
    Show / Hide Table of Contents

    Class XRAsyncCameraImageConversionStatusExtensions

    Extension methods for the AsyncCameraImageConversionStatus enum.

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

    Methods

    IsDone(AsyncCameraImageConversionStatus)

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

    Declaration
    public static bool IsDone(this AsyncCameraImageConversionStatus status)
    Parameters
    Type Name Description
    AsyncCameraImageConversionStatus status

    The AsyncCameraImageConversionStatus being extended.

    Returns
    Type Description
    Boolean

    true if the AsyncCameraImageConversionStatus has completed.

    IsError(AsyncCameraImageConversionStatus)

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

    Declaration
    public static bool IsError(this AsyncCameraImageConversionStatus status)
    Parameters
    Type Name Description
    AsyncCameraImageConversionStatus status

    The AsyncCameraImageConversionStatus being extended.

    Returns
    Type Description
    Boolean

    true if the AsyncCameraImageConversionStatus represents an error.

    Back to top
    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