QtCraft API C++ classes QML types Handbook

QcShowcaseArea Struct

One area of the showcase: a structure (local y 0 is the ground layer) and where it goes. More...

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

Public Variables

bool fromFront
QString name
QcBlockPos origin
QList<QcBlockPos> pointsOfInterest
std::shared_ptr<const QcStructure> structure
QString title
QList<std::shared_ptr<const QcVillagePlan>> villages

Detailed Description

Member Variable Documentation

bool QcShowcaseArea::fromFront

Its tour stop looks from in front of its south side (QcStructureDefinition::showcaseFromFront).

QString QcShowcaseArea::name

Short name for tour screenshots ("blocks-stone", "creatures").

QcBlockPos QcShowcaseArea::origin

Where the structure's local 0, 0, 0 lies in the world (its lowest north west corner; placed unturned).

QList<QcBlockPos> QcShowcaseArea::pointsOfInterest

Beds (heads) and workstations outside its villages that count as placed (decision E-490, QcWorldGenerator::pointsOfInterestIn), in world coordinates.

std::shared_ptr<const QcStructure> QcShowcaseArea::structure

The structure the area is built as.

QString QcShowcaseArea::title

Translation key of the area's title.

QList<std::shared_ptr<const QcVillagePlan>> QcShowcaseArea::villages

The villages it shows, in world coordinates (the village area's rows, decision E-411).