Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGSubsystem
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGTaskId ScheduleGenericWithContext
(
TFunction< bool(FPCGContext*)> InOperation, |
General job scheduling with context | Subsystems/PCGSubsystem.h | |
FPCGTaskId ScheduleGenericWithContext
(
TFunction< bool(FPCGContext*)> InOperation, |
General job scheduling with context | Subsystems/PCGSubsystem.h |
ScheduleGenericWithContext(TFunction< bool(FPCGContext )>, UPCGComponent , const TArray< FPCGTaskId > &, const TArray< FPCGTaskId > &)
Description
General job scheduling with context
| Name | ScheduleGenericWithContext |
| 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 ScheduleGenericWithContext
(
TFunction < bool *)> InOperation,
UPCGComponent * SourceComponent,
const TArray < FPCGTaskId > & TaskExecutionDependencies,
const TArray < FPCGTaskId > & TaskDataDependencies
)
Parameters
| Name | Remarks |
|---|---|
| InOperation | Callback that takes a Context as argument and 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. |
| TaskDataDependencies | Task will wait on these tasks to execute and will take their output data as input. |
ScheduleGenericWithContext(TFunction< bool(FPCGContext )>, TFunction< void(FPCGContext )>, UPCGComponent *, const TArray< FPCGTaskId > &, const TArray< FPCGTaskId > &)
Description
General job scheduling with context
| Name | ScheduleGenericWithContext |
| 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 ScheduleGenericWithContext
(
TFunction < bool *)> InOperation,
TFunction < void *)> InAbortOperation,
UPCGComponent * SourceComponent,
const TArray < FPCGTaskId > & TaskExecutionDependencies,
const TArray < FPCGTaskId > & TaskDataDependencies
)
Parameters
| Name | Remarks |
|---|---|
| InOperation | Callback that takes a Context as argument and 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. |
| TaskDataDependencies | Task will wait on these tasks to execute and will take their output data as input. |