Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · member function

UOrreryTerrainBrushTool::

SetCursorAt

Editor only

Put the brush at Location_cm (world cm, Z ignored; the ground's height is taken) as if the cursor hovered there: for captures and scripted strokes, without a viewport.

Declaration

bool SetCursorAt(const FVector& Location_cm);
Header
#include "Tools/OrreryTerrainBrushTool.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 UOrreryTerrainBrushTool)

Description

Real hovers are ignored until the next real click, so the scripted cursor holds while the mouse crosses the viewport.

Parameters

NameTypeDefaultMeaning
Location_cmconst FVector&——

Returns

false when the point is off the terrain.