Method IsTargetObscured
IsTargetObscured(ICinemachineCamera)
See wheter an object is blocking the camera's view of the target
선언
public bool IsTargetObscured(ICinemachineCamera vcam)
파라미터
타입 | 이름 | 설명 |
---|---|---|
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 |
반환
타입 | 설명 |
---|---|
bool | True if something is blocking the view |