CinemachineFreeLook.PreUpdateChildCameras Method

Cinemachine

CinemachineFreeLookPreUpdateChildCameras Method

This is called prior to the updating of the vcam's child cameras, in order to allow the parent to prepare its children. If the children are updating on FixedUpdate, then this will not necessarily be called prior to every FixedUpdate, but might be called on LateUpdate. This implementation pushes the axis values to the rigs.

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public override void PreUpdateChildCameras(
	Vector3 worldUp,
	float deltaTime
)
function PreUpdateChildCameras(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

ICinemachineCameraPreUpdateChildCameras(Vector3, Single)
See Also