Orbdale Terrain · OrbdaleTerrainCore module · member function
Native::ITileSource::
Load
ExperimentalLoad one tile.
Declaration
virtual bool Load(const FMipCoord& Coord, FBaseTile& Out) const = 0;- Header
#include "Native/TileSource.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
- Thread-safe and side-effect free: Load may be called concurrently from loader tasks. (the rule of ITileSource)
Description
May block on IO, so never call it on the game thread.
A level-0 tile may carry natural paint (FBaseTile::Channels); a mip tile never does, and the world ignores channels on any level but 0. A tile without them reads ChannelDefault. Duplicated edge posts carry the same values as the neighbour's first posts, as heights do.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Coord | const FMip | — | — |
Out | FBase | — | — |
Returns
false if Coord is outside the extent or the data is unreadable; Out is then untouched.