Navigation
API > API/Plugins > API/Plugins/MassSpawner
Describes an entity type to spawn.
| Name | FMassSpawnedEntityType |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Public/MassSpawnerTypes.h |
| Include Path | #include "MassSpawnerTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FMassSpawnedEntityType
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EntityConfig | TSoftObjectPtr< UMassEntityConfigAsset > | Asset that describes the entity | MassSpawnerTypes.h |
|
| Proportion | float | Proportion of the count that should be this agent type, (the proportions will be normalized with other sibling agent types) | MassSpawnerTypes.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| EntityConfigPtr | TObjectPtr< UMassEntityConfigAsset > | MassSpawnerTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const UMassEntityConfigAsset * GetEntityConfig () |
MassSpawnerTypes.h | ||
| MassSpawnerTypes.h | |||
bool IsLoaded() |
MassSpawnerTypes.h | ||
void UnloadEntityConfig() |
MassSpawnerTypes.h |