docs.unity.cn
    Show / Hide Table of Contents

    Delegate CinemachineCore.GetCustomBlenderDelegate

    Delegate for replacing a standard CinemachineBlend with a custom blender class. Return a new instance of a custom blender, or null to use the default blender.

    Namespace: Unity.Cinemachine
    Syntax
    public delegate CinemachineBlend.IBlender GetCustomBlenderDelegate(ICinemachineCamera fromCam, ICinemachineCamera toCam);
    Parameters
    Type Name Description
    ICinemachineCamera fromCam

    The outgoing camera

    ICinemachineCamera toCam

    The incoming camera

    Returns
    Type Description
    CinemachineBlend.IBlender

    A new instance of a custom blender, or null to use the default blender

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Saturday, May 6, 2023