Calculates the tangent vector at the path point in relative distance from start, given in the parameter t, in the path pathIndex.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
public Vector3 GetTangent(
	int pathIndex,
	double t
)

Parameters

pathIndex
Type: System..::.Int32
Specifies path number in the collection.
t
Type: System..::.Double
Relative distance from the start point do the end point in the path pathIndex. The value lies in the interval of 0 to 1.

Return Value

Returns calculated tangent vector at the path point.

See Also