IGyroscopeSensor Interface
Namespace: Stride.InputAssembly: Stride.Input.dll
This class represents a sensor of type Gyroscope. It measures the rotation speed of device along the x/y/z axis.
public interface IGyroscopeSensor : ISensorDevice, IInputDevice
| Name | Description | |
|---|---|---|
| Properties | ||
| RotationRate | Gets the current rotation speed of the device along x/y/z axis. |
|
Properties
RotationRate
Gets the current rotation speed of the device along x/y/z axis.
Vector3 RotationRate { get; }
Property Value
| Type | Description |
|---|---|
| Vector3 |