Sinespace Client
2023.2.17543
Client-side scripting for Sinespace
|
Public Member Functions | |
void | SetValueWithoutNotify (float value) |
Set the current value of the scrollbar, but do NOT call OnValueChanged. More... | |
void | OnValueChanged (Closure callback) |
Handling for when the scrollbar value is changed. More... | |
Properties | |
float | Size [get, set] |
The size of the scrollbar handle where 1 means it fills the entire scrollbar. More... | |
float | Value [get, set] |
The current value of the scrollbar, between 0 and 1. More... | |
int | NumberOfSteps [get, set] |
The number of steps to use for the value. A value of 0 disables use of steps. More... | |
SColor | NormalColor [get, set] |
The normal color of the control More... | |
SColor | HighlightedColor [get, set] |
The color of the control when it is highlighted More... | |
SColor | PressedColor [get, set] |
The color of the control when it is pressed More... | |
SColor | DisabledColor [get, set] |
The color of the control when it is disabled More... | |
float | ColorMultiplier [get, set] |
This multiplies the tint color for each transition by its value. With this you can create colors greater than 1 to brighten the colors on graphic elements whose base color is less than white (or less then full alpha). More... | |
Properties inherited from ScriptClassComponent< Scrollbar > | |
SGameObject | GameObject [get] |
Return the GameObject which component added. More... | |
void SineSpace.Scripting.Components.SUIScrollbar.OnValueChanged | ( | Closure | callback | ) |
Handling for when the scrollbar value is changed.
callback | the script function named "callback" |
void SineSpace.Scripting.Components.SUIScrollbar.SetValueWithoutNotify | ( | float | value | ) |
Set the current value of the scrollbar, but do NOT call OnValueChanged.
|
getset |
This multiplies the tint color for each transition by its value. With this you can create colors greater than 1 to brighten the colors on graphic elements whose base color is less than white (or less then full alpha).
|
getset |
The color of the control when it is disabled
|
getset |
The color of the control when it is highlighted
|
getset |
The normal color of the control
|
getset |
The number of steps to use for the value. A value of 0 disables use of steps.
|
getset |
The color of the control when it is pressed
|
getset |
The size of the scrollbar handle where 1 means it fills the entire scrollbar.
|
getset |
The current value of the scrollbar, between 0 and 1.