Class NuiElement
A dynamic NUI element with style support.
public abstract class NuiElement
- Inheritance
-
NuiElement
- Derived
- Inherited Members
- Extension Methods
Properties
- Aspect
The aspect ratio (x/y) for this element.
- DisabledTooltip
Tooltips for disabled elements show on mouse hover.
- Enabled
Toggles if this element is active/interactable, or disabled/greyed out.
- Encouraged
Encouraged elements have a breathing animated glow inside of it.
- ForegroundColor
Style the foreground color of this widget.
This is dependent on the widget in question and only supports solid/full colors right now (no texture skinning).
For example, labels would style their text color; progress bars would style the bar.
- Height
The height of this element, in pixels.
- Id
A unique identifier for this element.
- Margin
The margin on the widget. The margin is the spacing outside of the widget.
- Padding
The padding on the widget. The padding is the spacing inside of the widget.
- Tooltip
A tooltip to show when hovering over this element.
- Visible
Toggles if this element should/should not be rendered. Invisible elements still take up layout space, and cannot be clicked through.
- Width
The width of this element, in pixels.