Method IsLive
IsLive(ICinemachineCamera, bool)
True if the ICinemachineCamera the current active camera, or part of a current blend, either directly or indirectly because its parents are live.
Declaration
public bool IsLive(ICinemachineCamera vcam, bool dominantChildOnly = false)
Parameters
| Type | Name | Description |
|---|---|---|
| ICinemachineCamera | vcam | The camera to test whether it is live |
| bool | dominantChildOnly | If truw, will only return true if this vcam is the dominat live child |
Returns
| Type | Description |
|---|---|
| bool | True if the camera is live (directly or indirectly) or part of a blend in progress. |