Skip to main content
API Reference NianticSpatial.NSDK.AR

HeadingMode


Declaration

public enum HeadingMode

Summary

Controls how the heading is computed from the device's orientation. Mirrors native ARDK_HeadingMode.


Fields

NameTypeSummary
static CameraDirectionHeadingMode
Heading from the camera's forward axis (perpendicular to screen).
Best when the device is held upright in portrait or landscape.
static DeviceTopHeadingMode
Heading from the top edge of the screen, accounting for display orientation.
Best when the device is held face-up or for compass widgets.