Class HudLayoutElement
java.lang.Object
com.render.api.HudLayoutElement
Top-level movable managed HUD element owned by a
ManagedHudLayout.
Passive modern descendants participate in the same retained compositor as managed screens, including transformed clips, masks, foreground filters, and clipped live-game backdrop filters. Effect bounds and masks retain the HUD's top-left screen-space mapping and this element's saved placement scale. HUD validation still rejects focus, scrolling, interaction, and overlay ownership.
Managed HUD elements use GuiUiMode.MODERN by default. Select
GuiUiMode.LEGACY explicitly through uiMode(GuiUiMode) when
the original retained runtime is required.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionid()intlayer()layer(int layer) root()styleSheet(GuiStyleSheet styleSheet) Appends a typed stylesheet for this HUD element.uiMode()Selects legacy or modern retained styling for this passive HUD element.booleanvisible()visible(boolean visible)
-
Constructor Details
-
HudLayoutElement
-
-
Method Details
-
id
-
defaultPlacement
-
root
-
layer
-
layer
public int layer() -
visible
-
visible
public boolean visible() -
uiMode
Selects legacy or modern retained styling for this passive HUD element.- Parameters:
uiMode- runtime mode- Returns:
- this element
-
uiMode
-
styleSheet
Appends a typed stylesheet for this HUD element.- Parameters:
styleSheet- stylesheet- Returns:
- this element
-
styleSheets
-