|
Input System
v0.1
|
A control made up of four discrete, directional buttons. Forms a vector but can also be addressed as individual buttons. More...
Properties | |
| ButtonControl | up [get] |
| The button representing the vertical upwards state of the D-Pad. More... | |
| ButtonControl | down [get] |
| The button representing the vertical downwards state of the D-Pad. More... | |
| ButtonControl | left [get] |
| The button representing the horizontal left state of the D-Pad. More... | |
| ButtonControl | right [get] |
| The button representing the horizontal right state of the D-Pad. More... | |
A control made up of four discrete, directional buttons. Forms a vector but can also be addressed as individual buttons.
Is stored as four bits by default.
The vector that is aggregated from the button states is normalized. I.e. even if pressing diagonally, the vector will have a length of 1 (instead of reading something like (1,1) for example).
|
get |
The button representing the vertical downwards state of the D-Pad.
|
get |
The button representing the horizontal left state of the D-Pad.
|
get |
The button representing the horizontal right state of the D-Pad.
|
get |
The button representing the vertical upwards state of the D-Pad.