<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>CHexaSpawner :: Catur Documentation</title>
    <link>https://doc.cdryx.net/CdryxAIOUPlugin/modules/chexaumodule/chexaspawner/index.html</link>
    <description>Overview ACHexaSpawner is the main actor to place in a level. It inherits from ACAbstractSpawner and implements ICHexaData. It reads its configuration from a DataTable row, instantiates the UCHexamaker instances and drives the generation loop on tick.&#xA;Properties Name Description pawnToTrack Pawn whose position drives generation. If null, generates at origin then stops hexaSpawnerRH FDataTableRowHandle pointing to a FCHexaSpawnerDataStruct row hexamakerMap Map of instantiated UCHexamaker (index → hexamaker) bannedArea Array of FCCircle defining exclusion zones Lifecycle Name Description init Reads the DataTable row, distributes layers across CPU cores, instantiates hexamakers (normal + ghost) Tick Calls UCHexamaker::buildASync with the pawn position. Stops if no pawn and generation is complete clean Destroys all hexamakers and clears banned areas storeSpawnerSingleton Registers the spawner as singleton CNAME_Singleton_HexaSpawner // ACHexaSpawner is placed in the level. // Configure hexaSpawnerRH to point to a DataTable row of type FCHexaSpawnerDataStruct. // Assign pawnToTrack to the player pawn. // init() distributes layers across available CPU cores: int cpuCoreNumber = FPlatformMisc::NumberOfCores() * 0.5; // leaves cores free for ParallelFor // Each group of layers receives 2 hexamakers: one normal + one ghost (preview). // On Tick, the spawner delegates to each hexamaker: hexaMaker-&gt;buildASync(hexaMaker, pawnX, pawnY); // If no pawn and generation is complete, tick is disabled. ICHexaData interface ACHexaSpawner implements ICHexaData, making hexagonal operations globally accessible via HexaUtility.</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate></lastBuildDate>
    <atom:link href="https://doc.cdryx.net/CdryxAIOUPlugin/modules/chexaumodule/chexaspawner/index.xml" rel="self" type="application/rss+xml" />
  </channel>
</rss>