Interface IProvidesCompassHeading
Defines the API for a Compass Heading Provider This functionality provider is responsible for compass headings
Inherited Members
IFunctionalityProvider.LoadProvider()
IFunctionalityProvider.UnloadProvider()
Namespace: Unity.MARS.Providers
Assembly: Unity.MARS.Interfaces.dll
Syntax
[MovedFrom("Unity.MARS")]
public interface IProvidesCompassHeading : IFunctionalityProvider
Methods
GetHeading()
Get the current compass heading
Declaration
float GetHeading()
Returns
Type | Description |
---|---|
float | The compass heading |
Events
headingUpdated
Called when the compass heading changes
Declaration
event Action<float> headingUpdated
Event Type
Type | Description |
---|---|
Action<float> |