ARSessionState.cs
1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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 an additional install.
/// <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 (i.e., 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 (i.e., the device is able to determine its
/// position and orientation in the world).
/// </summary>
SessionTracking
}
}