Class CinemachineFollowZoom
An add-on module for Cinemachine Virtual Camera that adjusts the FOV of the lens to keep the target object at a constant size on the screen, regardless of camera and target position.
상속된 멤버
네임스페이스: Cinemachine
어셈블리: solution.dll
구문
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
[AddComponentMenu("")]
[ExecuteInEditMode]
public class CinemachineFollowZoom : CinemachineExtension
필드
이름 | 설명 |
---|---|
m_Damping | Increase this value to soften the aggressiveness of the follow-zoom. Small numbers are more responsive, larger numbers give a more heavy slowly responding camera. |
m_MaxFOV | Will not generate an FOV larget than this. |
m_MinFOV | Will not generate an FOV smaller than this. |
m_Width | The shot width to maintain, in world units, at target distance. FOV will be adusted as far as possible to maintain this width at the target distance from the camera. |
메서드
이름 | 설명 |
---|---|
PostPipelineStageCallback(CinemachineVirtualCameraBase, Stage, ref CameraState, float) | Callback to preform the zoom adjustment |