Constructor
new UIScrollbar(posopt, sizeopt, valueopt, textopt, coloropt, handleColoropt)
Create a UIScrollbar object
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
pos | Vector2 | <optional> | ||
size | Vector2 | <optional> | ||
value | number | <optional> | 0.5 | |
text | string | <optional> | ||
color | Color | <optional> | uiSystem.defaultButtonColor | |
handleColor | Color | <optional> | WHITE |
- Source
Extends
- UIObject
Members
handleColor
PropertiesType | Description |
---|---|
Color | Color for the handle part of the scrollbar |
- Source
value
PropertiesType | Description |
---|---|
number | Current percentage value of this scrollbar 0-1 |
- Source