Navigation
API > API/Runtime > API/Runtime/DataflowCore
FDataflowTerminalNode Base class for terminal nodes within the Dataflow graph.
Terminal Nodes allow for non-const access to UObjects as edges in the graph. They are used to push data out to asset or the world from the calling client. Terminals may not have outputs, they are only leaf nodes in the evaluation graph.
| Name | FDataflowTerminalNode |
| Type | struct |
| Header File | /Engine/Source/Runtime/Dataflow/Core/Public/Dataflow/DataflowTerminalNode.h |
| Include Path | #include "Dataflow/DataflowTerminalNode.h" |
Syntax
USTRUCT ()
struct FDataflowTerminalNode : public FDataflowNode
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDataflowNode → FDataflowTerminalNode
Derived Classes
FDataflowTerminalNode derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Dataflow/DataflowTerminalNode.h | |||
FDataflowTerminalNode
(
const UE::Dataflow::FNodeParameters& Param, |
Dataflow/DataflowTerminalNode.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FDataflowTerminalNode() |
Dataflow/DataflowTerminalNode.h |
Functions
Public
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Evaluate
(
UE::Dataflow::FContext& Context |
Evaluate | Dataflow/DataflowTerminalNode.h | |
virtual TObjectPtr< UObject > GetTerminalAsset() |
Return the terminal asset | Dataflow/DataflowTerminalNode.h | |
virtual void SetAssetValue
(
TObjectPtr< UObject > Asset, |
Error Checking Write the terminal node's evaluated value into the bound asset. | Dataflow/DataflowTerminalNode.h |
Overridden from FDataflowNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsA
(
FName InType |
Dataflow/DataflowTerminalNode.h | ||
virtual bool IsTerminal() |
Define is a node is a terminal type of node terminal nodes can be pulled from to generate content (see FDataflowTerminalNode ) or write results to a simulation for example ( see FDataflowSimulationNode ) The dataflow compiler also use this infromation to decide what part of the graph is a dead end and can be optimized out | Dataflow/DataflowTerminalNode.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UObject * GetOrCreateAsset
(
UE::Dataflow::FContext& Context, |
Dataflow/DataflowTerminalNode.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Dataflow/DataflowTerminalNode.h | |||
static FName StaticType() |
Dataflow/DataflowTerminalNode.h |