Class AlphaPanel
Changes alpha of all its children
Implements
System.IComparable
Namespace: FlaxEngine.GUI
Assembly: FlaxEngine.CSharp.dll
Syntax
[ActorToolbox("GUI")]
public class AlphaPanel : ContainerControl, IComparable, IDrawable
Constructors
AlphaPanel()
Fields
Alpha
The target alpha value.
Declaration
[EditorOrder(0)]
[Limit(0F, 1F, 0.01F)]
[Tooltip("The target alpha value.")]
public float Alpha
Field Value
System.Single
|
IgnoreStack
Whether or not we should ignore previous alphas.
Declaration
[EditorOrder(10)]
[Tooltip("Whether or not we should ignore previous alphas.")]
public bool IgnoreStack
Field Value
System.Boolean
|
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
Draw()
Draw the control and the children.
Declaration
public override void Draw()