Navigation
API > API/Plugins > API/Plugins/MassSpawner
Base class for Mass Entity Spawn Points Generator. A Mass Spawn Points Generator can be of several type (EQS, ZoneGraph, Volume, Area, etc.) The concept is to override the GenerateSpawnPoints() method and requesting a certain number of Spawn Point Locations to the method.
| Name | UMassEntitySpawnDataGeneratorBase |
| Type | class |
| Header File | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Public/MassEntitySpawnDataGeneratorBase.h |
| Include Path | #include "MassEntitySpawnDataGeneratorBase.h" |
Syntax
UCLASS (MinimalAPI, Abstract, Blueprintable, EditInlineNew)
class UMassEntitySpawnDataGeneratorBase : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMassEntitySpawnDataGeneratorBase
Derived Classes
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildResultsFromEntityTypes
(
const int32 SpawnCount, |
Populates empty generator results from EntityTypes based on the provided proportions. | MassEntitySpawnDataGeneratorBase.h | |
virtual void Generate
(
UObject& QueryOwner, |
Generate "Count" number of SpawnPoints and return as a list of position | MassEntitySpawnDataGeneratorBase.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 GetRandomSelectionSeed() |
MassEntitySpawnDataGeneratorBase.h |