VoxelMapGeneratorOptions

Extends: roAssociativeArray

Options for BGE.VoxelMapGenerator.

Properties

  • size (integer) — Cells along each side, a power of 2 from 64 to 1024 (default 256)
  • seed (integer) — The same seed makes the same map (default 12345)
  • roughness (float) — How much each finer level of detail keeps of the one before: lower is smoother
  • seaLevel (integer) — Heights below this (0-255) are flattened to it, as water (default 70)
  • biomes (Array.<VoxelBiome>) — Height bands, lowest first (default: water, sand, grass, forest, rock, snow)
  • slopeShading (boolean) — Shade by slope, lit from the north-west (default true)