Blending between Virtual Cameras
Use blending properties to specify how the Cinemachine Brain component performs a blend between virtual cameras.
A Cinemachine blend is not a fade, wipe, or dissolve. Rather, Cinemachine Brain performs a smooth animation of the position, rotation, and other settings of the Unity camera from one Virtual Camera to the next.
For blends between specific Virtual Cameras, use the Custom Blends list in the Cinemachine Brain component. Use the Default Blend property in Cinemachine Brain to specify blends between Virtual Cameras that do not have custom blends.
The From and To settings are name-based, not references. This means that Cinemachine finds cameras by matching their names to the settings. They are not linked to specific GameObjects.
Use the name **ANY CAMERA** to blend from or to any Virtual Camera.
Properties:
Property: | Function: | |
---|---|---|
From | The name of the Virtual Camera to blend from. Use the name **ANY CAMERA** to blend from any Virtual Camera. This property is available only for custom blends. | |
To | The name of the Virtual Camera to blend to. Use the name **ANY CAMERA** to blend to any Virtual Camera. This property is available only for custom blends. | |
Style Default Blend | Shape of the blend curve. | |
Cut | Zero-length blend. | |
Ease In Out | S-shaped curve, giving a gentle and smooth transition. | |
Ease In | Linear out of the outgoing Virtual Camera, and ease into the incoming Virtual Camera. | |
Ease Out | Ease out of the outgoing Virtual Camera, and blend linearly into the incoming Virtual Camera. | |
Hard In | Ease out of the outgoing Virtual Camera, and accelerate into the incoming Virtual Camera. | |
Hard Out | Accelerate out of the outgoing Virtual Camera, and ease into the incoming Virtual Camera. | |
Linear | Linear blend. mechanical-looking. | |
Custom | Custom blend curve. Allows you to draw a custom blend curve. | |
Time | Duration (in seconds) of the blend. |