QtCraft API C++ classes QML types Handbook

QcBlockTextures Struct

The textures of a block: one per face plus the named slots that shape parts use. More...

Header: #include <common/content/blocks/QcBlockTextureParser.h>

Public Variables

std::array<QString, qcBlockFaceCount> faces
QList<std::pair<QString, QString>> namedSlots

Detailed Description

Member Variable Documentation

std::array<QString, qcBlockFaceCount> QcBlockTextures::faces

Texture name per face, indexed by QcBlockFace.

QList<std::pair<QString, QString>> QcBlockTextures::namedSlots

Named slots as slot -> texture name.