Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · class

UOrreryTerrainPaintProperties

Editor only

The paint tools' settings (Paint, Ground class, Holes), kept per user.

Declaration

UCLASS(config = EditorPerProjectUserSettings)
class UOrreryTerrainPaintProperties : public UInteractiveToolPropertySet
Header
#include "Tools/OrreryTerrainBrushTool.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.
Derives from
UInteractiveToolPropertySet

Functions

  • GetLayerOptions

    The Layer dropdown: the layer table's names in index order, or Layer 0 to Layer 15 without one.

  • GetLayerIndex

    Layer's index, 0 to 15, or INDEX_NONE when the layer table has no such layer.

Properties

NameTypeDefaultMeaning
TargetEOrreryTerrainPaintTargetEOrreryTerrainPaintTarget::Layer

What the brush writes: the palette's tool sets it, and it can be switched here.

LayerFNameFName(TEXT("Layer 0"))

The layer to paint: a name from the terrain's layer table (its actor's Layer Set), else Layer 0 to Layer 15.

Opacitydouble1.0

The weight the layer moves toward: 1 paints it alone, lower blends it with the post's other layer.

Ctrl+[ ] change it.

GroundClassint320

The ground class to paint, 0 to 7: its row in the earthworks' batter table.

FillClassint320

Holes: the class Shift fills them with.

A painted cell keeps no memory of its class before the hole.

LayerSetTWeakObjectPtr<const UOrreryTerrainLayerSet>—

The layer table the dropdown lists; set by the tool from the terrain's actor.