ICinemachineCamera.UpdateCameraState Method

Cinemachine

ICinemachineCameraUpdateCameraState Method

Updates this Cinemachine Camera. For an active camera this should be called once and only once each frame. To guarantee this, you should never call this method directly. Always use CinemachineCore.UpdateVirtualCamera(ICinemachineCamera, float), which has protection against multiple calls per frame.

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
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)
See Also