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. 更多...
#include <BackgroundBlur.h>
继承自 UContentWidget .
Public 成员函数 | |
| virtual void | PostLoad () override |
| Do any object-specific cleanup required immediately after loading an object. 更多... | |
| virtual void | Serialize (FArchive &Ar) override |
| UObject interface | |
Public 属性 | |
| 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 |
| Whether or not the radius should be computed automatically or if it should use the radius | |
| 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. 更多... | |
| FMargin | Padding |
| The padding area between the slot and the content it contains. | |
| TEnumAsByte< EVerticalAlignment > | VerticalAlignment |
| The alignment of the content vertically. | |
Protected 成员函数 | |
| virtual UClass * | GetSlotClass () const override |
| UWidget interface | |
| virtual void | OnSlotAdded (UPanelSlot *Slot) override |
| UPanelWidget interface | |
| virtual TSharedRef< SWidget > | RebuildWidget () override |
| Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | |
| virtual void | SynchronizeProperties () override |
| Applies all properties to the native widget if possible. 更多... | |
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.
|
overridevirtual |
Do any object-specific cleanup required immediately after loading an object.
This is not called for newly-created objects, and by default will always execute on the game thread.
重载 UPanelWidget .
|
overrideprotectedvirtual |
Applies all properties to the native widget if possible.
This is called after a widget is constructed. It can also be called by the editor to update modified state, so ensure all initialization to a widgets properties are performed here, or the property and visual state may become unsynced.
重载 UWidget .
| int32 UBackgroundBlur::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 UBackgroundBlur::BlurStrength |
How blurry the background is.
Larger numbers mean more blurry but will result in larger runtime cost on the gpu.
| FSlateBrush UBackgroundBlur::LowQualityFallbackBrush |
An image to draw instead of applying a blur when low quality override mode is enabled.
You can enable low quality mode for background blurs by setting the cvar Slate.ForceBackgroundBlurLowQualityOverride to 1. This is usually done in the project's scalability settings