# Compass Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.Compass/ Compass Interface into compass functionality. --- ## Declaration public class Compass : IPlaybackDatasetUser --- ## Properties | Name | Type | Summary | | --- | --- | --- | | enabled | bool | Used to enable or disable compass. Note, that if you want Input.compass.trueHeading property to contain a valid value, you must also enable location updates by calling Input.location.Start(). | | readonly headingAccuracy | float | Accuracy of heading reading in degrees. | | readonly magneticHeading | float | The heading in degrees relative to the magnetic North Pole. (Read Only) | | readonly rawVector | Vector3 | The raw geomagnetic data measured in microteslas. (Read Only) | | readonly timestamp | double | Timestamp when the heading was last time updated. (Read Only) Android: The time elapsed is represented in seconds since the device was last turned on (monotonic). iOS: The time elapsed is represented in seconds since the Unix epoch January 1, 1970. | | readonly trueHeading | float | The heading in degrees relative to the geographic North Pole. (Read Only) | --- ## Relationships implements: NianticSpatial.NSDK.AR.Subsystems.Playback.IPlaybackDatasetUser