Table of Contents

Enum Field.Type

Namespace
Coherence
Assembly
Coherence.dll

The type of the input.

public enum Field.Type

Fields

Axis = 2

A single scalar value, "how hard the button is pressed".

Axis2D = 0

Joystick or gamepad axis, uses a 2-dimensional vector.

Axis3D = 4

3-dimensional vector, used for example for VR headset position.

Button = 1

A button that can be either pressed or not.

Integer = 6

Integer, used for example for deterministic input.

Rotation = 5

Quaternion (rotation), used for example for VR headset rotation.

String = 3

Any arbitrary string value.