Navigation
API > API/Plugins > API/Plugins/CommonUI
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.
| Name | UCommonVisualAttachment |
| Type | class |
| Header File | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonVisualAttachment.h |
| Include Path | #include "CommonVisualAttachment.h" |
Syntax
UCLASS (MinimalAPI, ClassGroup=UI, Meta=(Category="Common UI"))
class UCommonVisualAttachment : public USizeBox
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UWidget → UPanelWidget → UContentWidget → USizeBox → UCommonVisualAttachment
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UCommonVisualAttachment
(
const FObjectInitializer& ObjectInitializer |
CommonVisualAttachment.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ContentAnchor | FVector2D | Content Anchor Point as a ratio of the content size. | CommonVisualAttachment.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MyAttachmentBox | TSharedPtr< class SVisualAttachmentBox > | CommonVisualAttachment.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector2D GetContentAnchor() |
Get Content Anchor Point | CommonVisualAttachment.h | |
void SetContentAnchor
(
FVector2D InContentAnchor |
Set Content Anchor Point | CommonVisualAttachment.h |
Protected
Overridden from UWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< SWidget > RebuildWidget() |
CommonVisualAttachment.h | ||
virtual void SynchronizeProperties() |
CommonVisualAttachment.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
CommonVisualAttachment.h |