Select Switch#
Selects an output from the given inputs based on an integer condition. The switch pipes through the input indexed by the condition (eg. condition=3, output=data3)
Installation#
To use this node enable omni.replicator.core in the Extension Manager.
Inputs#
Name |
Type |
Descripton |
Default |
|---|---|---|---|
Condition (inputs:condition) |
|
The index of the input to select |
0 |
Input 0 (inputs:data0) |
|
Value if index is 0 |
None |
Num Samples (inputs:numSamples) |
|
number of samples to generate |
1 |
Outputs#
Name |
Type |
Descripton |
Default |
|---|---|---|---|
Samples (outputs:samples) |
|
The selected value from all inputs |
None |
Metadata#
Name |
Value |
|---|---|
Unique ID |
omni.replicator.core.OgnSelectSwitch |
Version |
1 |
Extension |
omni.replicator.core |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Select Switch |
Categories |
flowControl |
Generated Class Name |
OgnSelectSwitchDatabase |
Python Module |
omni.replicator.core |