docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetBlendForVirtualCameras

    GetBlendForVirtualCameras(string, string, CinemachineBlendDefinition)

    Attempts to find a blend definition which matches the to and from cameras as specified. If no match is found, the function returns the supplied default blend.

    Declaration
    public CinemachineBlendDefinition GetBlendForVirtualCameras(string fromCameraName, string toCameraName, CinemachineBlendDefinition defaultBlend)
    Parameters
    Type Name Description
    string fromCameraName

    The game object name of the from camera

    string toCameraName

    The game object name of the to camera

    CinemachineBlendDefinition defaultBlend

    Blend to return if no custom blend found.

    Returns
    Type Description
    CinemachineBlendDefinition
    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)