QtCraft API C++ classes QML types Handbook

QcSurfacePlanner::Kind Struct

struct QcSurfacePlanner::Kind

A kind of surface structure: a structure with a surface rule, resolved. More...

Public Functions

const std::shared_ptr<const QcStructure> &structure() const

Public Variables

QcBlockId foundation
QString name
QcStructureDefinition::Surface rule
quint64 seed
QcPieceVariation variation

Detailed Description

Member Function Documentation

const std::shared_ptr<const QcStructure> &Kind::structure() const

Returns the structure as written; every copy has its size and extras.

Member Variable Documentation

QcBlockId Kind::foundation

The block that fills the ground below a copy down to solid ground; air for none.

QString Kind::name

The structure's content name.

QcStructureDefinition::Surface Kind::rule

The structure's surface rule.

quint64 Kind::seed

The kind's own seed, mixed from the world seed and the name.

QcPieceVariation Kind::variation

The structure and the ways its copies vary (its choices and parts).