get_position


Description:

public uint get_position (double progress, out Knot position)

The value in progress represents a position along the path where 0.0 is the beginning and 1.0 is the end of the path.

An interpolated position is then stored in position.

Parameters:

this

a Path

progress

a position along the path as a fraction of its length

position

location to store the position

Returns:

index of the node used to calculate the position.