Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor · namespace

OrreryTerrainBrushPalette

Declared in OrreryTerrainEditor. Its members are listed below, by kind.

Functions

  • GatherBrushSets

    The brush sets the palette lists, in order: every UOrreryTerrainBrushSet under kStarterFolder (by name), then Project Settings > Orrery Terrain Editor > Brush Sets in their order; missing and repeated sets are skipped.

  • CollectEntries

    The palette's buttons: Disc first, then each set's baked brushes in order (an unbaked or repeated brush skipped), then Current when it is in no set (a brush picked or imported elsewhere).

  • CollectSplatEntries

    The palette's splat buttons, after the brushes: each set's Splats in order (a null, repeated or unbaked splat is skipped), then Current when it is in no set (a splat picked elsewhere).

  • SelectSplat

    Pick Splat (null: none) in Props as a palette button does: the brush is cleared and the change is announced as a details edit.

  • SelectBrush

    Pick 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.

  • CollectExtensionTargets

    The registered extension brush targets (V1 and V2), by id: the picker's rows.

  • SetExtensionTarget

    Pick or unpick the extension target Id in Props as a picker checkbox does: ids no longer registered are dropped from the list, and the change is announced as a details edit (PostEditChangeProperty), so the tool sees it.

  • ImportOptionsOf

    The options a tool's mask settings ask Import for; Usage is Height in the Stamp tool.

  • MakeBrushFromTexture

    Make a brush asset of Texture through the asset's own bake (it reads the texture's source, never its platform data).

  • FindSelectedTexture

    The first texture selected in the Content Browser (or in the editor's object selection), or null.

  • ImportSelectedTexture

    Import: bake a new brush asset of the selected texture beside it (BM_<Texture>, a unique name), dirty and not saved.

  • GetThumbnail

    A 64 × 64 grey thumbnail of Brush's mask (the disc for null), made once per mask and kept until Shutdown; null before Startup.

  • Startup

    Register the details customization that shows the palette, and keep the thumbnails.

  • Shutdown

Constants

NameTypeDefaultMeaning
kStarterFolderconst TCHAR*—

The content folder whose brush sets the palette lists first: the plugin's starter set goes there.