CinemachineMixingCamera.UpdateCameraState Method

Cinemachine

CinemachineMixingCameraUpdateCameraState Method

Called by CinemachineCore at designated update time so the vcam can position itself and track its targets. This implementation computes and caches the weighted blend of the tracked cameras.

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public override void UpdateCameraState(
	Vector3 worldUp,
	float deltaTime
)
function UpdateCameraState(worldUp, deltaTime);

Parameters

worldUp
Type: Vector3
Default world Up, set by the CinemachineBrain
deltaTime
Type: SystemSingle
Delta time for time-based effects (ignore if less than 0)

Implements

ICinemachineCameraUpdateCameraState(Vector3, Single)
See Also