unreal.ARWorldAlignment

class unreal.ARWorldAlignment

Bases: EnumBase

Options for how the scene’s coordinate system is constructed. This feature is used by ARKit.

C++ Source:

  • Module: AugmentedReality

  • File: ARSessionConfig.h

CAMERA: ARWorldAlignment

The coordinate system matches the camera’s orientation. This option is recommended for Face AR.

Type:

2

GRAVITY: ARWorldAlignment

The coordinate system is aligned with gravity, defined by the vector (0, -1, 0). Origin is the initial position of the device.

Type:

0

GRAVITY_AND_HEADING: ARWorldAlignment

The coordinate system is aligned with gravity, defined by the vector (0, -1, 0), and compass heading based on True North, defined by the vector (0, 0, -1). Origin is the initial position of the device.

Type:

1