FREE TRIAL

|

☀
☾

AxisIndex.GetAxis

GetAxis(int)

Get the Axis mapped to the given index.

Declaration
public static Axis GetAxis(int index)
Parameters
Type Name Description
int index

The index to convert into an Axis
0 => X
1 => Y
2 => Z
Anything else => None

Returns
Type Description
Axis

index as an Axis

☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC