Navigation
API > API/Plugins > API/Plugins/DataflowEditor
Dataflow simulation generator
| Name | FDataflowSimulationGenerator |
| Type | class |
| Header File | /Engine/Plugins/Experimental/Dataflow/Source/DataflowEditor/Public/Dataflow/DataflowSimulationGenerator.h |
| Include Path | #include "Dataflow/DataflowSimulationGenerator.h" |
Syntax
class FDataflowSimulationGenerator : public FTickableEditorObject
Inheritance Hierarchy
- FTickableObjectBase → FTickableEditorObject → FDataflowSimulationGenerator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FDataflowSimulationGenerator() |
Dataflow/DataflowSimulationGenerator.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FDataflowSimulationGenerator() |
Dataflow/DataflowSimulationGenerator.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BlueprintClass | TSubclassOf< AActor > | Blueprint class used to spawn the actor | Dataflow/DataflowSimulationGenerator.h | |
| BlueprintTransform | FTransform | Blueprint transform used to spawn the actor | Dataflow/DataflowSimulationGenerator.h | |
| bSkeletalMeshVisibility | bool | Skeletal mesh visibility | Dataflow/DataflowSimulationGenerator.h | |
| CacheAsset | TObjectPtr< UChaosCacheCollection > | Cache asset to store the caches | Dataflow/DataflowSimulationGenerator.h | |
| CacheParams | FDataflowPreviewCacheParams | Cache params used to record simulation | Dataflow/DataflowSimulationGenerator.h | |
| DataflowContent | TObjectPtr< UDataflowBaseContent > | Dataflow content | Dataflow/DataflowSimulationGenerator.h | |
| GeneratorDeltaTime | float | Delta time for a frame | Dataflow/DataflowSimulationGenerator.h | |
| PendingAction | EDataflowGeneratorActions | Pending action to be send to the async thread | Dataflow/DataflowSimulationGenerator.h | |
| TaskManager | TSharedPtr< FDataflowTaskManager > | Task manager to run the async tasks | Dataflow/DataflowSimulationGenerator.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsSimulating() |
If the generator is running simulation | Dataflow/DataflowSimulationGenerator.h | |
void RequestGeneratorAction
(
EDataflowGeneratorActions Action |
Enqueue a generator action to be processed on the async thread | Dataflow/DataflowSimulationGenerator.h | |
void SetBlueprintClass
(
const TSubclassOf< AActor >& InBlueprintClass |
Set the blueprint class for cache recording | Dataflow/DataflowSimulationGenerator.h | |
void SetBlueprintTransform
(
const FTransform& InBlueprintTransform |
Set the blueprint transform for cache recording | Dataflow/DataflowSimulationGenerator.h | |
void SetCacheAsset
(
const TObjectPtr< UChaosCacheCollection >& InCacheAsset |
Set the cache asset for cache recording | Dataflow/DataflowSimulationGenerator.h | |
void SetCacheParams
(
const FDataflowPreviewCacheParams& InCacheParams |
Set the cache params for cache recording | Dataflow/DataflowSimulationGenerator.h | |
void SetDataflowContent
(
const TObjectPtr< UDataflowBaseContent >& InDataflowContent |
Set the dataflow content | Dataflow/DataflowSimulationGenerator.h | |
void SetDeltaTime
(
float InDeltaTime |
Set delta time | Dataflow/DataflowSimulationGenerator.h | |
void SetSkeletalMeshVisibility
(
const bool bInSkeletalMeshVisibility |
Set the skeletal mesh visibility | Dataflow/DataflowSimulationGenerator.h |
Overridden from FTickableObjectBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TStatId GetStatId() |
Dataflow/DataflowSimulationGenerator.h | ||
virtual ETickableTickType GetTickableTickType() |
Dataflow/DataflowSimulationGenerator.h | ||
virtual void Tick
(
float DeltaTime |
Dataflow/DataflowSimulationGenerator.h |