Skip to content
Orbdale

Orbdale Terrain · OrbdaleTerrain module · function

BrushBake::

NearestSide

The nearest power of two to Side in 8 to 2048 (a tie goes up).

Declaration

int32 NearestSide(int32 Side);
Header
#include "OrbdaleTerrainBrushAsset.h"
Module
PublicDependencyModuleNames.Add("OrbdaleTerrain"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Thread
Pure, any thread.

Parameters

NameTypeDefaultMeaning
Sideint32—

Any value; below 8 gives 8, above 2048 gives 2048.

Note.

Pure, any thread.