Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · member function

UOrreryTerrainEditorLibrary::

SetBrushPreviewAt

Editor onlyBlueprint

Put the active brush tool's ring (or the Stamp tool's ghost) at Location_m (world X and Y, m) as a hover would, and hold it there while the mouse crosses the viewport.

Declaration

UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Editor")
static bool SetBrushPreviewAt(FVector2D Location_m);
Blueprint Set Brush Preview At
The graph as text
  1. Set Brush Preview At (function call)
    • In Location M (Vector2D): not connected
    • 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 Brush Preview At, in Orrery › Terrain › Editor

Parameters

NameTypeDefaultMeaning
Location_mFVector2D——

Returns

false when no brush or Stamp tool is active or the point is off the terrain.