Interface ISensorFactory
Sensor Factory interface.
Inherited Members
Namespace: Evergine.Common.Input
Assembly: Evergine.Common.dll
Syntax
public interface ISensorFactory : IDisposable
Methods
GetAccelerometer()
Gets the accelerometer.
Declaration
IAccelerometer GetAccelerometer()
Returns
Type | Description |
---|---|
IAccelerometer | Accelerometer Sensor. |
GetCompass()
Gets the compass.
Declaration
ICompass GetCompass()
Returns
Type | Description |
---|---|
ICompass | Compass Sensor. |
GetGyroscope()
Gets the gyroscope.
Declaration
IGyroscope GetGyroscope()
Returns
Type | Description |
---|---|
IGyroscope | Gyroscope Sensor. |
GetMotion()
Gets the motion sensor.
Declaration
IMotionSensor GetMotion()
Returns
Type | Description |
---|---|
IMotionSensor | Motion Sensor. |