Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainEditor module · member function

UOrbdaleTerrainBrushTool::

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/OrbdaleTerrainBrushTool.h"
Module
PublicDependencyModuleNames.Add("OrbdaleTerrainEditor"); 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 UOrbdaleTerrainBrushTool)

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.