UBackgroundBlur

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.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/BackgroundBlur.h

Include

#include "Components/BackgroundBlur.h"

Syntax

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

Name Description

Public variable

bool

 

bApplyAlphaToBlur

True to modulate the strength of the blur based on the widget alpha.

Public variable

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.

Public variable

float

 

BlurStrength

How blurry the background is.

Public variable

bool

 

bOverrideAutoRadiusCalculation

Whether or not the radius should be computed automatically or if it should use the radius

Public variable

TEnumAsByte< EH...

 

HorizontalAlignment

The alignment of the content horizontally.

Public variable

FSlateBrush

 

LowQualityFallbackBrush

An image to draw instead of applying a blur when low quality override mode is enabled.

Protected variable

TSharedPtr< cla...

 

MyBackgroundBlur

Public variable

FMargin

 

Padding

The padding area between the slot and the content it contains.

Public variable

TEnumAsByte< EV...

 

VerticalAlignment

The alignment of the content vertically.

Constructors

Name Description

Public function

UBackgroundBlur

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

SetApplyAlphaToBlur

(
    bool bInApplyAlphaToBlur
)

Public function

void

 

SetBlurRadius

(
    int32 InBlurRadius
)

Public function Virtual

void

 

SetBlurStrength

(
    float InStrength
)

Public function

void

 

SetHorizontalAlignment

(
    EHorizontalAlignment InHorizontalAl...
)

Public function

void

 

SetLowQualityFallbackBrush

(
    const FSlateBrush& InBrush
)

Public function

void

 

SetPadding

(
    FMargin InPadding
)

Public function

void

 

SetVerticalAlignment

(
    EVerticalAlignment InVerticalAlignm...
)

Overridden from UPanelWidget

Name Description

Protected function Virtual Const

UClass *

 

GetSlotClass()

UWidget interface

Protected function Virtual

void

 

OnSlotAdded

(
    UPanelSlot* Slot
)

UPanelWidget interface

Protected function Virtual

void

 

OnSlotRemoved

(
    UPanelSlot* Slot
)

Overridden from UWidget

Name Description

Public function Virtual

const FText

 

GetPaletteCategory()

Gets the palette category of the widget

Protected function Virtual

TSharedRef< ...

 

RebuildWidget()

Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed.

Protected function Virtual

void

 

SynchronizeProperties()

Applies all properties to the native widget if possible.

Overridden from UVisual

Name Description

Public function Virtual

void

 

ReleaseSlateResources

(
    bool bReleaseChildren
)

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostLoad()

Begin UObject.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

UObject interface

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss