IAccelerometerSensor Interface
Namespace: Stride.InputAssembly: Stride.Input.dll
This class represents a sensor of type Accelerometer. It measures the acceleration forces (including gravity) applying on the device.
public interface IAccelerometerSensor : ISensorDevice, IInputDevice
Name | Description | |
---|---|---|
Properties | ||
Acceleration | Gets the current acceleration applied on the device (in meters/seconds^2). |
Properties
Acceleration
Gets the current acceleration applied on the device (in meters/seconds^2).
Vector3 Acceleration { get; }
Property Value
Type | Description |
---|---|
Vector3 |