Function Cursor.GetTangents
The tangent(s) of the curve at the current position.
Public
void GetTangents (
out Vector3 | t1 | |
out Vector3 | t2 |
The tangent(s) of the curve at the current position.
Not necessarily normalized.
Will output t1=tangent, t2=tangent if on a straight line segment. Will output the previous and next tangents for the adjacent line segments when on a corner.
This is similar to tangent but can output two tangents instead of one when on a corner.