Click or drag to resize

InputGetGyroscope Method

Returns the rotation rate in rad/s around a device's X, Y, and Z axes of the gyroscope sensor, if the device has one. Otherwise, the method returns .

Note: This method only works on Android and iOS. On other platforms, it always returns .

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static Vector3 GetGyroscope()

Return Value

Type: Vector3

[Missing <returns> documentation for "M:Godot.Input.GetGyroscope"]

See Also