Struct CompassState
Define a compass state.
Implements
Inherited Members
Namespace: Evergine.Common.Input
Assembly: Evergine.Common.dll
Syntax
public struct CompassState : IController
Fields
Accuracy
The accuracy of the measure, in rads per seconds.
Declaration
public float Accuracy
Field Value
Type | Description |
---|---|
float |
RawGeographicHeading
The raw geographical heading of the device.
Declaration
public float RawGeographicHeading
Field Value
Type | Description |
---|---|
float |
RawMagneticHeading
The raw magnetic heading of the device.
Declaration
public float RawMagneticHeading
Field Value
Type | Description |
---|---|
float |
SmoothGeographicHeading
The heading, in rads per seconds, measured counter clockwise from the Earth’s geographic north.
Declaration
public float SmoothGeographicHeading
Field Value
Type | Description |
---|---|
float |
SmoothMagneticHeading
The heading, in rads per seconds, measured counterclockwise from the Earth’s magnetic north.
Declaration
public float SmoothMagneticHeading
Field Value
Type | Description |
---|---|
float |
TimeStamp
A timestamp indicating the time at which the compass reading was taken.
Declaration
public DateTimeOffset TimeStamp
Field Value
Type | Description |
---|---|
DateTimeOffset |
Properties
IsConnected
Gets or sets a value indicating whether this instance is connected.
Declaration
public bool IsConnected { readonly get; set; }
Property Value
Type | Description |
---|---|
bool |
|