Navigation
API > API/Plugins > API/Plugins/PCG
Description
Iterate over the full range of the keys (if Count is negative, otherwise, as many times as Count), calling the callback with values range get from the accessor. ChunkSize influence the max number of values to get in one go with GetRange. Callback should have a signature: void(const TArrayView
| Name | PCGMetadataElementCommon::ApplyOnAccessorRange |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/Metadata/PCGMetadataElementCommon.h |
| Include Path | #include "Elements/Metadata/PCGMetadataElementCommon.h" |
namespace PCGMetadataElementCommon
{
template<typename T, typename Func>
bool PCGMetadataElementCommon::ApplyOnAccessorRange
(
const IPCGAttributeAccessorKeys & Keys,
const IPCGAttributeAccessor & Accessor,
Func && Callback,
EPCGAttributeAccessorFlags Flags,
const int32 ChunkSize,
const int32 Count
)
}