Navigation
API > API/Runtime > API/Runtime/AugmentedReality
Options for how the scene’s coordinate system is constructed. This feature is used by ARKit.
| Name | EARWorldAlignment |
| Type | enum |
| Header File | /Engine/Source/Runtime/AugmentedReality/Public/ARSessionConfig.h |
| Include Path | #include "ARSessionConfig.h" |
Syntax
enum EARWorldAlignment
{
Gravity,
GravityAndHeading,
Camera,
}
Values
| Name | Remarks |
|---|---|
| Gravity | The coordinate system is aligned with gravity, defined by the vector (0, -1, 0). |
| GravityAndHeading | 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). |
| Camera | The coordinate system matches the camera's orientation. This option is recommended for Face AR. |