Table of Contents

Interface IAccelerometerSensor

Namespace
Stride.Input
Assembly
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
Inherited Members

Properties

Acceleration

Gets the current acceleration applied on the device (in meters/seconds^2).

Vector3 Acceleration { get; }

Property Value

Vector3