Method FindPotentialTargetBrain
FindPotentialTargetBrain(CinemachineVirtualCameraBase)
Try to find a CinemachineBrain to associate with a Cinemachine Virtual Camera. The first CinemachineBrain in which this Cinemachine Virtual Camera 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.
선언
public CinemachineBrain FindPotentialTargetBrain(CinemachineVirtualCameraBase vcam)
파라미터
타입 | 이름 | 설명 |
---|---|---|
CinemachineVirtualCameraBase | vcam | Virtual camera whose potential brain we need. |
반환
타입 | 설명 |
---|---|
CinemachineBrain | First CinemachineBrain found that might be appropriate for this vcam, or null |