C4 Engine Terathon Software C4 Engine API Documentation

• Input Manager

API Links
Developer Links

class SliderControl

Defined in:  C4Input.h
Encapsulates a slider input control.
Definition

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::Update function is called when the position of the slider changes. The value passed to the Update function is normalized to the range [0.0F, 1.0F].
Base Classes
InputControl A SliderControl is a specific type of InputControl.
See Also

Action::Update