Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
- UObject
- UVisual
- UWidget
- UPanelWidget
- UContentWidget
- UBackgroundBlur
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/BackgroundBlur.h |
| Include | #include "Components/BackgroundBlur.h" |
Syntax
UCLASS (MinimalAPI)
class UBackgroundBlur : public UContentWidget
Remarks
A background blur is a container widget that can contain one child widget, providing an opportunity to surround it with adjustable padding and apply a post-process Gaussian blur to all content beneath the widget.
- Single Child
- Blur Effect
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bApplyAlphaToBlur | True to modulate the strength of the blur based on the widget alpha. | |
| int32 | BlurRadius | This is the number of pixels which will be weighted in each direction from any given pixel when computing the blur A larger value is more costly but allows for stronger blurs. | |
| float | BlurStrength | How blurry the background is. | |
| bool | bOverrideAutoRadiusCalculation | When OverrideAutoRadiusCalculation is set to true, BlurRadius is used for the radius of the blur. | |
| FVector4 | CornerRadius | This is the number of pixels which will be weighted in each direction from any given pixel when computing the blur A larger value is more costly but allows for stronger blurs. | |
| TEnumAsByte< EHorizontalAlignment > | HorizontalAlignment | The alignment of the content horizontally. | |
| FSlateBrush | LowQualityFallbackBrush | An image to draw instead of applying a blur when low quality override mode is enabled. | |
| TSharedPtr< class SBackgroundBlur > | MyBackgroundBlur | ||
| FMargin | Padding | The padding area between the slot and the content it contains. | |
| TEnumAsByte< EVerticalAlignment > | VerticalAlignment | The alignment of the content vertically. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UBackgroundBlur
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| int32 | |||
| float | |||
| FVector4 | |||
| EHorizontalAlignment | |||
| FSlateBrush | |||
| bool | |||
| FMargin | GetPadding () |
||
| EVerticalAlignment | |||
| void | Serialize
(
FArchive& Ar |
UObject interface | |
| void | SetApplyAlphaToBlur
(
bool bInApplyAlphaToBlur |
||
| void | SetBlurRadius
(
int32 InBlurRadius |
||
| void | SetBlurStrength
(
float InStrength |
||
| void | SetCornerRadius
(
FVector4 InCornerRadius |
||
| void | SetHorizontalAlignment
(
EHorizontalAlignment InHorizontalAlignment |
||
| void | SetLowQualityFallbackBrush
(
const FSlateBrush& InBrush |
||
| void | SetOverrideAutoRadiusCalculation
(
bool InOverrideAutoRadiusCalculation |
||
| void | SetPadding
(
FMargin InPadding |
||
| void | SetVerticalAlignment
(
EVerticalAlignment InVerticalAlignment |
Overridden from UPanelWidget
| Type | Name | Description | |
|---|---|---|---|
| UClass * | GetSlotClass () |
UWidget interface | |
| void | OnSlotAdded
(
UPanelSlot* Slot |
UPanelWidget interface | |
| void | OnSlotRemoved
(
UPanelSlot* Slot |
||
| void | PostLoad () |
Begin UObject. |
Overridden from UWidget
| Type | Name | Description | |
|---|---|---|---|
| const FText | Gets the palette category of the widget | ||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | ||
| void | Applies all properties to the native widget if possible. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |