Class BackgroundBlurProperties
A set of properties used by BackgroundBlurWidgetEffect that can be attached to a widget.
Implements
Inherited Members
Namespace: SociallyDistant.Core.UI.Effects
Assembly: SociallyDistant.Framework.dll
Syntax
public sealed class BackgroundBlurProperties : CustomPropertyObject, IInspectable
Constructors
BackgroundBlurProperties(Widget)
Creates a new instance of the BackgroundBlurProperties object.
Declaration
public BackgroundBlurProperties(Widget owner)
Parameters
Type | Name | Description |
---|---|---|
Widget | owner | The widget to which these properties will be attached. |
Properties
BlurSize
Gets or sets the amount of blurriness to apply to the blurred region.
Declaration
public float BlurSize { get; set; }
Property Value
Type | Description |
---|---|
float |
Brightness
Gets or sets the brightness of the blurred region.
Declaration
public float Brightness { get; set; }
Property Value
Type | Description |
---|---|
float |
Contrast
Gets or sets the contrast of the blurred region.
Declaration
public float Contrast { get; set; }
Property Value
Type | Description |
---|---|
float |
Noise
Gets or sets the amount of noise to add to the blurred region. not used.
Declaration
public float Noise { get; set; }
Property Value
Type | Description |
---|---|
float |
Passes
Gets a value indicating how many blur passes must be executed, based on other settings. A higher value means a higher amount of GPU work.
Declaration
public int Passes { get; }
Property Value
Type | Description |
---|---|
int |
Vibrancy
Gets or sets the vibrancy of the blurred region.
Declaration
public float Vibrancy { get; set; }
Property Value
Type | Description |
---|---|
float |
VibrancyDarkness
Gets or sets the vibrancy of dark regions in the blur region.
Declaration
public float VibrancyDarkness { get; set; }
Property Value
Type | Description |
---|---|
float |
Methods
Inspect(IInspector)
Declaration
public void Inspect(IInspector inspector)
Parameters
Type | Name | Description |
---|---|---|
IInspector | inspector |