Field.Type
enum in Coherence.Field
The type of the input.
Fields
Axis = 2A single scalar value, "how hard the button is pressed".
Axis2D = 0Joystick or gamepad axis, uses a 2-dimensional vector.
Axis3D = 43-dimensional vector, used for example for VR headset position.
Button = 1A button that can be either pressed or not.
Integer = 6Integer, used for example for deterministic input.
Rotation = 5Quaternion (rotation), used for example for VR headset rotation.
String = 3Any arbitrary string value.