public Vector2i.Vector2i(int x, int y)
Creates a new Vector2i instance using the supplied arguments.
xint- Specifies x.
yint- Specifies y.
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 DPB2 version โMembers declared by a base type are documented on that type. Follow these links to include them in your lookup.
public Vector2i.Vector2i(int x, int y)
Creates a new Vector2i instance using the supplied arguments.
xintyintDPB1 0.3.29.47 ยท 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.