Navigation
API > API/Editor > API/Editor/UMGEditor
The basic element returned for extending the design surface.
| Name | FDesignerSurfaceElement |
| Type | class |
| Header File | /Engine/Source/Editor/UMGEditor/Public/DesignerExtension.h |
| Include Path | #include "DesignerExtension.h" |
Syntax
class FDesignerSurfaceElement : public TSharedFromThis< FDesignerSurfaceElement >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDesignerSurfaceElement
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDesignerSurfaceElement
(
TSharedRef< SWidget > InWidget, |
DesignerExtension.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector2D GetAlignment() |
Gets the alignment to use, a normalized value representing position inside the parent. | DesignerExtension.h | |
EExtensionLayoutLocation GetLocation() |
Gets the location where the widget will appear | DesignerExtension.h | |
FVector2D GetOffset() |
Gets the offset after being laid out. | DesignerExtension.h | |
TSharedRef< SWidget > GetWidget() |
Gets the widget that will be laid out in the design surface for extending the capability of the selected widget | DesignerExtension.h | |
void SetAlignment
(
TAttribute< FVector2D > InAlignment |
Sets the alignment to use, a normalized value representing position inside the parent. | DesignerExtension.h | |
void SetOffset
(
TAttribute< FVector2D > InOffset |
Sets the offset after laid out in that location | DesignerExtension.h |