Navigation
API > API/Plugins > API/Plugins/CommonUI
Inheritance Hierarchy
- USizeBox
- UCommonVisualAttachment
References
| Module | CommonUI |
| Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonVisualAttachment.h |
| Include | #include "CommonVisualAttachment.h" |
Syntax
UCLASS (ClassGroup=UI, Meta=(Category="Common UI"))
class UCommonVisualAttachment : public USizeBox
Remarks
Adds a widget as a zero-size attachment to another. Think icons to the left of labels, without changing the computed size of the label.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | ContentAnchor | Content Anchor Point as a ratio of the content size. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UCommonVisualAttachment
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | Get Content Anchor Point | ||
| TSharedRef< SWidget > | |||
| void | ReleaseSlateResources
(
bool bReleaseChildren |
||
| void | SetContentAnchor
(
FVector2D InContentAnchor |
Set Content Anchor Point | |
| void |