FDesignerSurfaceElement

The basic element returned for extending the design surface.

Windows
MacOS
Linux

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

Constructors

Name Description

Public function

FDesignerSurfaceElement

(
    TSharedRef< SWidget > InWidget,
    EExtensionLayoutLocation InLocation,
    TAttribute< FVector2D > InOffset,
    TAttribute< FVector2D > InAlignment
)

Functions

Name Description

Public function Const

FVector2D

 

GetAlignment()

Gets the alignment to use, a normalized value representing position inside the parent.

Public function Const

EExtensionLa...

 

GetLocation()

Gets the location where the widget will be appear

Public function Const

FVector2D

 

GetOffset()

Gets the offset after being laid out.

Public function Const

TSharedRef< ...

 

GetWidget()

Gets the widget that will be laid out in the design surface for extending the capability of the selected widget

Public function

void

 

SetAlignment

(
    TAttribute< FVector2D > InAlignment
)

Sets the alignment to use, a normalized value representing position inside the parent.

Public function

void

 

SetOffset

(
    TAttribute< FVector2D > InOffset
)

Sets the offset after laid out in that location

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss