Struct Cursor
Represents a single point on the polyline represented by the PathInterpolator.
The cursor is a lightweight structure which can be used to move backwards and forwards along a PathInterpolator.
If the PathInterpolator changes (e.g. has its path swapped out), then this cursor is invalidated and cannot be used anymore.
Public Methods
Move as close as possible to the specified point.
Move to the specified segment and move a fraction of the way to the next segment.
Public Static Methods
A cursor at the start of the polyline represented by the interpolator.
Public Variables
Traversed distance from the start of the path.
Last point in the path.
Current position.
Remaining distance until the end of the path.
Current segment.
Tangent of the curve at the current position.
True if this instance has a path set.