Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · member function

UOrreryTerrainEditorLibrary::

DragActiveTool

Editor onlyBlueprint

A press at From_m, a drag to To_m and a release of the active brush tool (a stroke) or Stamp tool (a stamp centred on From_m whose radius and angle the drag sets), world m, through the mouse's own path.

Declaration

UFUNCTION(BlueprintCallable, Category="Orrery|Terrain|Editor")
static bool DragActiveTool(FVector2D From_m, FVector2D To_m);
Blueprint Drag Active Tool
The graph as text
  1. Drag Active Tool (function call)
    • In From M (Vector2D): not connected
    • In To 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
Drag Active Tool, in Orrery › Terrain › Editor

Parameters

NameTypeDefaultMeaning
From_mFVector2D——
To_mFVector2D——

Returns

false when neither is active or the press is off the terrain.