Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · struct

FOrreryTerrainEdActionDesc

Editor only

An action (a button that runs code rather than starting a tool): Bake, New, a climate spin-up.

Declaration

struct FOrreryTerrainEdActionDesc
Header
#include "Mode/OrreryTerrainEdExtensionV1.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.

Properties

NameTypeDefaultMeaning
IdFName—

Unique action id.

PaletteFName——
LabelFText——
TooltipFText——
IconFSlateIcon——
Orderint320—
bRequiresTerrainbooltrue

Disabled while the world has no terrain.

ExecuteTFunction<void(UEdMode&)>——
CanExecuteTFunction<bool(const UEdMode&)>—

Empty means always executable (after bRequiresTerrain).