Navigation
API > API/Plugins > API/Plugins/DataLink
Base class for nodes in a data link graph, that handles the logic of the node. The instance data of the node can be gotten through the FDataLinkExecutor. Each node consists of an Input struct, and an Output struct. A data link node can be connected to another so long as the output struct of one is compatible with the input struct of the other.
| Name | UDataLinkNode |
| Type | class |
| Header File | /Engine/Plugins/Experimental/DataLink/Source/DataLink/Public/DataLinkNode.h |
| Include Path | #include "DataLinkNode.h" |
Syntax
UCLASS (Abstract, MinimalAPI)
class UDataLinkNode : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDataLinkNode
Derived Classes
UDataLinkNode derived class hierarchy
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| InputPins | TArray< FDataLinkPin > | Input Pins to start the execution on this Data Link node | DataLinkNode.h | |
| OutputPins | TArray< FDataLinkPin > | Output pins that feed the result of this node's execution | DataLinkNode.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildMetadata
(
FDataLinkNodeMetadata& OutMetadata |
DataLinkNode.h | ||
void BuildPins
(
TArray< FDataLinkPin >& OutInputPins, |
DataLinkNode.h | ||
void Execute
(
FDataLinkExecutor& InExecutor |
DataLinkNode.h | ||
TConstArrayView< FDataLinkPin > GetInputPins() |
DataLinkNode.h | ||
const UScriptStruct * GetInstanceStruct() |
DataLinkNode.h | ||
TConstArrayView< FDataLinkPin > GetOutputPins() |
DataLinkNode.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnBuildMetadata
(
FDataLinkNodeMetadata& Metadata |
Call to retrieve the metadata for this node | DataLinkNode.h | |
virtual void OnBuildPins
(
FDataLinkPinBuilder& Inputs, |
Call to setup the pins required by this node | DataLinkNode.h | |
virtual EDataLinkExecutionReply OnExecute
(
FDataLinkExecutor& InExecutor |
Execution logic of the node | DataLinkNode.h |