Click or drag to resize

ControllerWithAxesGetAxisIndexById Method

Gets the index of the Axis with the specified element idenfitier id.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public int GetAxisIndexById(
	int elementIdentifierId
)

Parameters

elementIdentifierId
Type: SystemInt32
The element identifier id.

Return Value

Type: Int32
The index of the Axis with the specified element idenfitier id. Returns -1 if not found.
See Also