CinemachineVirtualCameraBase.PreUpdateChildCameras Method

Cinemachine

CinemachineVirtualCameraBasePreUpdateChildCameras 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 it might be called on LateUpdate instead. Base class implementation does nothing.

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