Enum ARWorldAlignment
Specifies how the session maps real-world device motion into a 3D scene coordinate system. See requestedWorldAlignment.
Namespace: UnityEngine.XR.ARKit
Assembly: Unity.XR.ARKit.dll
Syntax
public enum ARWorldAlignment
Remarks
See Apple's documentation for more information.
Fields
Name | Description |
---|---|
Camera | Aligns the world with the camera’s orientation. |
Gravity | Aligns the world with gravity that is defined by vector (0, -1, 0). |
GravityAndHeading | Aligns the world with gravity that is defined by the vector (0, -1, 0) and heading (in relation to True North) that is given by the vector (0, 0, 1). |