Orrery Terrain · OrreryTerrain module · function
Units::
ToBrush
A Blueprint brush as Tier 1 states it: fixed point, millimetres relative to the terrain origin.
Declaration
OrreryTerrain::Native::FBrush ToBrush(const FOrreryTerrainBrushBP& Brush, const OrreryTerrain::Native::FContractFrame& Frame);- Header
#include "TerrainBlueprintTypes.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Thread
- Pure, any thread.
Description
The one conversion of a brush, made once on the machine that states it: the authority for its own player, or a client for the request it sends. The authority then validates and applies the integers and replicates them, never the cm. A value beyond its field's range clamps (a negative radius to 0); the sculpt limits then refuse it.
A brush with a valid Mask carries its hash, angle (wrapped to a turn, 1/65536 of a turn), flags and aspect (1/256); without one those fields are zeroed to the core's defaults, whatever the Blueprint brush holds in them. StampBlend is carried only by a Stamp.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Brush | const FOrrery | — | The Blueprint brush, cm and degrees. |
Frame | const Orrery | — | The terrain's contract frame, FContractFrame(World.Config().Grid) (Native/GroundProvider.h). |
Pure, any thread.