Open 3D Engine LmbrCentral Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
LmbrCentral::EditorSpawnerComponent Class Reference

#include <EditorSpawnerComponent.h>

Inherits AzToolsFramework::Components::EditorComponentBase.

Public Member Functions

 AZ_EDITOR_COMPONENT (EditorSpawnerComponent, "{77CDE991-EC1A-B7C1-B112-7456ABAC81A1}", EditorComponentBase)
 
bool ReadInConfig (const AZ::ComponentConfig *baseConfig) override
 
bool WriteOutConfig (AZ::ComponentConfig *outBaseConfig) const override
 
void BuildGameEntity (AZ::Entity *gameEntity) override
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &)
 
static void GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &)
 
static void GetDependentServices (AZ::ComponentDescriptor::DependencyArrayType &)
 

Protected Member Functions

AZ::u32 SliceAssetChanged ()
 
AZ::u32 SpawnOnActivateChanged ()
 
bool HasInfiniteLoop ()
 

Protected Attributes

AZ::Data::Asset< AZ::DynamicSliceAsset > m_sliceAsset { AZ::Data::AssetLoadBehavior::PreLoad }
 
bool m_spawnOnActivate = false
 
bool m_destroyOnDeactivate = false
 

Detailed Description

Editor spawner component Spawns the entities from a ".dynamicslice" asset at runtime.


The documentation for this class was generated from the following file: