Navigation
API > API/Plugins > API/Plugins/PCG
The runtime Generation Source Manager tracks generation sources in the world for use by the Runtime Generation Scheduler.
| Name | FPCGGenSourceManager |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/RuntimeGen/PCGGenSourceManager.h |
| Include Path | #include "RuntimeGen/PCGGenSourceManager.h" |
Syntax
class FPCGGenSourceManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGGenSourceManager
(
const UWorld* InWorld |
RuntimeGen/PCGGenSourceManager.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FPCGGenSourceManager() |
RuntimeGen/PCGGenSourceManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddReferencedObjects
(
FReferenceCollector& Collector |
Add UObject references for GC | RuntimeGen/PCGGenSourceManager.h | |
TSet< IPCGGenSourceBase * > GetAllGenSources
(
const APCGWorldActor* InPCGWorldActor |
Creates the set of all generation sources tracked by the manager. | RuntimeGen/PCGGenSourceManager.h | |
bool RegisterGenSource
(
IPCGGenSourceBase* InGenSource, |
Adds a UPCGGenSource to be tracked by the GenSourceManager. | RuntimeGen/PCGGenSourceManager.h | |
void Tick() |
Marks the GenSourceManager as dirty so that the next call to 'GetAllGenSources()' will update tracked generation sources. | RuntimeGen/PCGGenSourceManager.h | |
bool UnregisterGenSource
(
const IPCGGenSourceBase* InGenSource |
Removes a UPCGGenSource from being tracked by the GenSourceManager. | RuntimeGen/PCGGenSourceManager.h | |
bool UnregisterGenSource
(
FName InGenSourceName |
Removes a UPCGGenSource from being tracked by the GenSourceManaged on a name-basis. | RuntimeGen/PCGGenSourceManager.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GatherWorldPartitionGenSources
(
TSet< IPCGGenSourceBase* >& OutGenSources |
RuntimeGen/PCGGenSourceManager.h | ||
void UpdatePerTickGenSources
(
const APCGWorldActor* InPCGWorldActor |
Updates tracked generation sources that should be refreshed per tick. | RuntimeGen/PCGGenSourceManager.h | |
void UpdateWorldPartitionGenSources
(
const APCGWorldActor* InPCGWorldActor |
RuntimeGen/PCGGenSourceManager.h |