Find Target
Returns the index of the first occurrence of a target, or -1 if not found.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Search Target (inputs:searchTarget) |
|
The target to search for. |
None |
Targets (inputs:targets) |
|
The input target array. |
None |
Metadata |
allowMultiInputs = 1 |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Index (outputs:index) |
|
The index of the first occurrence of “searchTarget”, or -1 if not found |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.FindTarget |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Find Target |
Categories |
sceneGraph |
Generated Class Name |
OgnFindTargetDatabase |
Python Module |
omni.graph.nodes |