Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SBorder.h |
Include |
#include "Widgets/Layout/SBorder.h" |
class SBorder : public SCompoundWidget
A border is an widget that can be used to contain other widgets. It has a BorderImage property, which allows it to take on different appearances. Border also has a Content() slot as well as some parameters controlling the arrangement of said content.
Name | Description | |
---|---|---|
|
SBorder() |
Default constructor. |
Name | Description | ||
---|---|---|---|
|
ClearContent() |
Clears out the content for the border |
|
|
Construct ( |
Construct this widget |
|
|
GetBorderBackgroundColor() |
||
|
TSlateAttrib... |
GetBorderBackgroundColorAttribute() |
|
|
const FSlate... |
GetBorderImage() |
|
|
TSlateAttrib... |
GetBorderImageAttribute() |
|
|
const TShare... |
GetContent() |
Gets the content for this border |
|
GetDesiredSizeScale() |
||
|
TSlateAttrib... |
GetDesiredSizeScaleAttribute() |
|
|
GetShowDisabledEffect() |
||
|
TSlateAttrib... |
GetShowDisabledEffectAttribute() |
|
|
SetBorderBackgroundColor ( |
Sets the color and opacity of the background image of this border. |
|
|
SetBorderImage ( |
See BorderImage attribute |
|
|
SetContent ( |
Sets the content for this border |
|
|
SetDesiredSizeScale ( |
Set the desired size scale multiplier |
|
|
SetHAlign ( |
See HAlign argument |
|
|
SetPadding ( |
See Padding attribute |
|
|
SetShowEffectWhenDisabled ( |
See ShowEffectWhenDisabled attribute |
|
|
SetVAlign ( |
See VAlign argument |
|
|
const FSlate... |
StaticWidgetClass() |
Name | Description | ||
---|---|---|---|
|
ComputeDesiredSize ( |
Compute the ideal size necessary to display this widget. |
|
|
OnPaint ( |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |
Name | Description | ||
---|---|---|---|
|
const FSlate... |
GetWidgetClass() |
Name |
Description |
|
---|---|---|
|
FArguments |
Name |
Description |
---|---|
PrivateParentType |
|
PrivateThisType |
|
Super |
|
ThisClass |
Name | Description | ||
---|---|---|---|
|
BorderBackgroundColor |
Direct access to BorderBackgroundColor is now deprecated. Use the setter or getter. |
|
|
BorderImage |
Direct access to BorderImage is now deprecated. Use the setter or getter. |
|
|
DesiredSizeScale |
Direct access to DesiredSizeScale is now deprecated. Use the setter or getter. |
|
|
ShowDisabledEffect |
Direct access to ShowDisabledEffect is now deprecated. Use the setter or getter. |