Action::HandleAxisUpdate
Defined in:
Called when an associated input control has new axis data.
C4Input.h
Prototype
virtual void HandleAxisUpdate(float value);
Parameters
value |
The new control data. |
Description
The HandleAxisUpdate
function is called when the position of an analog axis control to which the action object is assigned is changed by the user. For an absolute axis, the value
parameter is in the range [−1.0F, 1.0F], where 0.0F corresponds to the center position. For a relative axis (such as a mouse axis), the value
parameter represents the relative displacement without normalization to any predefined range. For a slider axis, the value parameter is in the range [0.0F, 1.0F].
See Also