class AxisControl
Defined in:
Encapsulates an axis input control.
C4Input.h
Definition
class AxisControl : public InputControl
Description
The AxisControl
class is the base class for all input controls that are based on a two-way axis.If an action is assigned to an
AxisControl
object, then the action's Action::HandleAxisUpdate
function is called when the position of the axis control changes. For an absolute axis, the value passed to the HandleAxisUpdate
function is normalized to 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.
Base Classes
InputControl |
A AxisControl is a specific type of input control.
|
See Also