Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGSubsystem
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/PCGSubsystem.h |
| Include | #include "PCGSubsystem.h" |
| Source | /Engine/Plugins/Experimental/PCG/Source/PCG/Private/PCGSubsystem.cpp |
FPCGTaskId ScheduleGeneric
&40;
TFunction< bool()> InOperation,
UPCGComponent &42; SourceComponent,
const TArray< FPCGTaskId > & TaskDependencies
&41;
Remarks
General job scheduling
Parameters
| Name | Description |
|---|---|
| InOperation | Callback that returns true if the task is done, false otherwise. |
| InSourceComponent | PCG component associated with this task. Can be null. |
| TaskDependencies | List of all the dependencies for this task. |