Find Parent By Tag (LogiX node)
Jump to navigation
Jump to search
Find Parent By Tag | ||
---|---|---|
Inputs | ||
Slot | Instance | |
String | Tag | |
Int | SearchDepth | |
Outputs | ||
Slot | FoundParent |
The Find Parent By Tag node attempts to find a parent slot of the Instance
input slot with a tag matching the input Tag
.
Usage
The FoundParent
is the first slot found whose tag exactly matches the input Tag
. Output is null if no valid match is found.
The search proceeds from the Instance
input slot's direct parent to higher levels if allowed by the SearchDepth
input. A SearchDepth
of 0 (default) searches only the Instance
input slot's direct parent, a depth of 1 allows searching of the Instance
slot's parent's parent etc. A SearchDepth
value of -1 allows searching to unlimited depth.