Constructor for the LinearPath2 class
An array of Vector2 objects representing the control points of the path
Gets the point at a given distance along the path
The segment index
The value (between 0 and 1) along the segment to get the point
The point at the given distance on the path, or null if the segment index is out of bounds
Constructor for the LinearPath2 class