Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · member function

UOrreryTerrainEditorLibrary::

SetActiveBrushMask

Editor onlyBlueprint

Pick Brush in the active brush, paint or Stamp tool's palette, as a click on its button does, and set the mask's angle.

Declaration

UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Editor")
static bool SetActiveBrushMask(UOrreryTerrainBrushAsset* Brush, double Angle_deg);
Blueprint Set Active Brush Mask
The graph as text
  1. Set Active Brush Mask (function call)
    • In Brush (OrreryTerrainBrushAsset object): None
    • In Angle Deg (Double): 0.0
    • Out Return Value (Boolean): not connected
Header
#include "OrreryTerrainEditorLibrary.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.
Thread
Game thread, editor only. (the rule of UOrreryTerrainEditorLibrary)
Blueprint
Set Active Brush Mask, in Orrery › Terrain › Editor

Description

Null picks Disc.

Parameters

NameTypeDefaultMeaning
BrushUOrreryTerrainBrushAsset*—

A baked brush asset, or null for Disc.

Angle_degdouble—

The mask's angle, degrees from +X toward +Y.

Returns

false when no such tool is active.