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 Vector2iView DPB1 version โ†’

Inherited APIs and contracts

Members declared by a base type are documented on that type. Follow these links to include them in your lookup.

Members and overloads

1 results
Show all members

GetDirection

MethodLink โ†—
public static void Vector2i.GetDirection(ref Vector2i from, ref Vector2i to, out Vector2i dir)

Returns direction using the supplied arguments.

fromVector2i
Supplies and may update from.
toVector2i
Supplies and may update to.
dirVector2i
Receives dir.

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