Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGDataFunctionLibrary
Description
Adds a data object to a given collection, simpler usage than making a PCGTaggedData object. InTags can be empty.
| Name | AddToCollection |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/PCGData.h |
| Include Path | #include "PCGData.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/PCGData.cpp |
UFUNCTION (BlueprintCallable, Category=Data, Meta=(ScriptMethod, AutoCreateRefTerm="InTags"))
static void AddToCollection
(
FPCGDataCollection & InCollection,
const UPCGData * InData,
FName InPinLabel,
TArray < FString > InTags
)