public static List<Vector2i> ExilePather.GetPointsOnSegment(Vector2i start, Vector2i end, bool dontLeaveFrame)
Returns all integer grid points along the straight line from start to end (inclusive). Uses Bresenham-style rasterization.
List<Vector2i>A two-dimensional integer position. Used by grid-position and pathfinding APIs; screen-position APIs may expect a different coordinate type.
Parameters
start- Parameter type:
Vector2iStarting point (inclusive).
end- Parameter type:
Vector2iEnding point (inclusive).
dontLeaveFrame- Parameter type:
boolNo current DPB page is linked for this built-in, external, generic or compatibility-only type.Not read by this overload in the reviewed source. Do not rely on this argument to change its behavior.
Returns: Ordered list of grid points from start to end.