Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · class

UOrreryTerrainPlateTool

Editor only

Plate: click the polygon's vertices on the ground; Enter commits, Backspace takes the last vertex back, Esc cancels.

Declaration

UCLASS()
class UOrreryTerrainPlateTool : public UOrreryTerrainFeatureToolBase
Header
#include "Tools/OrreryTerrainFeatureTools.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.

Description

From three vertices the cut and fill are previewed live (EvaluateFeature). The polygon is turned counter-clockwise (the terrain's order) keeping the first vertex first, since the top height is stated there. A commit that waits for its ground keeps the vertices until it lands; Esc then cancels the wait, and a second Esc drops the vertices.

Types

  • EAction enum

    Action ids of the hotkeys.

    CommitAction, RemoveLastAction, CancelAction

Functions