Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements > API/Plugins/PCG/Elements/Metadata
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/Metadata/PCGMetadataElementCommon.h |
| Include | #include "Elements/Metadata/PCGMetadataElementCommon.h" |
namespace PCGMetadataElementCommon
{
template<typename... T, typename Func>
bool PCGMetadataElementCommon::ApplyOnMultiAccessorsRange
(
const IPCGAttributeAccessorKeys & Keys,
const TArray < const IPCGAttributeAccessor * > & Accessors,
Func && InCallback,
EPCGAttributeAccessorFlags Flags,
const int32 ChunkSize,
const int32 Count
)
}
Remarks
Iterate over the full range of the keys (if Count is negative, otherwise, as many times as Count), calling the callback with values ranges get from the multiple accessors. Keys needs to be the same for all accessors. ChunkSize influence the max number of values to get in one go with GetRange. Callback should have a signature: void(const TArrayView