Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/FPCGRuntimeGenScheduler
Description
Grabs an empty RuntimeGen PA from the PartitionActorPool and initializes it at the given GridSize and GridCoords. If no PAs are available in the pool, the pool capacity will double and new PAs will be created.
| Name | GetPartitionActorFromPool |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/RuntimeGen/PCGRuntimeGenScheduler.h |
| Include Path | #include "RuntimeGen/PCGRuntimeGenScheduler.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/RuntimeGen/PCGRuntimeGenScheduler.cpp |
APCGPartitionActor * GetPartitionActorFromPool
(
const FPCGGridDescriptor & GridDescriptor,
const FIntVector & GridCoords
)