Class CinemachineFreeLookModifier.DistanceModifier
Builtin FreeLook modifier for camera distance. Applies distance to the camera at the start of the camera pipeline.
Inheritance
CinemachineFreeLookModifier.DistanceModifier
Inherited Members
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
public class CinemachineFreeLookModifier.DistanceModifier : CinemachineFreeLookModifier.ComponentModifier<CinemachineFreeLookModifier.IModifiableDistance>
Fields
Name | Description |
---|---|
Distance | Values for the top and bottom rigs |
Methods
Name | Description |
---|---|
AfterPipeline(CinemachineVirtualCameraBase, ref CameraState, float, float) | Called from extension's PostPipelineStageCallback(Finalize). Perform any necessary actions to state, and restore any camera parameters changed in BeforePipeline(CinemachineVirtualCameraBase, ref CameraState, float, float). |
BeforePipeline(CinemachineVirtualCameraBase, ref CameraState, float, float) | Called from extension's PrePipelineMutateCameraState(). Perform any necessary actions to modify relevant camera settings. Original camera settings should be restored in AfterPipeline(CinemachineVirtualCameraBase, ref CameraState, float, float). |
Reset(CinemachineVirtualCameraBase) | Called when the modifier is created. Initialize fields with appropriate values. |
Validate(CinemachineVirtualCameraBase) | Called from OnValidate to validate this component |