Class OrientationSensor
Orientation sensor data of the orientation of a device in three dimensional space.
Implements
Inherited Members
Namespace: Evergine.Platform
Assembly: Evergine.Platform.dll
Syntax
public class OrientationSensor : IDisposable
Properties
IsStarted
Gets a value indicating whether the orientation sensor has been started.
Declaration
public bool IsStarted { get; }
Property Value
Type | Description |
---|---|
bool |
Orientation
Gets the current orientation that represents a Quaternion.
Declaration
public Quaternion Orientation { get; }
Property Value
Type | Description |
---|---|
Quaternion |
Methods
Dispose()
Declaration
public void Dispose()
Start()
Start monitoring for changes to orientation sensor.
Declaration
public void Start()
Stop()
Stop monitoring for changes to orientation sensor.
Declaration
public void Stop()