Difference between revisions of "Get Child (LogiX node)"
Jump to navigation
Jump to search
(Default value) |
|||
Line 14: | Line 14: | ||
== Usage == <!--T:3--> | == Usage == <!--T:3--> | ||
− | Slot indexing starts from 0. | + | The default ChildIndex is 0, and the default Instance is ''null''. |
+ | |||
+ | Slot indexing starts from 0. The output will be ''null'' if no child is found with the specified index, or if Instance is ''null''. | ||
== Examples == <!--T:4--> | == Examples == <!--T:4--> |
Revision as of 06:55, 31 December 2021
Get Child | ||
---|---|---|
Inputs | ||
Slot | Instance | |
Int | ChildIndex | |
Outputs | ||
Slot | * |
The Get Child node outputs the child slot under the input Instance
slot with the input ChildIndex
.
Usage
The default ChildIndex is 0, and the default Instance is null.
Slot indexing starts from 0. The output will be null if no child is found with the specified index, or if Instance is null.
Examples
This node can be used with Children Count and For to iterate over and perform some function for each child of the Instance
slot.