Class CinemachinePostProcessing
This behaviour is a liaison between Cinemachine with the Post-Processing v2 module. You must have the Post-Processing V2 stack package installed in order to use this behaviour.
As a component on the Virtual Camera, it holds a Post-Processing Profile asset that will be applied to the Unity camera whenever the Virtual camera is live. It also has the optional functionality of animating the Focus Distance and DepthOfField properties of the Camera State, and applying them to the current Post-Processing profile, provided that profile has a DepthOfField effect that is enabled.
Inheritance
CinemachinePostProcessing
Inherited Members
Namespace: Cinemachine.PostFX
Syntax
[AddComponentMenu("")]
public class CinemachinePostProcessing : CinemachineExtension
Methods
PostPipelineStageCallback(CinemachineVirtualCameraBase, CinemachineCore.Stage, ref CameraState, Single)
Apply PostProcessing effects
Declaration
protected override void PostPipelineStageCallback(CinemachineVirtualCameraBase vcam, CinemachineCore.Stage stage, ref CameraState state, float deltaTime)
Parameters
Type | Name | Description |
---|---|---|
CinemachineVirtualCameraBase | vcam | The virtual camera being processed |
CinemachineCore.Stage | stage | The current pipeline stage |
CameraState | state | The current virtual camera state |
Single | deltaTime | The current applicable deltaTime |