On Variable Change
Activates execution of the downstream graph when a graph variable’s value changes. The name of the variable comes from the input ‘Variable Name’. Only variables in the current graph are considered.
Installation
To use this node enable omni.graph.action_nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Only Simulate On Play (inputs:onlyPlayback) |
|
When true, the node is only executed while the Stage is being played. |
True |
Metadata |
literalOnly = 1 |
||
Variable Name (inputs:variableName) |
|
The name of the graph variable to monitor for changes. |
|
Metadata |
literalOnly = 1 |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Changed (outputs:changed) |
|
When the variable value changes, signal to the graph that execution can continue downstream. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.action.OnVariableChange |
Version |
2 |
Extension |
omni.graph.action_nodes |
Has State? |
True |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
On Variable Change |
Categories |
graph:action,event |
Generated Class Name |
OgnOnVariableChangeDatabase |
Python Module |
omni.graph.action_nodes |