Table of Contents

Struct FastVec2i

Namespace
Vintagestory.API.MathTools
Assembly
VintagestoryAPI.dll

Represents a vector of 2 ints. Go bug Tyron if you need more utility methods in this class.

[DocumentAsJson]
[ProtoContract]
public struct FastVec2i

Fields

X (Optional) (Default: 0)

The X-Component of the vector

[DocumentAsJson("Optional", "0", false)]
public int X { get; set; }

Field Value

int

Y (Optional) (Default: 0)

The Y-Component of the vector

[DocumentAsJson("Optional", "0", false)]
public int Y { get; set; }

Field Value

int