Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · struct

FOrreryTerrainFollowEdit

Editor only

The ground an editor edit started from, which the follow measures every instance against.

Declaration

struct FOrreryTerrainFollowEdit
Header
#include "Follow/OrreryTerrainEditorFollow.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.

Description

UOrreryTerrainEditorFollowSubsystem::BeginEdit takes it before the edit writes; a stroke widens Area_m with each dab. Plain data. Game thread.

Functions

  • AddDab

    Widen Area_m by one dab: its centre and radius, world metres.

  • Reset

    Forget the edit (after FinishEdit, or a refused one).

Properties

NameTypeDefaultMeaning
BeforeOrreryTerrain::Native::FGroundQuery—

The published ground before the edit.

Cursoruint64_t0

The ground journal's head at Before (FGroundQuery::ChangesSince).

Area_mFBox2DFBox2D(ForceInit)

The plan box the edit can change, world metres (a stroke's dabs); invalid: the journal's edit tiles alone.

bOpenboolfalse

Whether BeginEdit opened it (an editor world with a terrain, and the follow on).