docs.unity.cn
    Show / Hide Table of Contents

    Enum ARSessionState

    Represents the current state of the AR system.

    Namespace: UnityEngine.XR.ARFoundation
    Syntax
    public enum ARSessionState

    Fields

    Name Description Value
    None

    The AR system has not been initialized. Availability is unknown. CheckAvailability().


    0
    Unsupported

    AR is not supported on the current device.


    1
    CheckingAvailability

    The system is checking for the availability of AR. CheckAvailability().


    2
    NeedsInstall

    AR is supported, but requires additional software to be installed. Install().


    3
    Installing

    AR software is being installed. Install().


    4
    Ready

    AR is supported and ready.


    5
    SessionInitializing

    An AR session is initializing (that is, starting up). This usually means AR is working but has not yet gathered enough information about the environment.


    6
    SessionTracking

    An AR session is running and is tracking (that is, the device is able to determine its position and orientation in the world).


    7
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, May 22, 2023