DPB2Struct · Utilities and settings

Vector2i

A two-dimensional integer position. Used by grid-position and pathfinding APIs; screen-position APIs may expect a different coordinate type.

Namespace: DreamPoeBot.Common

public struct Vector2i
Reference: DPB2 0.4.5.103Compare the DPB1 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

1 declared here
Show all members

GetPointAtDistanceBeforeThis

MethodLink ↗
public Vector2i Vector2i.GetPointAtDistanceBeforeThis(Vector2i end, float distance)

Calls GetPointAtDistanceBeforeThis on Vector2i with end, distance and returns Vector2i. Open the return contract below before using the result.

Return type: Vector2i
Explore Vector2i → members & methods

A two-dimensional integer position. Used by grid-position and pathfinding APIs; screen-position APIs may expect a different coordinate type.

Parameters

end

Specifies end.

distance
Parameter type: floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies distance.

Returns: The Vector2i result.

Inherited members and contracts

0 public members from documented base types and interfaces. Links open the original declaration; overrides are shown only once. Search using the member field above.

No dedicated example has been reviewed for this member. Browse the class reference; its examples may demonstrate other operations.

DPB2 0.4.5.103 · Reference reviewed 2026-10-30. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.