ARWorldAlignment Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates options for how the world coordinate system is created.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public enum ARWorldAlignment
type ARWorldAlignment =
- Inheritance
-
ARWorldAlignment
- Attributes
Fields
Name | Value | Description |
---|---|---|
Gravity | 0 | The world coordinate system's Y-axis is perpendicular to gravity, with an origin at the original position of the device. |
GravityAndHeading | 1 | The world coordinate system's Y-axis is perpendicular to gravity, X- and Z- are oriented to a compass heading, and it's origin is the original position of the device. |
Camera | 2 | The world coordinate system is locked to the orientation of the camera. |