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/VirtualProduction/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 | ||
void FixupNode() |
Called when the node has been compiled to fix data to be valid to use at runtime | DataLinkNode.h | |
TConstArrayView< FDataLinkPin > GetInputPins() |
DataLinkNode.h | ||
const UScriptStruct * GetInstanceStruct() |
DataLinkNode.h | ||
TConstArrayView< FDataLinkPin > GetOutputPins() |
DataLinkNode.h | ||
void Stop
(
const FDataLinkExecutor& InExecutor |
Called when the node is still executing and is forced to stop execution and clean up its resources | 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 | |
virtual void OnFixupNode() |
DataLinkNode.h | ||
virtual void OnStop
(
const FDataLinkExecutor& InExecutor |
Called when the node is still executing and is forced to stop execution and clean up its resources | DataLinkNode.h |