CinemachineMixingCamera.MaxCameras Field

Cinemachine

CinemachineMixingCameraMaxCameras Field

The maximum number of tracked cameras. If you want to add more cameras, do it here in the source code, and be sure to add the extra member variables and to make the appropriate changes in GetWeight() and SetWeight(). The inspector will figure itself out based on this value.

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public const int MaxCameras = 8
var Cinemachine.CinemachineMixingCamera.MaxCameras

Field Value

Type: Int32
See Also