Enumeration

ARWorldAlignment

Options for how ARKit constructs a scene coordinate system based on real-world device motion.

Declaration

typedef enum ARWorldAlignment : NSInteger {
    ...
} ARWorldAlignment;

Topics

Alignments

ARWorldAlignmentGravity

The coordinate system's y-axis is parallel to gravity, and its origin is the initial position of the device.

ARWorldAlignmentGravityAndHeading

The coordinate system's y-axis is parallel to gravity, its x- and z-axes are oriented to compass heading, and its origin is the initial position of the device.

ARWorldAlignmentCamera

The scene coordinate system is locked to match the orientation of the camera.

See Also

Configuring the AR Session

lightEstimationEnabled

A Boolean value specifying whether ARKit analyzes scene lighting in captured camera images.

worldAlignment

A value specifying how the session maps real-world device motion into a 3D scene coordinate system.