struct
GUIPanelContent
Structure describing contents of a GUIPanel element.
Public
Constructors
GUIPanelContent
GUIPanelContent(i16 depth = 0, u16 depthRangeMinimum = 65535, u16 depthRangeMaximum = 65535)
Fields
Depth
i16 Depth
Determines rendering order of the GUI panel.
Panels with lower depth will be rendered in front of panels with higher depth. Provided depth is relative to depth of the parent GUI panel (if any).
DepthRangeMinimum
u16 DepthRangeMinimum
Minimum range of depths that children of this GUI panel can have.
If any panel has depth outside of the range [Depth - DepthRangeMinimum, Depth + DepthRangeMaximum] it will be clamped to nearest extreme. Value of 65535 means infinite range.
DepthRangeMaximum
u16 DepthRangeMaximum
Maximum range of depths that children of this GUI panel can have.
If any panel has depth outside of the range [Depth - DepthRangeMinimum, Depth + DepthRangeMaximum] it will be clamped to nearest extreme. Value of 65535 means infinite range.