Navigation
API > API/Plugins > API/Plugins/DataLink
Script Nodes are a Blueprint Implementation of a Data Link Node. It does not inherit from UDataLinkNode, as the wrapper does this and forwards the logic execution here. This is done to allow for blueprints mutable nature (e.g. allowing users to set variables)
| Name | UDataLinkScriptNode |
| Type | class |
| Header File | /Engine/Plugins/Experimental/DataLink/Source/DataLink/Public/Nodes/Script/DataLinkScriptNode.h |
| Include Path | #include "Nodes/Script/DataLinkScriptNode.h" |
Syntax
UCLASS (Abstract, MinimalAPI, Blueprintable)
class UDataLinkScriptNode : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDataLinkScriptNode
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ExecutorWeak | TWeakPtr< FDataLinkExecutor > | Nodes/Script/DataLinkScriptNode.h | ||
| InputPins | TArray< FDataLinkScriptPin > | Nodes/Script/DataLinkScriptNode.h |
|
|
| Node | TObjectPtr< const UDataLinkNode > | Nodes/Script/DataLinkScriptNode.h | ||
| OutputPin | FDataLinkScriptPin | Nodes/Script/DataLinkScriptNode.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Execute
(
const UDataLinkNode* InNode, |
Nodes/Script/DataLinkScriptNode.h | ||
void Fail() |
Called to fail execution | Nodes/Script/DataLinkScriptNode.h |
|
bool GetInputData
(
FInstancedStruct& InputData, |
Retrieves the input data as an Instanced Struct | Nodes/Script/DataLinkScriptNode.h |
|
bool GetInputDataWildcard
(
int32& InputData, |
Retrieves the input data as a Wildcard | Nodes/Script/DataLinkScriptNode.h |
|
void OnExecute() |
Nodes/Script/DataLinkScriptNode.h |
|
|
bool Succeed
(
const FInstancedStruct& OutputData |
Called to move to the next node to execute (or finish if last node) providing the output data as an instanced struct | Nodes/Script/DataLinkScriptNode.h |
|
bool SucceedWildcard
(
int32 OutputData |
Called to move to the next node to execute (or finish if last node) and providing the output data as a wildcard | Nodes/Script/DataLinkScriptNode.h |
|
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UWorld * GetWorld() |
Nodes/Script/DataLinkScriptNode.h |