GH_FadeAnimationEvaluate Method (GH_Canvas, Single, Boolean) |
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.
Namespace:
Grasshopper.GUI
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public void Evaluate(
GH_Canvas canvas,
float value,
bool scheduleRedraw
)
Public Sub Evaluate (
canvas As GH_Canvas,
value As Single,
scheduleRedraw As Boolean
)
Parameters
- canvas
- Type: Grasshopper.GUI.CanvasGH_Canvas
Canvas currently drawing in. - value
- Type: SystemSingle
- scheduleRedraw
- Type: SystemBoolean
If true and the animator is active, a redraw will be scheduled.
See Also