QcVegetationPatchPlacer::Patch Struct
struct QcVegetationPatchPlacer::PatchOne patch: where it lies, its biome and layer, and the plant it plants. More...
Public Variables
| int | biome |
| QcBlockId | block |
| int | centreX |
| int | centreZ |
| int | layer |
| int | radius |
| QList<std::pair<int, int>> | tries |
Detailed Description
Member Variable Documentation
int Patch::biome
The biome at the centre; the patch plants only on columns of this biome.
QcBlockId Patch::block
The plant of the patch, chosen by weight.
int Patch::layer
The vegetation layer the patch belongs to.
int Patch::radius
The biome's patch radius for this layer.
QList<std::pair<int, int>> Patch::tries
The columns it tries (x, z), centre first.