ChunkPos

class ChunkPos
Int32 x { get; set; }

X coordinate.

Int32 y { get; set; }

Y coordinate.

Int32 z { get; set; }

Z coordinate.

static ChunkPos zero { get; }

Shorthand for writing ChunkPos(0, 0, 0).

static ChunkPos up { get; }

Shorthand for writing ChunkPos(0, 1, 0).

static ChunkPos down { get; }

Shorthand for writing ChunkPos(0, -1, 0).

static ChunkPos north { get; }

Shorthand for writing ChunkPos(0, 0, 1).

static ChunkPos south { get; }

Shorthand for writing ChunkPos(0, 0, -1).

static ChunkPos east { get; }

Shorthand for writing ChunkPos(1, 0, 0).

static ChunkPos west { get; }

Shorthand for writing ChunkPos(-1, 0, 0).

ChunkPos (Int32 x, Int32 y, Int32 z)

Creates a new ChunkPos using explicit x, y, and z coordinates.

ChunkPos (Vector3 vec)

Creates a new ChunkPos using a Vector3.

public static Single Distance (ChunkPos one, ChunkPos two)

Returns the distance between two ChunkPos.

public static Single CubeDistance (ChunkPos one, ChunkPos two)

Returns the cubic distance between two ChunkPos.