QtCraft API C++ classes QML types Handbook

QcShowcaseContext Struct

What every area of the showcase world is built from: the content, the settings and the blocks they name, resolved once (decision E-220). More...

Header: #include <worldgen/showcase/QcShowcaseArea.h>

Public Variables

QcBlockId container
const QcContentRegistry &content
QcBlockId enclosure
QcBlockId ground
int groundTop
QcBlockId podium
const QcShowcaseDefinition &settings
QcShowcaseAreaBuilder

Detailed Description

Member Variable Documentation

QcBlockId QcShowcaseContext::container

The block of the containers (settings container, else a chest).

const QcContentRegistry &QcShowcaseContext::content

The content the areas show.

QcBlockId QcShowcaseContext::enclosure

The block of the enclosures (settings enclosure, else glass).

QcBlockId QcShowcaseContext::ground

The block of the ground's top layer.

int QcShowcaseContext::groundTop

Height of the ground's top layer; areas stand on it.

QcBlockId QcShowcaseContext::podium

The block of the podiums (settings podium, else stone).

const QcShowcaseDefinition &QcShowcaseContext::settings

The showcase settings of the content.

Related Non-Members

[alias] QcShowcaseAreaBuilder

Builds an area whose south west corner on the ground is anchor (x: west edge, y: ground top, z: south edge); the area grows east and north from there.