Cinemachine
CinemachineConfinerCameraWasDisplaced Method |
See whether the virtual camera has been moved by the confiner
Namespace: Cinemachine
Assembly: Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public bool CameraWasDisplaced( CinemachineVirtualCameraBase vcam )
function CameraWasDisplaced(vcam);
Parameters
- vcam
- Type: CinemachineCinemachineVirtualCameraBase
The virtual camera in question. This might be different from the virtual camera that owns the confiner, in the event that the camera has children
Return Value
Type: BooleanTrue if the virtual camera has been repositioned
See Also