Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/UMG/Public/Components/Border.h |
Include |
#include "Components/Border.h" |
class UBorder : public UContentWidget
A border is a container widget that can contain one child widget, providing an opportunity to surround it with a background image and adjustable padding.
Single Child Image
Name | Description | ||
---|---|---|---|
|
Background |
Brush to drag as the background |
|
|
FGetSlateBrush |
BackgroundDelegate |
A bindable delegate for the Brush. |
|
bFlipForRightToLeftFlowDirection |
Flips the background image if the localization's flow direction is RightToLeft |
|
|
BrushColor |
Color and opacity of the actual border image |
|
|
BrushColorDelegate |
A bindable delegate for the BrushColor. |
|
|
uint8: 1 |
bShowEffectWhenDisabled |
Whether or not to show the disabled effect when this border is disabled |
|
ContentColorAndOpacity |
Color and opacity multiplier of content in the border |
|
|
ContentColorAndOpacityDelegate |
A bindable delegate for the ContentColorAndOpacity. |
|
|
DesiredSizeScale |
Scales the computed desired size of this border and its contents. |
|
|
TEnumAsByte< EH... |
HorizontalAlignment |
The alignment of the content horizontally. |
|
K2_Cache_ContentColorAndOpacity |
||
|
TSharedPtr< SBo... |
MyBorder |
|
|
OnMouseButtonDownEvent |
||
|
OnMouseButtonUpEvent |
||
|
OnMouseDoubleClickEvent |
||
|
OnMouseMoveEvent |
||
|
Padding |
The padding area between the slot and the content it contains. |
|
|
TEnumAsByte< EV... |
VerticalAlignment |
The alignment of the content vertically. |
Name | Description | |
---|---|---|
|
UBorder ( |
Name | Description | ||
---|---|---|---|
|
UClass * |
GetSlotClass() |
|
|
OnSlotAdded ( |
||
|
OnSlotRemoved ( |
Name | Description | ||
---|---|---|---|
|
const FText |
GetPaletteCategory() |
Gets the palette category of the widget |
|
TSharedRef< ... |
RebuildWidget() |
Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. |
|
SynchronizeProperties() |
Applies all properties to the native widget if possible. |
Name | Description | ||
---|---|---|---|
|
ReleaseSlateResources ( |
Name | Description | ||
---|---|---|---|
|
PostEditChangeProperty ( |
Called when a property on this object has been modified externally |
|
|
PostLoad() |
Begin UObject. |
Name | Description | ||
---|---|---|---|
|
TObjectPtr< USl... |
Brush_DEPRECATED |
Image to use for the border |