The node to start traversing from. Typically this is the node of an output of a ShapeDiver model.
The hierarchical pattern to check for. Each string of the pattern represents a regular expression for matching the node name.
The name of the output API to be used for the concatenated node name.
The result object, matching nodes will be added here.
The current index into the pattern array.
Recurse the scene tree downwards starting from the given node, gather all nodes that match the pattern, and add them to the result array.