CinemachineSmoothPath.EvaluateOrientation Method

Cinemachine

CinemachineSmoothPathEvaluateOrientation Method

Get the orientation 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 Quaternion EvaluateOrientation(
	float pos
)
function EvaluateOrientation(pos);

Parameters

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

Return Value

Type: Quaternion
World-space orientation of the path, as defined by tangent, up, and roll.
See Also