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::ApplyOnMultiAccessors
(
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 get from multiple accessor. ChunkSize influence the max number of values to get in one go with GetRange. Callback should have a signature: void(const T&... Values, int32 Index) Return false if it process nothing.