Nebula
Loading...
Searching...
No Matches
TerrainPanel Class Reference

#include <terraineditor.h>

Detailed Description

The terrain editor: sculpting the heightmap, painting where each biome and each plant is, and the settings of the terrain, its biomes and its plants.

It edits the Terrain of the selected entity. Each terrain that was edited keeps its session while the scene is open, so selecting something else doesn't lose the work, and the exit asks about the terrains that aren't saved. A stroke is one undo step of the scene.

The brush works in the viewport while Edit is on: the left button paints, shift does the opposite (lower instead of raise, erase instead of paint), escape stops. The terrain is drawn by the game's frame script, so it shows in the viewport's Rendering view; the brush and picking work in both.


The documentation for this class was generated from the following file:
  • /github/workspace/code/addons/graphicsfeature/editor/terrain/terraineditor.h