Meta_TreeViewItem

A TreeViewItem is a simple base element for constructing tree-view style UIs.

Public Types


Values for Idx_Expanded.

STATE_COLLAPSED

Node's children are hidden.

STATE_PARTIALLYEXPANDED

Unused.

STATE_EXPANDED

Node's children are visible.


enum IDX

Property index.

Idx_Enabled

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

Idx_BackgroundColour

vec4f - Background colour; RGBA 0.0f to 1.0f

Idx_Text

string - Caption to display on the item

Idx_TextSize

float - Size of the caption

Idx_TextColour

vec4f - Colour of the caption; RGBA 0.0f to 1.0f

Idx_Image

link - Image to display on the item (like an icon)

Idx_ImageSize

float - Size of the image

Idx_ExpandButtonStyle

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

Idx_NameButtonStyle

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

Idx_Expanded

ExpandedState (int) - Whether the item is expanded to display its children

Idx_Clicked

Internal.

Idx_DoubleClicked

Internal.

No Results.

Getting StartedArchitectureBest PracticesHow ToAdvanced TopicsChangelogvrtree_cppCoreForeign Function InterfaceMetanodesMigrationsObserversPropertiesTreeUtilitiesAPI DefinitionsVR ExchangePluginsLua API