The scene object from which to start the search.
Optional
cameraType: CameraTypeThe type of camera to search for (e.g., Orthographic, Perspective). Use null for any type.
Optional
maxDepth: numberMaximum search depth. Default is 1000.
The nearest matching camera or null.
Finds the nearest camera in the ancestors of the given scene object.