Blending between Virtual Cameras | Cinemachine | 2.4.0
docs.unity3d.com
    Show / Hide Table of Contents

    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.

    Custom Blends list in Cinemachine Brain

    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.
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023