Enum ARSessionState
Represents the current state of the AR system.
Namespace: UnityEngine.XR.ARFoundation
Syntax
public enum ARSessionState
Fields
Name | Description | Value |
---|---|---|
CheckingAvailability | The system is checking for the availability of AR. CheckAvailability(). |
|
Installing | AR software is being installed. Install(). |
|
NeedsInstall | AR is supported, but requires additional software to be installed. Install(). |
|
None | The AR system has not been initialized. Availability is unknown. CheckAvailability(). |
|
Ready | AR is supported and ready. |
|
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. |
|
SessionTracking | An AR session is running and is tracking (that is, the device is able to determine its position and orientation in the world). |
|
Unsupported | AR is not supported on the current device. |