Orbdale Terrain · OrbdaleTerrainEditor module · member function
FOrbdaleTerrainSculptHeightTarget::
DabMaskAngle
Editor onlyThe 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
| Name | Type | Default | Meaning |
|---|---|---|---|
Settings | const FOrbdale | — | The stroke's brush settings: base angle, rotation mode and jitter. |
Travel | const FVector2 | — | The XY move from the previous dab of the stroke, world (zero for the first dab). |
Stroke | int64 | — | The stroke id the terrain gave (BeginStroke), a seed of Random. |
Step | uint32 | — | The dab's index in the stroke, from 0, a seed of Random. |