Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrainEditor module · member function

FOrbdaleTerrainSculptHeightTarget::

DabMaskAngle

Editor only

The mask angle of one dab of a stroke, degrees: UOrbdaleTerrainSculptComponent::ResolveMaskAngle under Settings, the runtime component's own rule, so an editor stroke turns its dabs as a player's does.

Declaration

static double DabMaskAngle(const FOrbdaleTerrainSculptBrushSettings& Settings, const FVector2D& Travel, int64 Stroke, uint32 Step);
Header
#include "Tools/OrbdaleTerrainSculptTarget.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 FOrbdaleTerrainSculptHeightTarget)

Parameters

NameTypeDefaultMeaning
Settingsconst FOrbdaleTerrainSculptBrushSettings&—

The stroke's brush settings: base angle, rotation mode and jitter.

Travelconst FVector2D&—

The XY move from the previous dab of the stroke, world (zero for the first dab).

Strokeint64—

The stroke id the terrain gave (BeginStroke), a seed of Random.

Stepuint32—

The dab's index in the stroke, from 0, a seed of Random.