Orrery Terrain · OrreryTerrainEditor module · class
UOrreryTerrainPaintProperties
Editor onlyThe 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
| Name | Type | Default | Meaning |
|---|---|---|---|
Target | EOrrery | EOrrery | What the brush writes: the palette's tool sets it, and it can be switched here. |
Layer | FName | FName(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. |
Opacity | double | 1.0 | The weight the layer moves toward: 1 paints it alone, lower blends it with the post's other layer. Ctrl+ |
Ground | int32 | 0 | The ground class to paint, 0 to 7: its row in the earthworks' batter table. |
Fill | int32 | 0 | Holes: the class Shift fills them with. A painted cell keeps no memory of its class before the hole. |
Layer | TWeak | — | The layer table the dropdown lists; set by the tool from the terrain's actor. |