Firstborn/Library/PackageCache/com.unity.cinemachine@2.8.9/Documentation~/CinemachineFollowZoom.md

14 lines
787 B
Markdown
Raw Normal View History

2023-03-28 13:24:16 -04:00
# Cinemachine Follow Zoom
This [extension](CinemachineVirtualCameraExtensions.md) adjusts the FOV of the lens to keep the target object at a constant size on the screen, regardless of camera and target position.
## Properties:
| **Property:** | **Function:** |
|:---|:---|
| __Width__ | The shot width to maintain, in world units, at target distance. The FOV will be adjusted so that an object of this size, at target distance, will fill the screen. |
| __Damping__ | Increase this value to soften the responsiveness of the follow-zoom. Small numbers make the camera more responsive. Larger numbers make the camera respond more slowly. |
| __Min FOV__ | Lower limit for the FOV that this behavior generates. |
| __Max FOV__ | Upper limit for the FOV that this behavior generates. |