Navigation
API > API/Plugins > API/Plugins/DataflowEditor > API/Plugins/DataflowEditor/Dataflow
References
| Module | DataflowEditor |
| Header | /Engine/Plugins/Experimental/Dataflow/Source/DataflowEditor/Public/Dataflow/DataflowSimulationGenerator.h |
| Include | #include "Dataflow/DataflowSimulationGenerator.h" |
Syntax
struct FDataflowTaskManager
Remarks
Simulation Task manager
Variables
| Type | Name | Description | |
|---|---|---|---|
| TUniquePtr< FAsyncTaskNotification > | AsyncNotification | Async notification | |
| std::atomic< bool > | bCancelled | Boolean to check if the simulation has been cancelled | |
| TObjectPtr< AChaosCacheManager > | CacheManager | Temporary cache manager created to run the simulation | |
| FDateTime | LastUpdateTime | Last updated time | |
| int32 | NumFrames | Number of frames to simulate | |
| std::atomic< int32 > | NumSimulatedFrames | Number of simulated frames | |
| TObjectPtr< AActor > | PreviewActor | Temporary cache manager created to run the simulation | |
| TSharedPtr< FDataflowSimulationResource > | SimulationResource | Simulation resource | |
| TUniquePtr< FAsyncTask< FDataflowSimulationTask > > | SimulationTask | Simulation task | |
| UWorld * | SimulationWorld | Temporary world created to run the simulation | |
| FDateTime | StartTime | Start time of the simulation |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AllocateSimulationResource
(
const FVector2f& TimeRange, |
Allocate the simulation resource from the properties | |
| void | Cancel the simulation generation | ||
| void | Free the simulation resource |