Skip to main content

Meta_MaterialSelector

Module: Metanodes / Definitions

A MaterialSelector gathers all materials in the scene and presents them in a list.

#include <meta_gui.hpp>

Public Types

TypeName
enumIDX { Idx_SelectionSet, Idx_ButtonStyle, Idx_GroupPanelStyle, Idx_HeaderButtonStyle, Idx_ExpandButtonStyle }
Selecting an item in the list applies the material to the selection in the specified selection group.

Public Types Documentation

enum IDX

EnumeratorValueDescription
Idx_SelectionSetlink - The selection to apply materials to (Meta_ViewSelectionContainer)
Idx_ButtonStylelink - Style to apply to the button (Meta_ColouredButtonStyle, [Meta_TexturedButtonStyle) for the material items for the material items
Idx_GroupPanelStylelink - A Panel style (Meta_ColouredPanelStyle, Meta_GradientPanelStyle, Meta_TexturedPanelStyle for the button container area for the button container area
Idx_HeaderButtonStylelink - Style to apply to the button (Meta_ColouredButtonStyle, [Meta_TexturedButtonStyle) for the header button for the header button
Idx_ExpandButtonStylelink - Style to apply to the button (Meta_ColouredButtonStyle, [Meta_TexturedButtonStyle) for the expand button for the expand button

Selecting an item in the list applies the material to the selection in the specified selection group.