<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>CRoomSpawner :: Catur Documentation</title>
    <link>https://doc.cdryx.net/CdryxAIOUPlugin/modules/croomumodule/croomspawner/index.html</link>
    <description>Overview ACRoomSpawner is the main actor to place in a level. It inherits from ACAbstractSpawner and implements ICRoomData. It reads its configuration from a DataTable row, instantiates the roommaker and drives the generation loop on tick.&#xA;Properties Name Description pawnToTrack Pawn whose location drives room generation context roomClusterRH FDataTableRowHandle pointing to a FCRoomClusterStruct row roommaker Transient reference to the instantiated UCRoommaker clusterNoise Transient reference to the cluster UCNoisator singleton roomNoise Transient reference to the room UCNoisator singleton clusterShiftNoise Transient reference to the cluster shift UCNoisator singleton Lifecycle Name Description init Reads the DataTable row, creates noise singletons, instantiates the roommaker Tick Calls roommaker-&gt;buildASync until built, then disables tick clean Destroys the roommaker and its resources debug Toggles debug drawing on all generated rooms and corridors (CallInEditor) // ACRoomSpawner is placed in the level. // Configure roomClusterRH to point to a DataTable row of type FCRoomClusterStruct. // Assign pawnToTrack to the player pawn or any pawn to follow. // init() is called by the spawner system (ACAbstractSpawner). // It creates UCNoisator singletons for cluster, room and shift noise: UCNoisator::instanciate(GetRootComponent()-&gt;GetOwner(), CSingletonName::CNAME_Singleton_ClusterNoise, clusterNoise, seed, data-&gt;clusterNoiseDataAsset-&gt;fastNoiseStruct, data-&gt;clusterNoiseDataAsset-&gt;noiseStructArray); // Then instantiates the roommaker: UCRoommaker::instantiate(GetRootComponent(), roommaker, stream, *data); // On Tick, the spawner delegates to the roommaker: // roommaker-&gt;buildASync(this) runs until roommaker-&gt;built == true. ICRoomData interface ACRoomSpawner implements ICRoomData, making room queries available globally via RoomUtility static functions.</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate></lastBuildDate>
    <atom:link href="https://doc.cdryx.net/CdryxAIOUPlugin/modules/croomumodule/croomspawner/index.xml" rel="self" type="application/rss+xml" />
  </channel>
</rss>