Enum ARSessionState
Represents the current state of the AR system.
Namespace: UnityEngine.XR.ARFoundation
Assembly: Unity.XR.ARFoundation.dll
Syntax
public enum ARSessionState
Fields
| Name | Description |
|---|---|
| CheckingAvailability | (Deprecated.) The session subsystem is currently checking availability of AR on the device. |
| Installing | (Deprecated.) AR software is currently installing. |
| NeedsInstall | (Deprecated.) The device supports AR, but requires additional software to be installed. |
| None | AR has not been initialized and availability is unknown. |
| Ready | The device supports AR, and any necessary software is installed.
This state will automatically change to either |
| SessionInitializing | The AR session is currently initializing. This usually means AR is running, but not yet tracking successfully. |
| SessionTracking | The AR session is running and tracking successfully. The device is able to determine its position and orientation in the world.
If tracking is lost during a session, this state may change to |
| Unsupported | AR is not supported on the device. |