Navigation
API > API/Plugins > API/Plugins/DataLink
Sink that caches node data to be reusable by nodes with the same logic (i.e. "class") and input data
| Name | FDataLinkSink |
| Type | struct |
| Header File | /Engine/Plugins/VirtualProduction/DataLink/Source/DataLink/Public/DataLinkSink.h |
| Include Path | #include "DataLinkSink.h" |
Syntax
struct FDataLinkSink
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedDataMap | TMap< FDataLinkSinkKey, FInstancedStruct > | Map of the Node & Input Data to the Cached Data This stores output data for Input data regardless if it's hashable or not. | DataLinkSink.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddStructReferencedObjects
(
FReferenceCollector& InCollector |
DataLinkSink.h | ||
T & FindOrAddCachedData
(
const FDataLinkNodeInstance& InNodeInstance |
DataLinkSink.h | ||
FInstancedStruct & FindOrAddCachedData
(
const FDataLinkNodeInstance& InNodeInstance, |
Returns the output data view that matches the node class and the settings within the input data view. | DataLinkSink.h |