Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainCore module · function

Native::

FalloffStartToQ16

A falloff start as a brush carries it: Start (a fraction of the radius) rounded to 1/65536.

Declaration

inline uint16_t FalloffStartToQ16(double Start);
Header
#include "Native/TerrainEdit.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainCore"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.

Parameters

NameTypeDefaultMeaning
Startdouble—

The inner radius of full strength over the radius; clamped to [0, 65535/65536].

Returns

Note.

Pure; use it on the machine that states a brush, never on a replayed one.