Meta_RolloutStack

A Meta_RolloutStack is a Meta_Stack with a button that rolls/unrolls the stack contents.

Note

If a rollout stack contains a stack, the child stack must have its Popup property set to true, otherwise the stack will not respect the RolledOut property of the rollout stack at load time.

Public Types


enum IDX

Property index.

Idx_Enabled

bool - When enabled, draws itself and its children

Idx_Position

vec3f - Position of the panel relative to its parent

Idx_SizingMode

SizingMode (int) - How the panel sizes itself in respect to its contents

Idx_Size

vec2f - Size of the panel, when SizingMode==Fixed

Idx_Direction

Direction (int) - The direction to stack the child objects

Idx_HAlign

HAlign (int) - How to align the objects horizontally

Idx_VAlign

VAlign (int) - How to align the objects vertically

Idx_Gap

float - Specifies the gap size between objects (padding)

Idx_Style

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

Idx_Title

string - The text to display on the rollout button

Idx_Image

link - Link to an image (e.g. Meta_Texture) to display on the title bar

Idx_ImageSize

float - Scalar applied to the image to size it

Idx_HeaderButtonStyle

link - Style to apply to the button (Meta_ColouredButtonStyle, Meta_TexturedButtonStyle)

Idx_RolledOut

bool - Whether the stack is initially rolled out

No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtree_cppCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API