addAxis

fun addAxis(type: InputSignal, positive: InputSignal, negative: InputSignal)

Create an axis from two InputSignal bindings. In order to have a proper axis, the two signals must have been bound in addBinding. The axis is calculated as follows: positive - negative. Note: this will replace any existing axis if it exists.

See also

Parameters

type

the InputSignal that refers to this axis.

positive

the positive InputSignal of this axis.

negative

the negative InputSignal of this axis.