Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGInstanceDataPackerBase
Description
Interprets Metadata TypeId and increments OutPackedCustomData.NumCustomDataFloats appropriately. Returns false if the type could not be interpreted.
| Name | AddTypeToPacking |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/InstanceDataPackers/PCGInstanceDataPackerBase.h |
| Include Path | #include "InstanceDataPackers/PCGInstanceDataPackerBase.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/InstanceDataPackers/PCGInstanceDataPackerBase.cpp |
UFUNCTION (BlueprintCallable, Category=InstancePacking)
bool AddTypeToPacking
(
int TypeId,
FPCGPackedCustomData & OutPackedCustomData
) const