Navigation
API > API/Plugins > API/Plugins/CommonUI
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SPanel
- SBox
- SVisualAttachmentBox
References
| Module | CommonUI |
| Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/SVisualAttachmentBox.h |
| Include | #include "SVisualAttachmentBox.h" |
Syntax
class SVisualAttachmentBox : public SBox
Remarks
Wrapper widget meant to handle native-side painting for UCommonVisualAttachment.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
||
| void | SetContentAnchor
(
FVector2D InContentAnchor |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | ComputeDesiredSize
(
float |
A Panel's desired size in the space required to arrange of its children on the screen while respecting all of the children's desired sizes and any layout-related options specified by the user. | |
| void | OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
Panels arrange their children in a space described by the AllottedGeometry parameter. | |
| int32 | OnPaint
(
const FPaintArgs& Args, |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |