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.
|
0 |
Unsupported | AR is not supported on the current device. |
1 |
CheckingAvailability | The system is checking for the availability of AR.
|
2 |
NeedsInstall | AR is supported, but requires an additional install.
|
3 |
Installing | AR software is being installed. |
4 |
Ready | AR is supported and ready. |
5 |
SessionInitializing | An AR session is initializing (i.e., 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 (i.e., the device is able to determine its position and orientation in the world). |
7 |