The base scene object to search in.
The name of the scene object(s) to find. Only exact matches are considered.
Optional
options: SearchOptionsOptional search options.
Represents the options for searching.
Optional
createIfNotFound?: booleanIndicates whether to create the item if it is not found.
Optional
createOptions?: CreateOptionsThe options for creating the item.
Optional
findAll?: booleanIndicates whether to find all matches or stop at the first match.
Optional
maxDepth?: numberThe maximum depth to search. 1 means only the immediate children of the base object.
an array of found scene objects, or null if not found.
Finds a scene object or an array of scene objects in the descendants of a base scene object by name.