This repository has been archived on 2025-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
ARPlusSystem/ARPlusSystem-250418/Library/PackageCache/com.unity.xr.arfoundation@4.../Runtime/AR/ARSessionState.cs

54 lines
1.6 KiB
C#

namespace UnityEngine.XR.ARFoundation
{
/// <summary>
/// Represents the current state of the AR system.
/// </summary>
public enum ARSessionState
{
/// <summary>
/// The AR system has not been initialized. Availability is unknown.
/// <see cref="ARSession.CheckAvailability"/>.
/// </summary>
None,
/// <summary>
/// AR is not supported on the current device.
/// </summary>
Unsupported,
/// <summary>
/// The system is checking for the availability of AR.
/// <see cref="ARSession.CheckAvailability"/>.
/// </summary>
CheckingAvailability,
/// <summary>
/// AR is supported, but requires additional software to be installed.
/// <see cref="ARSession.Install"/>.
/// </summary>
NeedsInstall,
/// <summary>
/// AR software is being installed. <see cref="ARSession.Install"/>.
/// </summary>
Installing,
/// <summary>
/// AR is supported and ready.
/// </summary>
Ready,
/// <summary>
/// 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.
/// </summary>
SessionInitializing,
/// <summary>
/// An AR session is running and is tracking (that is, the device is able to determine its
/// position and orientation in the world).
/// </summary>
SessionTracking
}
}