BlockDef

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(cell_t blockId, string blockName, BlockVisibility v, int tx)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

addFace
void addFace(Vector3d pos, Dir face, Mesh mesh, int textureIndex)

add cube face

createFace
void createFace(World world, Position camPosition, Vector3d pos, Dir face, Mesh mesh)

create cube face

createFaces
void createFaces(World world, Position camPosition, Vector3d pos, int visibleFaces, Mesh mesh)

create faces

Properties

canPass
bool canPass [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isOpaque
bool isOpaque [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isVisible
bool isVisible [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
terrainSmoothing
bool terrainSmoothing [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

id
cell_t id;
Undocumented in source.
name
string name;
Undocumented in source.
txIndex
int txIndex;
Undocumented in source.
visibility
BlockVisibility visibility;
Undocumented in source.

Meta