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 ScheduleGenericWithContext
&40;
TFunction< bool(FPCGContext &42;)> InOperation,
UPCGComponent &42; SourceComponent,
const TArray< FPCGTaskId > & TaskDependencies,
bool bConsumeInputData
&41;
Remarks
General job scheduling with context
Parameters
| Name | Description |
|---|---|
| InOperation | Callback that takes a Context as argument and 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. |
| bConsumeInputData | If your task need a context, but don't need the input data, set this flag to false. Default is true. |