ARWorldAlignment Enum

Definition

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

Camera 2

The world coordinate system is locked to the orientation of the camera.

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.

Applies to