Orbdale Terrain · OrbdaleTerrainPCG module · member function
UOrbdaleTerrainPCGData::
Initialize
ExperimentalBind the data to a snapshot.
Declaration
void Initialize(const OrbdaleTerrain::Native::FGroundQuery& InQuery, const FBox& InWorldBounds,
const FOrbdaleTerrainPCGParams& InParams, const TArray<FName>& InLayerNames,
FName InTerrainId, int64 InEditRevision);- Header
#include "OrbdaleTerrainPCGData.h"- Module
PublicDependencyModuleNames.Add("OrbdaleTerrainPCG");in your module’s Build.cs.- Stability
- Experimental: supported, may change in a minor version, with a changelog line.
- Thread
- Game thread.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
InQuery | const Orbdale | — | The snapshot, acquired on the game thread ( |
InWorldBounds | const FBox& | — | The area the data answers for, world cm. Samples outside it get density 0. |
InParams | const FOrbdale | — | Surface, accuracy, attributes, step. |
InLayerNames | const TArray< | — | One name per paint layer, index = layer, up to 256 (more are dropped). Empty: Layer0 to Layer15. |
InTerrainId | FName | — | Stable id of the terrain, part of the CRC. |
InEditRevision | int64 | — | The last revision that changed the ground (not streaming), part of the CRC. |
Note.
Game thread.