Meta_Slider

A Slider is a GUI control that can be moved with a cursor by clicking the handle and dragging it.

Public Types


enum IDX

Property index.

Idx_Enabled

bool - When enabled, this panel and its children are drawn

Idx_Position

vec3f - Position of the panel relative to its parent

Idx_Size
Idx_Style

link - Style to apply to the bar (Meta_ColouredPanelStyle, Meta_TexturedPanelStyle, Meta_GradientPanelStyle)

Idx_HandleStyle

link - Style to apply to the handle (Meta_ColouredPanelStyle, Meta_TexturedPanelStyle, Meta_GradientPanelStyle)

Idx_Type

SliderType (int) - Horizontal or Vertical

Idx_Minimum

float - Minimum value represented by the slider

Idx_Maximum

float - Maximum value represented by the slider

Idx_Length

float - Length of the slider bar

Idx_Step

float - Step size, or zero for continuous values

Idx_Value

float - Current value of the slider (location of the handle along the bar)

Idx_HandleOffset

vec2f - Offset the handle visual

Idx_ToolTip

string - Text to display on hover

Idx_ToolTipStyle

Values for Idx_Type.

SLIDERTYPE_HORIZONTAL

Symbols - C: "Horiztonal", Lua: __Slider_Horiztonal

SLIDERTYPE_VERTICAL

Symbols - C: "Vertical", Lua: __Slider_Vertical

No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtree_cppCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API