Axis
class Axis
They represent virtual axes, as in a Joystick for example that has two axes and the values of their respective axes, which is represented by the Axis.
public class Axis
— Constructors (1) —
Constructor | Description |
---|---|
Axis(String name) | Creates a new Axis with the name defined to be "name" argument. |
— Methods (3) —
Name | Description |
---|---|
Vector2 getValue() | Returns the Axis values. |
void setValue(Vector2 value) | Sets the Axis values to be "value" argument. |
String getName() | Returns the Axis name. |