Orrery Terrain · OrreryTerrainEditor module · function
OrreryTerrainBrushPalette::
SelectBrush
Editor onlyPick Brush (null: Disc) in Props as a palette button does: the angle becomes the asset's default angle and the change is announced as a details edit (PostEditChangeProperty), so the tool sees it.
Declaration
void SelectBrush(UOrreryTerrainBrushMaskProperties& Props, UOrreryTerrainBrushAsset* Brush);- Header
#include "Tools/OrreryTerrainBrushPalette.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.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Props | UOrrery | — | — |
Brush | UOrrery | — | — |