unreal.ARWorldAlignment

class unreal.ARWorldAlignment

Bases: unreal.EnumBase

EARWorld Alignment

C++ Source:

  • Module: AugmentedReality

  • File: ARSessionConfig.h

CAMERA

Aligns the world with the camera’s orientation, which is best for Face AR

Type

2

GRAVITY

Aligns the world with gravity that is defined by vector (0, -1, 0)

Type

0

GRAVITY_AND_HEADING

Aligns the world with gravity that is defined by the vector (0, -1, 0) and heading (w.r.t. True North) that is given by the vector (0, 0, -1)

Type

1