The base scene object to search in.
The name of the scene object(s) to find. Only exact matches are considered.
Optionaloptions: SearchOptionsOptional search options.
Represents the options for searching.
OptionalcreateIfNotFound?: booleanIndicates whether to create the item if it is not found.
OptionalcreateOptions?: CreateOptionsThe options for creating the item.
OptionalfindAll?: booleanIndicates whether to find all matches or stop at the first match.
OptionalmaxDepth?: 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.