Finds the nearest camera ancestor of a scene object, if one exists. if not, it returns the first camera in the scene.
The scene object to search for orthographic camera ancestors.
Optional
The type of camera to search for, or null to find any camera.
The nearest camera ancestor of the scene object, or null if none is found.
Finds the nearest camera ancestor of a scene object, if one exists. if not, it returns the first camera in the scene.