QtCraft API C++ classes QML types Handbook

QcSurfaceLakes::Site Struct

struct QcSurfaceLakes::Site

One planned lake: its pool, chunk, liquid level, basin and footprint. More...

Public Variables

QVarLengthArray<QcSurfaceLakes::Blob, 6> blobs
QcChunkPos chunk
QcXzRect footprint
int level
int pool

Detailed Description

Member Variable Documentation

QVarLengthArray<QcSurfaceLakes::Blob, 6> Site::blobs

The overlapping ellipses of the basin.

QcChunkPos Site::chunk

The chunk the lake lies in.

QcXzRect Site::footprint

The basin's columns and two more around them (world): no trees grow near it.

int Site::level

The height of the liquid's top layer.

int Site::pool

Index into the definitions' pools.