Class Vec3i
- Namespace
- Vintagestory.API.MathTools
- Assembly
- VintagestoryAPI.dll
Represents a vector of 3 ints. Go bug Tyron if you need more utility methods in this class. Open in GitHub
[DocumentAsJson]
[ProtoContract]
[JsonObject(MemberSerialization.OptIn)]
public class Vec3i
- Inheritance
-
Vec3i
Fields
X (Recommended) (Default: 0)
The X-Component of the vector
[DocumentAsJson("Recommended", "0", false)]
[ProtoMember(1)]
[JsonProperty]
public int X
Field Value
Y (Recommended) (Default: 0)
The Y-Component of the vector
[DocumentAsJson("Recommended", "0", false)]
[ProtoMember(2)]
[JsonProperty]
public int Y
Field Value
Z (Recommended) (Default: 0)
The Z-Component of the vector
[DocumentAsJson("Recommended", "0", false)]
[ProtoMember(3)]
[JsonProperty]
public int Z