docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method LookupBlend

    LookupBlend(ICinemachineCamera, ICinemachineCamera, CinemachineBlendDefinition, CinemachineBlenderSettings, Object)

    Find a blend curve for blending from one ICinemachineCamera to another. If there is a specific blend defined for these cameras it will be used, otherwise a default blend will be created, which could be a cut.

    CinemachineCore.GetBlendOverride will be called at the end, so that the client may override the choice of blend.

    Declaration
    public static CinemachineBlendDefinition LookupBlend(ICinemachineCamera outgoing, ICinemachineCamera incoming, CinemachineBlendDefinition defaultBlend, CinemachineBlenderSettings customBlends, Object owner)
    Parameters
    Type Name Description
    ICinemachineCamera outgoing

    The camera we're blending from.

    ICinemachineCamera incoming

    The camera we're blending to.

    CinemachineBlendDefinition defaultBlend

    Blend to return if no custom blend found.

    CinemachineBlenderSettings customBlends

    The custom blends asset to search, or null.

    Object owner

    The object that is requesting the blend, for GetBlendOverride callback context.

    Returns
    Type Description
    CinemachineBlendDefinition

    The blend to use for this camera 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)