Meta_Panel

A Panel is a fixed size container for GUI items.

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

vec2f - Size of the panel

Idx_Style

link - A Panel style (Meta_ColouredPanelStyle, Meta_GradientPanelStyle, Meta_TexturedPanelStyle)

Idx_AnimLength

float - Overrides the number of seconds that position and size change animations take


Values for Idx_SizingMode properties on most panel-like controls (Meta_Stack, Meta_Button, etc)

SizingMode_Fixed

Size is controlled by a Size property (Symbols - C: "SizingMode_Fixed", Lua: __Panel_SizingMode_Fixed)

SizingMode_FitX

Horizontal size is modified to fit the contents (Symbols - C: "SizingMode_FitX", Lua: __Panel_SizingMode_FitX)

SizingMode_FitY

Vertical size is modified to fit the contents (Symbols - C: "SizingMode_FitY", Lua: __Panel_SizingMode_FitY)

SizingMode_FitZ

Z size is modified to fit the contents (Symbols - C: "SizingMode_FitZ", Lua: __Panel_SizingMode_FitZ)

SizingMode_FitXY

Fits both X and Y (Symbols - C: "SizingMode_FitXY", Lua: __Panel_SizingMode_FitXY)

SizingMode_FitXZ

Fits both X and Z (Symbols - C: "SizingMode_FitXZ", Lua: __Panel_SizingMode_FitXZ)

SizingMode_FitYZ

Fits both Y and Z (Symbols - C: "SizingMode_FitYZ", Lua: __Panel_SizingMode_FitYZ)

SizingMode_FitXYZ

Fits all axes (Symbols - C: "SizingMode_FitXYZ", Lua: __Panel_SizingMode_FitXYZ)

No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtree_cppCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API