Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · class

UOrreryTerrainNewTerrainTool

Editor only

Manage, New.

Declaration

UCLASS()
class UOrreryTerrainNewTerrainTool : public UInteractiveTool
Header
#include "Tools/OrreryTerrainNewTerrainTool.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainEditor"); in an editor module’s Build.cs: an editor module, not in packaged games.
Stability
Stable: changes within a major version only add.
Thread
Game thread, editor only.
Derives from
UInteractiveTool

Description

Shows the properties with a live preview (an extent box in the viewport, the estimates in the message line); the Create Terrain button creates the terrain, or replaces the source of the world's terrain, in one transaction.

Nothing else creates one. The tool has no Accept: the tool manager accepts the active tool on a tool switch, and the editor accepts it on the mode's exit, on Play and on Save, so an Accept that created would replace the map's terrain whenever the user merely looked at New and moved on. The tool stays active after Create, its outline on the new extent.

Note.

Game thread, editor only.

Functions