Orrery Terrain · OrreryTerrain module · member function
FOrreryTerrainTileStoreIndex::
AddField
ExperimentalLay out one field with every slot absent.
Declaration
bool AddField(uint8 FieldId, double Cell_m, FIntPoint MinTile, FIntPoint MaxTile, uint8 MaxMip);- Header
#include "OrreryTerrainTileStoreAsset.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrain");in your module’s Build.cs.- Stability
- Experimental: supported, may change in a minor version, with a changelog line.
- Thread
- Thread-safe to read. (the rule of FOrreryTerrainTileStoreIndex)
Description
Call once per field, in increasing Id, before any SetSlot.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
FieldId | uint8 | — | — |
Cell_m | double | — | — |
MinTile | FInt | — | — |
MaxTile | FInt | — | — |
MaxMip | uint8 | — | — |
Returns
false for an empty rectangle, MaxMip above 30, a non-positive cell, a repeated or decreasing Id, or more than 2^31 slots.