docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FindPotentialTargetBrain

    FindPotentialTargetBrain(CinemachineVirtualCameraBase)

    Try to find a CinemachineBrain to associate with a CinemachineCamera. The first CinemachineBrain in which this CinemachineCamera is live will be used. If none, then the first active CinemachineBrain with the correct layer filter will be used. Brains with OutputCamera == null will not be returned. Final result may be null.

    Declaration
    public static CinemachineBrain FindPotentialTargetBrain(CinemachineVirtualCameraBase vcam)
    Parameters
    Type Name Description
    CinemachineVirtualCameraBase vcam

    Virtual camera whose potential brain we need.

    Returns
    Type Description
    CinemachineBrain

    First CinemachineBrain found that might be appropriate for this vcam, or null

    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)