Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainEditor module · member function

UOrbdaleTerrainEditorLibrary::

ApplyEditorStroke

Editor onlyBlueprint

Apply one brush stroke as the editor mode's brush tool applies it, as one undoable "Terrain stroke" transaction.

Declaration

UFUNCTION(BlueprintCallable, Category="Orbdale|Terrain|Editor")
static FOrbdaleTerrainEditorStrokeResult ApplyEditorStroke(UWorld* World, const FOrbdaleTerrainEditorStroke& Stroke);
Blueprint Apply Editor Stroke
The graph as text
  1. Apply Editor Stroke (function call)
    • In World (World object): None
    • In Stroke (OrbdaleTerrainEditorStroke): not connected
    • Out Return Value (OrbdaleTerrainEditorStrokeResult): not connected
Header
#include "OrbdaleTerrainEditorLibrary.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 UOrbdaleTerrainEditorLibrary)
Blueprint
Apply Editor Stroke, in Orbdale › Terrain › Editor

Description

The press goes in at the path's first point, the cursor moves along the path over Stroke.Frames frames of 1/30 s, and the release waits until every dab has applied. Refused like the tool: ground off the terrain, a paint target the author limits forbid (Project Settings > Orbdale Terrain Editor), a layer the layer table lacks.

Parameters

NameTypeDefaultMeaning
WorldUWorld*——
Strokeconst FOrbdaleTerrainEditorStroke&——
Note.

Blocks until the ground under the path is exact and the stroke has closed (at most about a minute).