Meta_ScrollingStack

A ScrollingStack is a stack that adds scrollbars if its contents are larger than its size. It renders its contents to a texture like Meta_BufferedStack.

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_MinimumSize

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

Idx_MaximumSize

vec2f - Maximum size when not in 'fixed' sizing mode; zero indicates no limit

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 - Style to apply to the stack (Meta_ScrollingStackStyle)

Idx_Resolution

float Specifies the resolution of the frame buffer object used to render this stack

Idx_MipmapEnabled

bool When enabled, generates mipmaps to improve quality when rendering at smaller sizes

Idx_ScrollDirection

ScrollDirection (int) - Which direction(s) to scroll in

Idx_Resizable

bool Whether the stack is resizable using the cursor


Values for Idx_ScrollDirection.

NONE

No scroll bars (Symbols - C: "ScrollNone", Lua: __ScrollingStack_ScrollNone)

SCROLLDIRECTION_HORIZONTAL

Horizontal scroll bar (Symbols - C: "ScrollHorizontal", Lua: __ScrollingStack_ScrollHorizontal)

SCROLLDIRECTION_VERTICAL

Vertical scroll bar (Symbols - C: "ScrollVertical", Lua: __ScrollingStack_ScrollVertical)

SCROLLDIRECTION_BOTH

Horizontal and Vertical scroll bars (Symbols - C: "ScrollBoth", Lua: __ScrollingStack_ScrollBoth)

No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtreevrtree_cppvtCoreCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesSettingsTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API