ASLSliderWithEcho Class |
Namespace: ASL
The ASLSliderWithEcho type exposes the following members.
Name | Description | |
---|---|---|
ASLSliderWithEcho | Initializes a new instance of the ASLSliderWithEcho class |
Name | Description | |
---|---|---|
FunctionToCallWhenSliderIsChangedByAUser |
This function is called whenever a slider's value is changed, sending a packet to all users to inform them of the change
| |
GetOldSliderValue | Returns the Old slider value | |
GetSliderValue | Returns the current slider value | |
InitilizeSlider | Initializes the slider | |
InitSliderRange | Sets the range of the slider | |
SetSliderLabel | Sets the label of the slider | |
SetSliderListener | Sets the slider's function to call when its value changes | |
SetSliderValue | Sets the slider's value | |
SliderValueChange |
When the slider's value changes, this function is executed, which executes the slider's callback function
| |
Start |
Ensures the Slider, Echo, and Label are properly initialized as well as adds a listener to the slider to monitor when its value changes
| |
UpdateSlider | Updates the slider value, old value, and echo |
Name | Description | |
---|---|---|
m_OldSliderValue | The slider's previous value. Used to ensure multiple packets don't get sent for a value changed by other users | |
mCallBack | The function that will be called when the slider is changed - sends the packet to all users | |
TheEcho | The UI Text which echoes the slider's value | |
TheLabel | The UI Text which represents the label of the slider | |
TheSlider | The UI Slider |