ICompassSensor Interface
Namespace: Stride.InputAssembly: Stride.Input.dll
This class represents a sensor of type compass. It measures the angle between the device and the north.
public interface ICompassSensor : ISensorDevice, IInputDevice
| Name | Description | |
|---|---|---|
| Properties | ||
| Heading | Gets the value of north heading, that is the angle (in radian) between the top of the device and north. |
|
Properties
Heading
Gets the value of north heading, that is the angle (in radian) between the top of the device and north.
float Heading { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |