docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Delegate CinemachineCore.GetBlendOverrideDelegate

    Delegate for overriding a blend that is about to be applied to a transition. A handler can either return the default blend, or a new blend definition specific to current conditions.

    Namespace: Unity.Cinemachine
    Assembly: solution.dll
    Syntax
    public delegate CinemachineBlendDefinition CinemachineCore.GetBlendOverrideDelegate(ICinemachineCamera fromVcam, ICinemachineCamera toVcam, CinemachineBlendDefinition defaultBlend, Object owner)
    Parameters
    Type Name Description
    ICinemachineCamera fromVcam

    The outgoing virtual camera

    ICinemachineCamera toVcam

    Yhe incoming virtual camera

    CinemachineBlendDefinition defaultBlend

    The blend that would normally be applied

    Object owner

    The context in which the blend is taking place. Can be a CinemachineBrain, or CinemachineStateDrivenCamera, or other manager object that can initiate a blend

    Returns
    Type Description
    CinemachineBlendDefinition

    The blend definition to use for this transition.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)