Orbdale Terrain · OrbdaleTerrainCore module · member function
Native::FBrushMask::
LevelFor
ExperimentalThe level a dab samples: the coarsest whose sample is no wider than one edit cell, 2 × HalfSide_mm × 2^k / Side <= Cell_mm, else level 0.
Declaration
uint32_t LevelFor(int64_t HalfSide_mm, int64_t Cell_mm) const;- Header
#include "Native/BrushMask.h"- Module
PublicDependencyModuleNames.Add("OrbdaleTerrainCore");in your module’s Build.cs.- Stability
- Experimental: supported, may change in a minor version, with a changelog line.
- Thread
- Tier 1, plain C++: any thread may read a mask. (the rule of FBrushMask)
Description
Pure integer arithmetic, so every machine picks the same.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
HalfSide_mm | int64_ | — | Half the mask's longer side on the ground ( |
Cell_mm | int64_ | — | The edit cell, mm. |