Table of Contents

Struct FastVec3i

Namespace
Vintagestory.API.MathTools
Assembly
VintagestoryAPI.dll

Represents a vector of 3 ints, similar to a Vec3i or a BlockPos but this is a struct

[DocumentAsJson]
[ProtoContract]
public struct FastVec3i

Fields

X (Recommended) (Default: 0)

The X-Component of the vector

[DocumentAsJson("Recommended", "0", false)]
[ProtoMember(1)]
public int X

Field Value

int

Y (Recommended) (Default: 0)

The Y-Component of the vector

[DocumentAsJson("Recommended", "0", false)]
[ProtoMember(2)]
public int Y

Field Value

int

Z (Recommended) (Default: 0)

The Z-Component of the vector

[DocumentAsJson("Recommended", "0", false)]
[ProtoMember(3)]
public int Z

Field Value

int