Navigation
API > API/Runtime > API/Runtime/DataflowSimulation > API/Runtime/DataflowSimulation/Dataflow
Inheritance Hierarchy
- UE::Dataflow::TEngineContext< UE::Dataflow::FContextSingle >
- TSimulationContext
References
| Module | DataflowSimulation |
| Header | /Engine/Source/Runtime/Experimental/Dataflow/Simulation/Public/Dataflow/DataflowSimulationContext.h |
| Include | #include "Dataflow/DataflowSimulationContext.h" |
Syntax
template<typename Base>
class TSimulationContext : public UE::Dataflow::TEngineContext< UE::Dataflow::FContextSingle >
Remarks
Simulation context that will be used by all the simulation nodes
Constructors
| Type | Name | Description | |
|---|---|---|---|
TSimulationContext
(
const TObjectPtr< UObject >& InOwner |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddSimulationProxy
(
const FString& ProxyType, |
Add simulation proxy to the context | |
| void | BuildGroupBits
(
const TArray< FString >& SimulationGroups, |
Build group bits based on the string array | |
DATAFLOW_CONTEXT_INTERNAL
(
UE::Dataflow::TEngineContext< Base >, |
|||
| float | GetDeltaTime () |
Get the delta time in seconds | |
| int32 | Get the last iteration index | ||
| void | GetSimulationProxies
(
const FString& ProxyType, |
Filter the physics solvers matching the groups | |
| float | Get the simulation time in seconds | ||
| void | GetTypedProxies
(
TArray< ProxyType* >& FilteredProxies |
Get the typed proxies | |
| int32 | NumSimulationProxies
(
const FString& ProxyType |
Return the number of physics solvers | |
| void | Pop the last level of iteration indices | ||
| void | Push another level of iteration indices | ||
| void | Register all the proxy groups used in the proxy | ||
| void | RemoveSimulationProxy
(
const FString& ProxyType, |
Remove simulation proxy from the context | |
| void | Reset all the simulation proxies | ||
| void | SetIterationIndex
(
const int32 IterationIndex |
Set the last iteration index | |
| void | SetTimingInfos
(
const float DeltaSeconds, |
Set the timing infos |