Navigation
API > API/Plugins > API/Plugins/DataLink
Constants are a no-input node that provide a struct instance that does not change in execution time
| Name | UDataLinkConstant |
| Type | class |
| Header File | /Engine/Plugins/VirtualProduction/DataLink/Source/DataLink/Public/Nodes/DataLinkConstant.h |
| Include Path | #include "Nodes/DataLinkConstant.h" |
Syntax
UCLASS (MinimalAPI, DisplayName="Constant", Category="Core")
class UDataLinkConstant : public UDataLinkNode
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UDataLinkNode → UDataLinkConstant
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DisplayName | FText | Nodes/DataLinkConstant.h |
|
|
| Instance | FInstancedStruct | Nodes/DataLinkConstant.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void SetStruct
(
const UScriptStruct* InStructType |
Nodes/DataLinkConstant.h |
Protected
Overridden from UDataLinkNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnBuildMetadata
(
FDataLinkNodeMetadata& Metadata |
Call to retrieve the metadata for this node | Nodes/DataLinkConstant.h | |
virtual void OnBuildPins
(
FDataLinkPinBuilder& Inputs, |
Call to setup the pins required by this node | Nodes/DataLinkConstant.h | |
virtual EDataLinkExecutionReply OnExecute
(
FDataLinkExecutor& InExecutor |
Execution logic of the node | Nodes/DataLinkConstant.h | |
virtual void OnFixupNode() |
Nodes/DataLinkConstant.h |