Const
Instantly frames the camera to fit the given objects in the viewport. Computes the bounding box, fitting distance, and sets the camera position and target. The camera direction is preserved — only distance from target changes.
Optional
Instantly frames the camera to fit the given objects in the viewport. Computes the bounding box, fitting distance, and sets the camera position and target. The camera direction is preserved — only distance from target changes.