Navigation
API > API/Runtime > API/Runtime/DataflowEngine
Generic dataflow instance attachment implemented as a user asset data object so it can be embedded inside any asset that is a user-data container. This allows assets in modules that do not, or cannot know about dataflow (e.g. Engine module assets) to contain a dataflow attachment. Using a modular feature implementation this data can be grabbed as an asset opens and a plugin specific implementation can be used for the asset editor (see FDataflowPhysicsAssetEditorOverride)
| Name | UDataflowAttachment |
| Type | class |
| Header File | /Engine/Source/Runtime/Dataflow/Engine/Public/Dataflow/DataflowAttachment.h |
| Include Path | #include "Dataflow/DataflowAttachment.h" |
Syntax
UCLASS (MinimalAPI, Abstract)
class UDataflowAttachment :
public UAssetUserData ,
public IDataflowContentOwner ,
public IDataflowInstanceInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAssetUserData → UDataflowAttachment
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UDataflowAttachment() |
Dataflow/DataflowAttachment.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Instance | FDataflowInstance | Dataflow instance for the attachment when editing. | Dataflow/DataflowAttachment.h |
Functions
Public
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FString GetPreviewActorPath() |
Provides trhe path to the preview actor to be used in the corresponding Dataflow editor | Dataflow/DataflowAttachment.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostLoad() |
UObject. | Dataflow/DataflowAttachment.h |
Overridden from IDataflowContentOwner
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReadDataflowContent
(
const TObjectPtr< UDataflowBaseContent >& DataflowContent |
Interface to update a dataflow content instance from that owner | Dataflow/DataflowAttachment.h | |
virtual void WriteDataflowContent
(
const TObjectPtr< UDataflowBaseContent >& DataflowContent |
IDataflowContentOwner. | Dataflow/DataflowAttachment.h |
Overridden from IDataflowInstanceInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FDataflowInstance & GetDataflowInstance () |
Dataflow/DataflowAttachment.h | ||
virtual FDataflowInstance & GetDataflowInstance () |
Dataflow/DataflowAttachment.h |
Protected Virtual
Overridden from IDataflowContentOwner
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TObjectPtr< UDataflowBaseContent > CreateDataflowContent() |
IDataflowContentOwner. | Dataflow/DataflowAttachment.h |