Navigation
API > API/Runtime > API/Runtime/DataflowSimulation > API/Runtime/DataflowSimulation/Dataflow
Inheritance Hierarchy
- UTickableWorldSubsystem
- UDataflowSimulationManager
References
| Module | DataflowSimulation |
| Header | /Engine/Source/Runtime/Experimental/Dataflow/Simulation/Public/Dataflow/DataflowSimulationManager.h |
| Include | #include "Dataflow/DataflowSimulationManager.h" |
Syntax
UCLASS ()
class UDataflowSimulationManager : public UTickableWorldSubsystem
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddSimulationInterface
(
IDataflowSimulationInterface* SimulationInterface |
Add a dataflow simulation interface to the manager | |
| void | AdvanceSimulationProxies
(
const float DeltaTime, |
Advance in time the registered simulation data (PT) | |
| void | Complete all the simulation tasks | ||
| void | Deinitialize () |
||
| bool | DoesSupportWorldType
(
const EWorldType::Type WorldType |
||
| TSharedPtr< UE::Dataflow::FDataflowSimulationContext > | GetSimulationContext
(
const TObjectPtr< UDataflow >& DataflowAsset |
Get the simulation context for a given asset | |
| TStatId | GetStatId () |
||
| ETickableTickType | |||
| bool | HasSimulationInterface
(
const IDataflowSimulationInterface* SimulationInterface |
Check if the manager has a simulation interface | |
| void | Initialize
(
FSubsystemCollectionBase& Collection |
||
| void | Init all the simulation interfaces | ||
| bool | |||
| void | OnShutdown () |
Static function to remove world delegates | |
| void | OnStartup () |
Static function to add world delegates | |
| void | ReadSimulationInterfaces
(
const float DeltaTime, |
Read the simulation interfaces and Write all the data to the simulation proxies (to be send from GT->PT) | |
| void | RemoveSimulationInterface
(
const IDataflowSimulationInterface* SimulationInterface |
Remove a dataflow simulation interface from the manager | |
| void | Reset all the simulation interfaces | ||
| void | SetSimulationEnabled
(
const bool bSimulationEnabled |
Set the simulation flag to enable/disable the simulation | |
| void | SetSimulationStepping
(
const bool bSimulationStepping |
Set the simulation scene stepping bool | |
| void | StartSimulationTasks
(
const float DeltaTime, |
Start the simulation tasks given a delta time | |
| void | Tick
(
float DeltaTime |
||
| void | WriteSimulationInterfaces
(
const float DeltaTime, |
Read all the data from the simulation proxies and write the result onto the interfaces (received from PT->GT) |
Constants
| Name | Description |
|---|---|
| OnCreatePhysicsStateHandle | Static delegate for physics state creation |
| OnDestroyPhysicsStateHandle | Static delegate for physics state destruction |
| OnObjectPropertyChangedHandle | Static delegate for object property changed |
| OnWorldPostActorTick | Static delegate for post actor tick |