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