Navigation
API > API/Plugins > API/Plugins/MassSpawner
Inheritance Hierarchy
- UWorldSubsystem
- UMassSubsystemBase
- UMassSpawnerSubsystem
References
| Module | MassSpawner |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Public/MassSpawnerSubsystem.h |
| Include | #include "MassSpawnerSubsystem.h" |
Syntax
UCLASS ()
class UMassSpawnerSubsystem : public UMassSubsystemBase
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FMassEntityManager > | EntityManager | ||
| TArray< TObjectPtr< UMassProcessor > > | SpawnDataInitializers | ||
| FMassEntityTemplateRegistry | TemplateRegistryInstance |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | DestroyEntities
(
TConstArrayView< FMassEntityHandle > Entities |
||
| void | DestroyEntities
(
const FMassEntityTemplateID TemplateID, |
||
| void | DoSpawning
(
const FMassEntityTemplate& EntityTemplate, |
||
| FMassEntityManager & | |||
| const FMassEntityTemplate * | GetMassEntityTemplate
(
FMassEntityTemplateID TemplateID |
||
| FMassEntityTemplateRegistry & | |||
| UMassProcessor * | GetSpawnDataInitializer
(
TSubclassOf< UMassProcessor > InitializerClass |
||
| const FMassEntityTemplateRegistry & | |||
| void | SpawnEntities
(
const FMassEntityTemplate& EntityTemplate, |
Spawns entities of the kind described by the given EntityTemplate. | |
| void | SpawnEntities
(
FMassEntityTemplateID TemplateID, |
Overridden from UMassSubsystemBase
| Type | Name | Description | |
|---|---|---|---|
| void | Deinitialize () |
||
| void | Initialize
(
FSubsystemCollectionBase& Collection |
UWorldSubsystem BEGIN. |