Meta_GUI
Module: Metanodes / Definitions
A GUI is a container for other GUI elements such as buttons and stacks. It controls how the GUI is drawn.
#include <meta_gui.hpp>
Public Types
Type | Name |
---|---|
enum | IDX { Idx_Enabled, Idx_LayerValue, Idx_DepthWrite, Idx_DepthTest, Idx_SubPixelAntiAlias, Idx_Unpickable, Idx_AcceptFocus, Idx_OverrideMaterial, Idx_SupportClipPlanes } Property index. |
Public Types Documentation
enum IDX
Enumerator | Value | Description |
---|---|---|
Idx_Enabled | bool - Whether to draw the GUI | |
Idx_LayerValue | vec2i - Layer to draw in. X = a Layer, Y = offset within the layer (higher values are drawn later) | |
Idx_DepthWrite | bool - Whether to write to the depth buffer | |
Idx_DepthTest | bool - Whether to draw with depth testing (false will draw above all previously drawn objects regardless of their depth) | |
Idx_SubPixelAntiAlias | bool - Whether to enable AA | |
Idx_Unpickable | bool - If true, the controls on the GUI cannot be interacted with using input devices | |
Idx_AcceptFocus | bool - Allows controls on the GUI to capture input focus | |
Idx_OverrideMaterial | link - A material to use to override all others | |
Idx_SupportClipPlanes | bool - Should the gui item respond to clip planes |
Property index.