GH_FadeAnimation
Utility class for animating fade ZUI events on the canvas.
Constructors
Fields
Properties
Duration
#Gets or sets the duration (in milliseconds) for ZUI animations. Negative durations are not allowed. The default is 350 milliseconds.
FadeAlpha
#Gets the blend alpha byte for the current state. 0 means fully hidden, 255 means fully shown.
FadeFactor
#Gets the blend factor for the current state. 0.0 means fully hidden, 1.0 means fully shown.
Methods
Evaluate
#Reevaluate the fade animation parameters. You should call this method from within the Render method of your attributes. If an animation is currently in progress a redraw of the canvas will be scheduled, whether or not the attributes are actually visible on the canvas. You should therefore only call this method if your attributes are already drawing themselves.
Evaluate
#Reevaluate the fade animation parameters. You should call this method from within the Render method of your attributes. If an animation is currently in progress a redraw of the canvas will be scheduled, whether or not the attributes are actually visible on the canvas. You should therefore only call this method if your attributes are already drawing themselves.
Evaluate
#Reevaluate the fade animation parameters. You should call this method from within the Render method of your attributes. If an animation is currently in progress a redraw of the canvas will be scheduled, whether or not the attributes are actually visible on the canvas. You should therefore only call this method if your attributes are already drawing themselves.
Evaluate
#Reevaluate the fade animation parameters. You should call this method from within the Render method of your attributes. If an animation is currently in progress a redraw of the canvas will be scheduled, whether or not the attributes are actually visible on the canvas. You should therefore only call this method if your attributes are already drawing themselves.
Parameters:
| canvas (GH_Canvas) | Canvas currently drawing in. |