class SliderControl
Defined in:
Encapsulates a slider input control.
C4Input.hDefinition
class SliderControl : public InputControl
Description
The SliderControl class represents an input control that uses a one-way axis, or slider.If an action is assigned to a
SliderControl object, then the action's Action::HandleSliderUpdate function is called when the position of the slider changes. The value passed to the HandleSliderUpdate function is normalized to the range [0.0F, 1.0F]. The action's Action::HandleEngage and Action::HandleDisengage functions are also called when the slider leaves and returns to its dead zone, respectively.
Base Classes
InputControl |
A SliderControl is a specific type of input control.
|
See Also
