📋Menu
Table to work with Menu.
Find(firstTabName: string
, sectionName: string
, secondTabName: string
, thirdTabName: string
, groupTabName: string
, widgetName: string
, attachmentName: string
, widgetInGearName: string
): CMenuSwitch
|
CMenuBind
|
CMenuSliderFloat
|
CMenuSliderInt
|
CMenuColorPicker
|
CMenuComboBox
|
CMenuButton
|
CMenuMultiComboBox
|
CMenuMultiSelect
|
CMenuInputBox
|
CMenuLabel
|nil
string
, sectionName: string
, secondTabName: string
, thirdTabName: string
, groupTabName: string
, widgetName: string
, attachmentName: string
, widgetInGearName: string
): CMenuSwitch
|
CMenuBind
|
CMenuSliderFloat
|
CMenuSliderInt
|
CMenuColorPicker
|
CMenuComboBox
|
CMenuButton
|
CMenuMultiComboBox
|
CMenuMultiSelect
|
CMenuInputBox
|
CMenuLabel
|nil
Name
Type
Description
firstTabName
string
sectionName
string
secondTabName
string
thirdTabName
string
groupTabName
string
widgetName
string
attachmentName
string
widgetInGearName
string
Returns menu item.
Create(firstTabName: string
, sectionName: string
, secondTabName: string
, thirdTabName: string
, groupTabName: string
): CMenuGroup
string
, sectionName: string
, secondTabName: string
, thirdTabName: string
, groupTabName: string
): CMenuGroup
Name
Type
Description
firstTabName
string
sectionName
string
secondTabName
string
thirdTabName
string
groupTabName
string
Creates tab/section/group. Returns menu item.
Style(styleColor: string
): Color
string
): Color
Name
Type
Description
styleColor
string
Creates tab/section/group. Returns color of specified style var or table of all style colors depends on param.
Opened(): boolean
boolean
Returns current menu open state.
Alpha(): number
number
Returns current menu alpha.
Pos(): Vec2
Vec2
Returns current menu pos.
Size(): Vec2
Vec2
Returns current menu size.
Scale(): integer
integer
Returns current menu scale percentage.
AnimDuration(): number
number
Returns current menu animation duration.
Last updated