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