Navigation
API > API/Plugins > API/Plugins/ChaosRigidAssetEngine
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/Plugins/Experimental/ChaosRigidAsset/Source/ChaosRigidAssetEngine/Public/DataflowAttachment.h |
| Include Path | #include "DataflowAttachment.h" |
Syntax
UCLASS ()
class UDataflowAttachment :
public UAssetUserData ,
public IDataflowContentOwner ,
public IDataflowInstanceInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UAssetUserData → UDataflowAttachment
Implements Interfaces
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Instance | FDataflowInstance | Dataflow instance for the attachment when editing. | DataflowAttachment.h |
Functions
Public
Overridden from IDataflowContentOwner
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReadDataflowContent
(
const TObjectPtr< UDataflowBaseContent >& DataflowContent |
DataflowAttachment.h | ||
virtual void WriteDataflowContent
(
const TObjectPtr< UDataflowBaseContent >& DataflowContent |
IDataflowContentOwner. | DataflowAttachment.h |
Overridden from IDataflowInstanceInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FDataflowInstance & GetDataflowInstance () |
DataflowAttachment.h | ||
virtual FDataflowInstance & GetDataflowInstance () |
DataflowAttachment.h |
Protected
Overridden from IDataflowContentOwner
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TObjectPtr< UDataflowBaseContent > CreateDataflowContent() |
IDataflowContentOwner. | DataflowAttachment.h |