CinemachineStateDrivenCamera.UpdateCameraState Method

Cinemachine

CinemachineStateDrivenCameraUpdateCameraState Method

Called by CinemachineCore at designated update time so the vcam can position itself and track its targets. This implementation updates all the children, chooses the best one, and implements any required blending.

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 or equal to 0)

Implements

ICinemachineCameraUpdateCameraState(Vector3, Single)
See Also