Replace Target Parent
Replaces the old parent with a new parent in every target in an array. If the old parent is not found, the target is unmodified.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
New Parent (inputs:newParent) |
|
The new target parent. If empty, use the stage. |
None |
Old Parent (inputs:oldParent) |
|
The target parent to replace. If the old parent is not found, the target is unmodified. |
None |
Targets (inputs:targets) |
|
The target array to be modified |
None |
Metadata |
allowMultiInputs = 1 |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Targets (outputs:targets) |
|
The modified target array. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.ReplaceTargetParent |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Replace Target Parent |
Categories |
sceneGraph |
Generated Class Name |
OgnReplaceTargetParentDatabase |
Python Module |
omni.graph.nodes |