Generate a boolean (Toggle mode) or send a Trigger Event.
Properties
Toggle
: Enable Toggle mode (see below)
Default : OFF
You can click on the ON/OFF
button directly on the node to trigger the boolean.
- Toggle mode: If the
Toggle
button is checked, the Boolean value will switch from True to False or from False to True.
- Switch mode: If the
Toggle
button is unchecked, the Boolean will always be False and a True will be triggered when the button is pressed creating a Trigger Event.
Trigger Event
A Tigger Event represents a quick change from Low/False to High/True and immediately back to Low/False.
This forces the immediate re-evaluation of all the nodes in the chain connected behind the output that has sent the Trigger Event, regardless of the rest of the Graph’s refresh.
When connected to a State node it will cause the node to blink green four times in succession.
Trigger events can be sent by various nodes when they have executed some computation, such as the 3D Instantiate or 3D Physics nodes.
They can also be called by the javascript node.sendTriggerEvent() function.
Trigger Events are correctly routed through the Then/Else inputs of an If node depending on which condition is met.
Note that Trigger Events can not be visualized in a Scope or Value node. Use the State node to visualize Trigger Events in your graph.
Inputs
This node has no inputs.
Outputs
Type | Type | Description |
---|---|---|
Boolean | Boolean | Standard boolean value |
Need more help with this?
Don’t hesitate to contact us here.