OmniGraph Node omni.graph.examples.python.DynamicSwitch¶
omni.graph.examples.python.DynamicSwitch Properties¶
Name |
Value |
---|---|
Version |
1 |
Extension |
omni.graph.examples.python |
Has State? |
False |
Implementation Language |
Python |
Default Memory Type |
cpu |
Generated Code Exclusions |
usd |
uiName |
Dynamic Switch |
__categories |
examples |
__exclusions |
usd |
__language |
Python |
Generated Class Name |
OgnDynamicSwitchDatabase |
Python Module |
omni.graph.examples.python |
omni.graph.examples.python.DynamicSwitch Description¶
A switch node that will enable the left side or right side depending on the input. Requires dynamic scheduling to work
omni.graph.examples.python.DynamicSwitch Inputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
inputs:left_value |
int |
-1 |
Y |
Left value to output |
__default |
-1 |
|||
inputs:right_value |
int |
1 |
Y |
Right value to output |
__default |
1 |
|||
inputs:switch |
int |
0 |
Y |
Enables right value if greater than 0, else left value |
__default |
0 |
omni.graph.examples.python.DynamicSwitch Outputs¶
Name |
Type |
Default |
Required? |
Descripton |
---|---|---|---|---|
outputs:left_out |
int |
0 |
Y |
Left side output |
__default |
0 |
|||
outputs:right_out |
int |
0 |
Y |
Right side output |
__default |
0 |