Orrery Terrain · OrreryTerrainEditor module · member function
UOrreryTerrainNewTerrainProperties::
CreateTerrain
Editor onlyCreate the terrain these fields describe, or replace the source of the world's terrain: one undoable transaction.
Declaration
UFUNCTION(CallInEditor, Category = "Create")
void CreateTerrain();- 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. (the rule of UOrreryTerrainNewTerrainProperties)
Description
The only way the New tool makes a terrain; leaving the tool (another tool, the mode's exit, Play, Save) makes none.