Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/InstanceDataPackers > API/Plugins/PCG/InstanceDataPackers/UPCGInstanceDataPackerBase > API/Plugins/PCG/InstanceDataPackers/UPCGInstanceDataPackerBase/PackCustomDataFr-
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/InstanceDataPackers/PCGInstanceDataPackerBase.h |
| Include | #include "InstanceDataPackers/PCGInstanceDataPackerBase.h" |
| Source | /Engine/Plugins/Experimental/PCG/Source/PCG/Private/InstanceDataPackers/PCGInstanceDataPackerBase.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;InstancePacking&41;
void PackCustomDataFromAttributes
&40;
const FPCGMeshInstanceList & InstanceList,
const UPCGMetadata &42; Metadata,
const TArray< FName > & AttributeNames,
FPCGPackedCustomData & OutPackedCustomData
&41; const
Remarks
Build a PackedCustomData by processing each attribute in order for each point in the InstanceList