Navigation
API > API/Plugins > API/Plugins/CommonUI
Wrapper widget meant to handle native-side painting for UCommonVisualAttachment.
| Name | SVisualAttachmentBox |
| Type | class |
| Header File | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/SVisualAttachmentBox.h |
| Include Path | #include "SVisualAttachmentBox.h" |
Syntax
class SVisualAttachmentBox : public SBox
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SPanel → SBox → SVisualAttachmentBox
- FSlateControlledConstruction → SWidget → SPanel → SBox → SVisualAttachmentBox
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ContentAnchor | FVector2D | SVisualAttachmentBox.h | ||
| InnerDesiredSize | FVector2D | SVisualAttachmentBox.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
SVisualAttachmentBox.h | ||
void SetContentAnchor
(
FVector2D InContentAnchor |
SVisualAttachmentBox.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector2D ComputeDesiredSize
(
float |
SVisualAttachmentBox.h | ||
virtual void OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
SVisualAttachmentBox.h | ||
virtual int32 OnPaint
(
const FPaintArgs& Args, |
SVisualAttachmentBox.h |