QcTerrainDefinitions::Feature Struct
struct QcTerrainDefinitions::FeatureA feature (tree, column, plant or pool) with its blocks resolved; the scattered plants of a biome's vegetation layers are features too. More...
Public Variables
| QSet<QcBlockId> | ground |
| bool | nearWater |
| bool | onWater |
| int | patchSize |
| QcNoise | patches |
| QcVegetationTable | plants |
| quint64 | seed |
| QcTreeShape::Params | shape |
Detailed Description
Member Variable Documentation
QSet<QcBlockId> Feature::ground
The blocks the feature may stand on; empty for any.
bool Feature::nearWater
Only on the shore: ground at sea level with water next to it.
bool Feature::onWater
Only on the surface of the water (plants).
int Feature::patchSize
Size in blocks of the patches the feature grows in; 0 scatters it evenly.
QcNoise Feature::patches
The noise of the patches, seeded from the feature's name.
QcVegetationTable Feature::plants
A layer of a biome's vegetation (decision E-814): the plant comes from this table, by weight, the same kind in areas of about patchSize / 2 blocks; empty for content features.
quint64 Feature::seed
Seed of the placement chances, derived from the feature's name.
QcTreeShape::Params Feature::shape
The shape and blocks the feature is built from.