Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGSubsystem
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGTaskId ScheduleGeneric
(
const FPCGScheduleGenericParams& InParams |
General job scheduling. | Subsystems/PCGSubsystem.h | |
FPCGTaskId ScheduleGeneric
(
TFunction< bool()> InOperation, |
General job scheduling | Subsystems/PCGSubsystem.h | |
FPCGTaskId ScheduleGeneric
(
TFunction< bool()> InOperation, |
General job scheduling | Subsystems/PCGSubsystem.h |
ScheduleGeneric(const FPCGScheduleGenericParams &)
Description
General job scheduling.
| Name | ScheduleGeneric |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Subsystems/PCGSubsystem.h |
| Include Path | #include "Subsystems/PCGSubsystem.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Subsystems/IPCGBaseSubsystem.cpp |
FPCGTaskId ScheduleGeneric
(
const FPCGScheduleGenericParams & InParams
)
ScheduleGeneric(TFunction< bool()>, UPCGComponent *, const TArray< FPCGTaskId > &)
Description
General job scheduling
| Name | ScheduleGeneric |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Subsystems/PCGSubsystem.h |
| Include Path | #include "Subsystems/PCGSubsystem.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Subsystems/PCGSubsystem.cpp |
FPCGTaskId ScheduleGeneric
(
TFunction < bool> InOperation,
UPCGComponent * SourceComponent,
const TArray < FPCGTaskId > & TaskExecutionDependencies
)
Parameters
| Name | Remarks |
|---|---|
| InOperation | Callback that returns true if the task is done, false otherwise. |
| SourceComponent | PCG component associated with this task. Can be null. |
| TaskExecutionDependencies | Task will wait on these tasks to execute and won't take their output data as input. |
ScheduleGeneric(TFunction< bool()>, TFunction< void()>, UPCGComponent *, const TArray< FPCGTaskId > &)
Description
General job scheduling
| Name | ScheduleGeneric |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Subsystems/PCGSubsystem.h |
| Include Path | #include "Subsystems/PCGSubsystem.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Subsystems/PCGSubsystem.cpp |
FPCGTaskId ScheduleGeneric
(
TFunction < bool> InOperation,
TFunction < void> InAbortOperation,
UPCGComponent * SourceComponent,
const TArray < FPCGTaskId > & TaskExecutionDependencies
)
Parameters
| Name | Remarks |
|---|---|
| InOperation | Callback that returns true if the task is done, false otherwise. |
| InAbortOperation | Callback that will be called if the generic task is cancelled for any reason. |
| SourceComponent | PCG component associated with this task. Can be null. |
| TaskExecutionDependencies | Task will wait on these tasks to execute and won't take their output data as input. |