CinemachinePath.EvaluateTangent Method

Cinemachine

CinemachinePathEvaluateTangent Method

Get the tangent of the curve at a point along the path.

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public override Vector3 EvaluateTangent(
	float pos
)
function EvaluateTangent(pos);

Parameters

pos
Type: SystemSingle
Postion along the path. Need not be normalized.

Return Value

Type: Vector3
World-space direction of the path tangent. Length of the vector represents the tangent strength
See Also