Count To
Example stateful node that counts to countTo by a certain increment
Installation
To use this node enable omni.graph.examples.python in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Count To (inputs:countTo) |
|
The ceiling to count to |
3 |
Increment (inputs:increment) |
|
Increment to count by |
0.1 |
Reset (inputs:reset) |
|
Whether to reset the count |
False |
Trigger (inputs:trigger) |
|
Position to be used as a trigger for the counting |
[0.0, 0.0, 0.0] |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Count (outputs:count) |
|
The current count |
0.0 |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.examples.python.CountTo |
Version |
1 |
Extension |
omni.graph.examples.python |
Has State? |
False |
Implementation Language |
Python |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Count To |
Categories |
examples |
Generated Class Name |
OgnCountToDatabase |
Python Module |
omni.graph.examples.python |