CinemachineVirtualCameraBase.ResolveLookAt Method

Cinemachine

CinemachineVirtualCameraBaseResolveLookAt Method

Returns this vcam's LookAt target, or if that is null, will retrun the parent vcam's LookAt target.

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
protected Transform ResolveLookAt(
	Transform localLookAt
)
function ResolveLookAt(localLookAt);

Parameters

localLookAt
Type: Transform
This vcam's LookAt value.

Return Value

Type: Transform
The same value, or the parent's if null and a parent exists.
See Also