Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/CanvasPanel.h |
Include |
#include "Components/CanvasPanel.h" |
class UCanvasPanel : public UPanelWidget
The canvas panel is a designer friendly panel that allows widgets to be laid out at arbitrary locations, anchored and z-ordered with other children of the canvas. The canvas is a great widget for manual layout, but bad when you want to procedurally just generate widgets and place them in a container (unless you want absolute layout).
Many Children Absolute Layout Anchors
Name | Description | ||
---|---|---|---|
|
TSharedPtr< cla... |
MyCanvas |
Name | Description | |
---|---|---|
|
UCanvasPanel ( |
Name | Description | ||
---|---|---|---|
|
UCanvasPanel... |
AddChildToCanvas ( |
|
|
TSharedPtr< ... |
GetCanvasWidget() |
Gets the underlying native canvas widget if it has been constructed |
|
GetGeometryForSlot |
Computes the geometry for a particular slot based on the current geometry of the canvas. |
|
|
GetGeometryForSlot ( |
Computes the geometry for a particular slot based on the current geometry of the canvas. |
Name | Description | ||
---|---|---|---|
|
UClass * |
GetSlotClass() |
|
|
LockToPanelOnDrag() |
||
|
OnSlotAdded ( |
||
|
OnSlotRemoved ( |
Name | Description | ||
---|---|---|---|
|
const FText |
GetPaletteCategory() |
Gets the palette category of the widget |
|
TSharedRef< ... |
RebuildWidget() |
Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. |
Name | Description | ||
---|---|---|---|
|
ReleaseSlateResources ( |