Class Vec2i
- 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. Open in GitHub
[DocumentAsJson]
[ProtoContract]
public class Vec2i
- Inheritance
-
Vec2i
Fields
X (Optional) (Default: 0)
The X-Component of the vector
[DocumentAsJson("Optional", "0", false)]
[ProtoMember(1)]
public int X
Field Value
Y (Optional) (Default: 0)
The Y-Component of the vector
[DocumentAsJson("Optional", "0", false)]
[ProtoMember(2)]
public int Y