You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
4.2 KiB
113 lines
4.2 KiB
namespace UnityEngine.XR.ARFoundation
|
|
{
|
|
/// <summary>
|
|
/// The update order for <c>MonoBehaviour</c>s in ARFoundation.
|
|
/// </summary>
|
|
public static class ARUpdateOrder
|
|
{
|
|
/// <summary>
|
|
/// The <see cref="ARSession"/>'s update order. Should come first.
|
|
/// </summary>
|
|
public const int k_Session = int.MinValue;
|
|
|
|
/// <summary>
|
|
/// The <see cref="ARPlaneManager"/>'s update order. Should come after
|
|
/// the <see cref="ARSession"/>.
|
|
/// </summary>
|
|
public const int k_PlaneManager = k_Session + 1;
|
|
|
|
/// <summary>
|
|
/// The <see cref="ARPlane"/>'s update order. Should come after the
|
|
/// <see cref="ARPlaneManager"/>.
|
|
/// </summary>
|
|
public const int k_Plane = k_PlaneManager + 1;
|
|
|
|
/// <summary>
|
|
/// The <see cref="ARPointCloudManager"/>'s update order. Should come
|
|
/// after the <see cref="ARSession"/>.
|
|
/// </summary>
|
|
public const int k_PointCloudManager = k_Session + 1;
|
|
|
|
/// <summary>
|
|
/// The <see cref="ARPointCloud"/>'s update order. Should come after
|
|
/// the <see cref="ARPointCloudManager"/>.
|
|
/// </summary>
|
|
public const int k_PointCloud = k_PointCloudManager + 1;
|
|
|
|
/// <summary>
|
|
/// The <see cref="ARAnchorManager"/>'s update order.
|
|
/// Should come after the <see cref="ARSession"/>.
|
|
/// </summary>
|
|
public const int k_AnchorManager = k_Session + 1;
|
|
|
|
/// <summary>
|
|
/// The <see cref="ARAnchorManager"/>'s update order.
|
|
/// Should come after the <see cref="ARAnchorManager"/>.
|
|
/// </summary>
|
|
public const int k_Anchor = k_AnchorManager + 1;
|
|
|
|
/// <summary>
|
|
/// The <see cref="ARInputManager"/>'s update order. Should come after
|
|
/// the <see cref="ARSession"/>.
|
|
/// </summary>
|
|
public const int k_InputManager = k_Session + 1;
|
|
|
|
/// <summary>
|
|
/// The <see cref="ARCameraManager"/>'s update order. Should come after
|
|
/// the <see cref="ARSession"/>.
|
|
/// </summary>
|
|
public const int k_CameraManager = k_Session + 1;
|
|
|
|
/// <summary>
|
|
/// The <see cref="ARFaceManager"/>'s update order. Should come after
|
|
/// the <see cref="ARSession"/>.
|
|
/// </summary>
|
|
public const int k_FaceManager = k_Session + 1;
|
|
|
|
/// <summary>
|
|
/// The <see cref="ARFace"/>'s update order. Should come after
|
|
/// the <see cref="ARFaceManager"/>.
|
|
/// </summary>
|
|
public const int k_Face = k_FaceManager + 1;
|
|
|
|
/// <summary>
|
|
/// The <see cref="ARTrackedImageManager"/>'s update order.
|
|
/// Should come after the <see cref="ARSession"/>.
|
|
/// </summary>
|
|
public const int k_TrackedImageManager = k_Session + 1;
|
|
|
|
/// <summary>
|
|
/// The <see cref="ARTrackedImage"/>'s update order.
|
|
/// Should come after the <see cref="ARTrackedImageManager"/>.
|
|
/// </summary>
|
|
public const int k_TrackedImage = k_TrackedImageManager + 1;
|
|
|
|
/// <summary>
|
|
/// The <see cref="AREnvironmentProbeManager"/>'s update order. Should come after
|
|
/// the <see cref="ARSession"/>.
|
|
/// </summary>
|
|
public const int k_EnvironmentProbeManager = k_Session + 1;
|
|
|
|
/// <summary>
|
|
/// The <see cref="AREnvironmentProbe"/>'s update order. Should come after
|
|
/// the <see cref="AREnvironmentProbeManager"/>.
|
|
/// </summary>
|
|
public const int k_EnvironmentProbe = k_EnvironmentProbeManager + 1;
|
|
|
|
/// <summary>
|
|
/// The <see cref="ARMeshManager"/>'s update order. Should come after
|
|
/// the <see cref="ARSession"/>.
|
|
/// </summary>
|
|
public const int k_MeshManager = k_Session + 1;
|
|
|
|
/// <summary>
|
|
/// The <see cref="ARParticipantManager"/>'s update order. Should come after the <see cref="ARSession"/>.
|
|
/// </summary>
|
|
public const int k_ParticipantManager = k_Session + 1;
|
|
|
|
/// <summary>
|
|
/// The <see cref="ARParticipant"/>'s update order. Should come after the <see cref="ARParticipantManager"/>.
|
|
/// </summary>
|
|
public const int k_Participant = k_ParticipantManager + 1;
|
|
}
|
|
}
|