Click or drag to resize

InputGetJoyAxisIndexFromString Method

Returns the index of the provided axis name.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static int GetJoyAxisIndexFromString(
	string axis
)

Parameters

axis
Type: SystemString

[Missing <param name="axis"/> documentation for "M:Godot.Input.GetJoyAxisIndexFromString(System.String)"]

Return Value

Type: Int32

[Missing <returns> documentation for "M:Godot.Input.GetJoyAxisIndexFromString(System.String)"]

See Also