ConditionTest¶
Basic condition test node.
The node has one input of arbitrary type and two outputs that can take on values 0 or 1, named true and false. Further, the node has a predefined value to compare to, and optionally the type of comparison can be specified. If the comparison between the value and the input yields True, then the output named "true" outputs 1, and otherwise the output named "false" yields 1. These outputs can be wired to the "update" port of subsequent nodes to control whether these nodes shall execute (i.e., be updated) or not. Version 1.0.1
Ports/Properties¶
input¶
Input condition.
true¶
True branch. Executed if condition is true.
false¶
False branch. Executed if condition is false.
value¶
The value to compare to. Usually a scalar.
operator¶
Comparison operator to use. Tests whether the input is greater/less/etc than the given value.
collapse_op¶
Collapse operation. This is optional and only used if the input is an array.
set_breakpoint¶
Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.
metadata¶
User-definable meta-data associated with the node. Usually reserved for technical purposes.