Callback
This accessor (class ) attaches a trigger that is set when the given callback is called from a user action on the specified graphic node. For a callback to be called, the node must be either an IlvGadget or an IlvGraphic to which an interactor has been attached.
Parameters
-
Graphic Node: The name of the graphic node whose callback is triggered.
-
Callback Name: The name of the callback.
-
Input: The value that is sent when the callback is triggered.
Example
The following example shows the random prototype in the sources library with the clicked value. The clicked value pushes 0 to its output when the button is pressed by the user. This output is connected to the toggle value, which in turn switches the running value.