Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · member function

FOrreryTerrainExtFeed::

MakeSplatDabs

ExperimentalEditor only

The V2 dabs of one splat dab: one per used channel of Splat, in channel order, each the splat step's mask (SplatSteps) with SplatStep, SplatChannel and PaintLayer set.

Declaration

static void MakeSplatDabs(const FOrreryTerrainBrushDab& Dab, const FOrreryTerrainBrushBP& Brush, const FOrreryTerrainSplat& Splat,
	const UOrreryTerrainSubsystem* Terrain, TArray<FOrreryTerrainBrushDabV2, TInlineAllocator<8>>& Out);
Header
#include "Tools/OrreryTerrainExtFeed.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainEditor"); in an editor module’s Build.cs: an editor module, not in packaged games.
Stability
Experimental: supported, may change in a minor version, with a changelog line.
Thread
Game thread, editor only. (the rule of FOrreryTerrainExtFeed)

Description

Brush carries the dab's resolved MaskAngle and its geometry.

Parameters

NameTypeDefaultMeaning
Dabconst FOrreryTerrainBrushDab&—

The tool's V1 dab (metres).

Brushconst FOrreryTerrainBrushBP&—

The subsystem brush the step becomes, with the dab's resolved MaskAngle.

Splatconst FOrreryTerrainSplat&—

The registered splat.

Terrainconst UOrreryTerrainSubsystem*—

The terrain the step applies to; null leaves the masks out.

OutTArray<FOrreryTerrainBrushDabV2, TInlineAllocator<8>>&—

The dabs, appended.