Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrain module · function

Tool::

ComputeFalloffContours

The radii of the strength contours inside a brush.

Declaration

inline void ComputeFalloffContours(EOrbdaleTerrainFalloff Falloff, double Radius, const TArray<float>& Levels, double Start, TArray<FFalloffContour>& Out);
Header
#include "Tools/OrbdaleTerrainBrushFalloff.h"
Module
PublicDependencyModuleNames.Add("OrbdaleTerrain"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.

Parameters

NameTypeDefaultMeaning
FalloffEOrbdaleTerrainFalloff—

The curve.

Radiusdouble—

Brush radius (any length unit; the result uses it).

Levelsconst TArray<float>&—

Strength factors to draw; entries outside (0, 1) are skipped. Order is kept.

Startdouble—

Falloff start, as EvaluateFalloff.

OutTArray<FFalloffContour>&—

Replaced with one entry per drawn level; empty for Constant.