CinemachineFreeLook.GetLocalPositionForCameraFromInput Method

Cinemachine

CinemachineFreeLookGetLocalPositionForCameraFromInput Method

Returns the local position of the camera along the spline used to connect the three camera rigs. Does not take into account the current heading of the camera (or its target)

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public Vector3 GetLocalPositionForCameraFromInput(
	float t
)
function GetLocalPositionForCameraFromInput(t);

Parameters

t
Type: SystemSingle
The t-value for the camera on its spline. Internally clamped to the value [0,1]

Return Value

Type: Vector3
The local offset (back + up) of the camera WRT its target based on the supplied t-value
See Also