Click or drag to resize

ControllerWithAxesGetAxis2D Method

Gets the current 2D axis value.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public Vector2 GetAxis2D(
	int index
)

Parameters

index
Type: SystemInt32
Index of Axis

Return Value

Type: Vector2
2D Axis value [-1.0 to 1.0]
See Also