QtCraft API C++ classes QML types Handbook

QcBlockIcon::Part Struct

struct QcBlockIcon::Part

One cell of a block that fills several (a bed's foot and head, decision E-885): its state's entry, drawn offset cells away from the first part. More...

Header: #include <clientcore/icons/QcBlockIcon.h>

Public Variables

const QcBlockRenderTable::Entry *entry
std::array<int, 3> offset

Detailed Description

Member Variable Documentation

const QcBlockRenderTable::Entry *Part::entry

Render data of the part's state; null draws nothing.

std::array<int, 3> Part::offset

Cells from the first part along x, y and z.