CinemachineBrain.IsLive Method

Cinemachine

CinemachineBrainIsLive Method

True if the ICinemachineCamera the current active camera, or part of a current blend, either directly or indirectly because its parents are live.

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public bool IsLive(
	ICinemachineCamera vcam
)
function IsLive(vcam);

Parameters

vcam
Type: CinemachineICinemachineCamera
The camera to test whether it is live

Return Value

Type: Boolean
True if the camera is live (directly or indirectly) or part of a blend in progress.
See Also