QtCraft API C++ classes QML types Handbook

QcVegetationTable::Plant Struct

struct QcVegetationTable::Plant

One plant of the layer. More...

Public Variables

QcBlockId block
QSet<QcBlockId> ground
int weight

Detailed Description

Member Variable Documentation

QcBlockId Plant::block

The plant's block.

QSet<QcBlockId> Plant::ground

Blocks it may stand on (the block's ground); empty: any.

int Plant::weight

Its weight in the choice.