Orrery Terrain · OrreryTerrain module · function
Tool::
SolveFalloffContour
Normalised distance at which the brush strength factor falls to Level.
Declaration
inline bool SolveFalloffContour(EOrreryTerrainFalloff Falloff, double Level, double Start, double& OutT);- Header
#include "Tools/OrreryTerrainBrushFalloff.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
Description
Inverts EvaluateFalloff (monotone, so bisection to 1e-12).
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Falloff | EOrrery | — | The curve. |
Level | double | — | Strength factor, 0 to 1 exclusive. |
Start | double | — | Falloff start, as EvaluateFalloff. |
OutT | double& | — | Distance over the radius, between Start and 1. |
Returns
false when Level is outside (0, 1) or the curve is Constant (no contour inside the brush); OutT untouched.