Atlas

class Atlas
static Single tUnit { get; }

Unit length of a cube in the texture atlas.

public Vector2 GetTexture (Atlas.ID dir, Atlas.Dir dir)

Gets the texture UV coordinate for a given block ID.

enum ID
Air
Solid

A special block that represents a generic solid.

Stone
Grass
Dirt
Coal
Log
Leaves
enum Dir
Up
Down
North
South
East
West