Navigation
API > API/Plugins > API/Plugins/MassSpawner > API/Plugins/MassSpawner/UMassEntityZoneGraphSpawnPointsG-
- UMassEntitySpawnDataGeneratorBase::Generate()
- UMassEntityZoneGraphSpawnPointsGenerator::Generate()
References
| Module | MassSpawner |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Public/MassEntityZoneGraphSpawnPointsGenerator.h |
| Include | #include "MassEntityZoneGraphSpawnPointsGenerator.h" |
| Source | /Engine/Plugins/Runtime/MassGameplay/Source/MassSpawner/Private/MassEntityZoneGraphSpawnPointsGenerator.cpp |
virtual void Generate
&40;
UObject & QueryOwner,
TConstArrayView< FMassSpawnedEntityType > EntityTypes,
int32 Count,
FFinishedGeneratingSpawnDataSignature & FinishedGeneratingSpawnPointsDelegate
&41; const
Remarks
Generate "Count" number of SpawnPoints and return as a list of position
Parameters
| Name | Description |
|---|---|
| Count | of point to generate |
| FinishedGeneratingSpawnPointsDelegate | is the callback to call once the generation is done |