Class BlurPanel
The blur panel that applied the Gaussian-blur to all content beneath the control.
Implements
System.IComparable
Namespace: FlaxEngine.GUI
Assembly: FlaxEngine.CSharp.dll
Syntax
[ActorToolbox("GUI")]
public class BlurPanel : ContainerControl, IComparable, IDrawable
Constructors
BlurPanel()
Properties
BlurScaleWithSize
If checked, the blur strength will be scaled with the control size, which makes it resolution-independent.
Declaration
[EditorOrder(10)]
public bool BlurScaleWithSize { get; set; }
Property Value
System.Boolean
|
BlurStrength
Gets or sets the blur strength. Defines how blurry the background is. Larger numbers increase blur, resulting in a larger runtime cost on the GPU.
Declaration
[EditorOrder(0)]
[Limit(0F, 100F, 0.1F)]
public float BlurStrength { get; set; }
Property Value
System.Single
|
Methods
ContainsPoint(ref Float2, Boolean)
Checks if this control contains given point in local Control Space.
Declaration
public override bool ContainsPoint(ref Float2 location, bool precise = false)
Parameters
Float2
location
Point location in Control Space to check |
System.Boolean
precise
True if perform precise intersection test against the control content (eg. with hit mask or transparency threshold). Otherwise, only simple bounds-check will be performed. |
Returns
System.Boolean
True if point is inside control's area, otherwise false. |
Overrides
DrawSelf()
Draws the control.
Declaration
public override void DrawSelf()