SpiecsEngine
 
Loading...
Searching...
No Matches

◆ OnPreActivate()

void Spices::WhittedRTWorld::OnPreActivate ( )
overridevirtual

This interface define the specific world behave before on activated.

Reimplemented from Spices::EditorWorld.

Definition at line 12 of file WhittedRTWorld.cpp.

13 {
15
16 ResourceSystem::RegistryResourceFolder(SPICES_GAME_ASSETS_PATH);
17
19
20 {
21 auto collection = std::make_shared<GltfCollection>("G:/Vulkan/ExtensionAssets/BistroExterior/BistroExterior.gltf");
22 collection->CreateEntity(this, "BistroExterior");
23 }
24 }
#define SPICES_PROFILE_ZONE
virtual void OnPreActivate() override
This interface define the specific world behave before on activated.
static void RegistryResourceFolder(const std::string &folder)
Registry Resource Search Folder.

References Spices::EditorWorld::OnPreActivate().