Method IsTargetObscured
IsTargetObscured(ICinemachineCamera)
See wheter an object is blocking the camera's view of the target
Declaration
public bool IsTargetObscured(ICinemachineCamera vcam)
Parameters
| Type | Name | Description |
|---|---|---|
| ICinemachineCamera | vcam | The virtual camera in question. This might be different from the virtual camera that owns the collider, in the event that the camera has children |
Returns
| Type | Description |
|---|---|
| bool | True if something is blocking the view |