Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Widgets/SCompoundWidget.h |
Include |
#include "Widgets/SCompoundWidget.h" |
class SCompoundWidget : public SWidget
A CompoundWidget is the base from which most non-primitive widgets should be built. CompoundWidgets have a protected member named ChildSlot.
Name | Description | ||
---|---|---|---|
|
ChildSlot |
The slot that contains this widget's descendants. |
Name | Description | |
---|---|---|
|
SCompoundWidget() |
Disallow public construction |
Name | Description | ||
---|---|---|---|
|
GetColorAndOpacity() |
Gets the widget's color. |
|
|
TSlateAttrib... |
GetColorAndOpacityAttribute() |
|
|
const FVecto... |
GetContentScale() |
Returns the size scaling factor for this widget. |
|
TSlateAttrib... |
GetContentScaleAttribute() |
|
|
TSlateAttrib... |
GetForegroundColorAttribute() |
|
|
SetColorAndOpacity ( |
Sets the widget's color. |
|
|
SetContentScale ( |
Sets the content scale for this widget. |
|
|
SetForegroundColor ( |
Sets the widget's foreground color. |
|
|
const FSlate... |
StaticWidgetClass() |
Name | Description | ||
---|---|---|---|
|
ComputeDesiredSize ( |
Compute the ideal size necessary to display this widget. |
|
|
FChildren &#... |
GetChildren() |
Returns the useful children (if any) of this widget. |
|
GetForegroundColor() |
||
|
OnArrangeChildren ( |
Compute the Geometry of all the children and add populate the ArrangedChildren list with their values. |
|
|
OnPaint ( |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |
|
|
SetVisibility ( |
Name | Description | ||
---|---|---|---|
|
const FSlate... |
GetWidgetClass() |
Name |
Description |
|
---|---|---|
|
FCompoundWidgetOneChildSlot |
Name |
Description |
---|---|
PrivateParentType |
|
PrivateThisType |
|
Super |
|
ThisClass |
Name | Description | ||
---|---|---|---|
|
ColorAndOpacity |
Direct access to ColorAndOpacity is now deprecated. Use the setter or getter. |
|
|
ContentScale |
Direct access to ContentScale is now deprecated. Use the setter or getter. |
|
|
ForegroundColor |
Direct access to ForegroundColor is now deprecated. Use the setter or getter. |