enum WorldAlignment (Niantic.ARDK.AR.Configuration.WorldAlignment)

Overview

Options for how a scene coordinate system is contructed based on real-world device motion. More…

enum WorldAlignment {
    Gravity           = 0,
    GravityAndHeading = 1,
    Camera            = 2,
};

Detailed Documentation

Options for how a scene coordinate system is contructed based on real-world device motion.

Note

This is an iOS-only enum.

Enum Values

Gravity

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

GravityAndHeading

The coordinate system’s y-axis is parallel to gravity, and the x and z-axes are aligned to east and south, respectively. Note, the origin remains the initial position of the device.

Camera

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