Delegate CinemachineCore.GetBlendOverrideDelegate | Cinemachine | 2.5.0
docs.unity3d.com
    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 specific to current conditions.

    Namespace: Cinemachine
    Syntax
    public delegate CinemachineBlendDefinition GetBlendOverrideDelegate(ICinemachineCamera fromVcam, ICinemachineCamera toVcam, CinemachineBlendDefinition defaultBlend, MonoBehaviour 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

    MonoBehaviour 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.

    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