Canvas is a container widget that allows for arbitrary positioning of widgets in the canvas' slots.
Verse using statement |
using { /UnrealEngine.com/Temporary/UI } |
Inheritance Hierarchy
This class is derived from widget.
| Name | Description |
|---|---|
widget |
Base class for all UI elements drawn on the |
Members
This class has both data members and functions.
Data
| Data Member Name | Type | Description |
|---|---|---|
Slots |
[]canvas_slot |
The child widgets of the canvas. Used only during initialization of the widget and not modified by Add/RemoveWidget. |
Functions
| Function Name | Description |
|---|---|
AddWidget |
Adds a new child slot to the canvas. |
GetParentWidget |
Returns the |
GetRootWidget |
Returns the |
GetVisibility |
Returns the current |
IsEnabled |
|
RemoveWidget |
Removes a slot containing the given widget. |
SetEnabled |
Enables or disables whether the |
SetVisibility |
Shows or hides the |