Data Structures

FCMapMakerStruct

Configuration structure for map generation parameters. Used as a FTableRowBase row in a DataTable, referenced by ACMapSpawner via FDataTableRowHandle.

Name Description
tileMesh Static mesh used for each hex tile instance
tileMeshSize Base size of a tile mesh in world units (default 100.0)
splineMesh Static mesh used for spline-based border rendering
splineMeshSize Size of the spline mesh (default 100)
tangentForce Tangent strength for spline curves, best between 1 and 3 (default 1.0)
FCMapMakerStruct mapStruct;
mapStruct.tileMesh = myHexMesh;
mapStruct.tileMeshSize = 100.0;
mapStruct.splineMesh = mySplineMesh;
mapStruct.splineMeshSize = 100;
mapStruct.tangentForce = 2.0;

FCMapDataQueue

Internal queue structure used by UCMapMaker to batch async build results.

Name Description
lastOfPool Marks the last item in a build batch, signaling that the map is fully built
// Used internally by UCMapMaker::drawMap / updateMap_sync pipeline.
// When lastOfPool is true, the map maker sets built = true.
FCMapDataQueue data(true);  // last of pool
FCMapDataQueue data2;       // default: lastOfPool = false