<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>CWorldSpawner :: Catur Documentation</title>
    <link>https://doc.cdryx.net/CdryxAIOUPlugin/modules/cworldumodule/cworldspawner/index.html</link>
    <description>Overview ACWorldSpawner is the main actor to place in a level. It inherits from ACAbstractSpawner and implements ICWorldData. It reads its configuration from a DataTable row, instantiates the worldmaker and drives the generation loop on tick.&#xA;Properties Name Description worldMakerRH FDataTableRowHandle pointing to a FCWorldSpawnerDataStruct row pawnToTrack Pawn whose location drives tile generation. If null, generates at origin then stops worldmaker Transient reference to the instantiated UCAbstractWorldmaker worldNoise Transient reference to the world UCNoisator singleton Lifecycle Name Description init Reads the DataTable row, creates the world noisator singleton, instantiates the worldmaker Tick Calls worldmaker-&gt;buildASync with the tracked pawn position. Stops ticking if no pawn and world is built clean Destroys the worldmaker and its resources debug Toggles debug material on all generated tiles (CallInEditor) // ACWorldSpawner is placed in the level. // Configure worldMakerRH to point to a DataTable row of type FCWorldSpawnerDataStruct. // Assign pawnToTrack to the player pawn or any pawn to follow. // init() is called by the spawner system (ACAbstractSpawner). // It creates the UCNoisator singleton and instantiates the worldmaker: UCNoisator::instanciate(GetRootComponent()-&gt;GetOwner(), CSingletonName::CNAME_Singleton_WorldNoise, worldNoise, seed, data-&gt;worldNoiseDataAsset-&gt;fastNoiseStruct, data-&gt;worldNoiseDataAsset-&gt;noiseStructArray); UCAbstractWorldmaker::instantiate&lt;UCAbstractWorldmaker&gt;( GetRootComponent(), data-&gt;worldMakerStruct.worldMakerClass, worldmaker, stream, data-&gt;worldMakerStruct); // On Tick, the spawner delegates to the worldmaker: worldmaker-&gt;buildASync(this, pawnToTrack-&gt;GetActorLocation().X, pawnToTrack-&gt;GetActorLocation().Y); ICWorldData interface ACWorldSpawner implements ICWorldData, making world queries available globally via WorldUtility static functions.</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate></lastBuildDate>
    <atom:link href="https://doc.cdryx.net/CdryxAIOUPlugin/modules/cworldumodule/cworldspawner/index.xml" rel="self" type="application/rss+xml" />
  </channel>
</rss>