Method GetVirtualCamera
GetVirtualCamera(int)
Access the priority-sorted array of active ICinemachineCamera in the scene.
Declaration
public static CinemachineVirtualCameraBase GetVirtualCamera(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index | Index of the camera to access, range 0-VirtualCameraCount |
Returns
Type | Description |
---|---|
CinemachineVirtualCameraBase | The virtual camera at the specified index |