Struct Vec2iStruct
- 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 Vec2iStruct
Fields
X (Optional) (Default: 0)
The X element of the vector.
[ProtoMember(1)]
[DocumentAsJson("Optional", "0", false)]
public int X
Field Value
Y (Optional) (Default: 0)
The Y element of the vector.
[ProtoMember(2)]
[DocumentAsJson("Optional", "0", false)]
public int Y