Zoom To Fit
Overview
The Zoom-To-Fit extension can be used if you’re following multiple targets and they’re moving in different directions. This extension will automatically zoom in/out to make sure the targets are visible at all times.
Editor
Parameters:
Zoom Out Border
(0 – 1): The point (in normalised viewport space) at which if any target is beyond the camera will zoom-out to fit it back inZoom In Border
(0 – 1): The point (in normalised viewport space) at which if all targets are inside the camera will zoom-inZoom In Smoothness
(>=0): Represents how smooth the zoom in of the camera should be. The lower the number the quickest the zoom isZoom Out Smoothness
(>=0): Represents how smooth the zoom out of the camera should be. The lower the number the quickest the zoom isMax Zoom In Amount
(>=1): Represents the maximum amount the camera should zoom inMax Zoom Out Amount
(>=1): Represents the maximum amount the camera should zoom outDisable When One Target
: Disable the zooming in/out when the camera only has one target