Loading...
The Counter input node can be set up to continuously count a certain value range in a given amount of time.
The counter can also be set to bounce up and down.
This node can be found under Nodes > Input > Generic > Counter
Time:
Set the amount of time.
Range:
Set the value range.
For example:
To get a counter that counts continuously in 5 seconds from 0 to 5 enter for Time=5000 ms and for Range=5.
To get a counter that counts continuously in 5 seconds from 0 to 10 enter for Time=5000 ms and for Range=10.
To get a bouncing counter (counting continuously from 0 to X and back to 0 etc.) please tick the Bounce check box.
With Widget Designer version 6, all nodes support so called node commands. Node commands access functions (i.e methods) from a node and / or set a parameter (i.e. property).
Enter "node", followed by the according ID and a dot and a list will pop up showing all available commands for the node. For instance, Node1.TintColor.SetRGB(125,0,255), colors the node in purple.
In addition, the node properties with a parameter ID (the small superscript number) can be edited via the command Node1.SetParam(ID,new Value) or WDNodeSetParam(NodeID,ParamID,Value).
The Node generates the following output:
- Value