Navigation
API > API/Plugins > API/Plugins/PCG
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool PCGMetadataElementCommon::ApplyOnMultiAccessors
(
const TConstArrayView< IPCGAttributeAccessorKeys const* > MultiKeys, |
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 the multiple accessors. | Elements/Metadata/PCGMetadataElementCommon.h | |
bool PCGMetadataElementCommon::ApplyOnMultiAccessors
(
const IPCGAttributeAccessorKeys& Keys, |
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 the multiple accessors. | Elements/Metadata/PCGMetadataElementCommon.h |
PCGMetadataElementCommon::ApplyOnMultiAccessors(const TConstArrayView< IPCGAttributeAccessorKeys const >, const TConstArrayView< IPCGAttributeAccessor const >, Func &&, EPCGAttributeAccessorFlags, const int32, const int32)
Description
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 the multiple accessors. There can be 1 keys for all accessors or 1 per accessor, but in that case if Count is set to -1, it will use the first key for the number of elements to process. 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) / void(T... Values, int32 Index). Can return a bool to know if we need to continue. Return false if it process nothing.
| Name | PCGMetadataElementCommon::ApplyOnMultiAccessors |
| 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::ApplyOnMultiAccessors
(
const TConstArrayView< IPCGAttributeAccessorKeys const * > MultiKeys,
const TConstArrayView< IPCGAttributeAccessor const * > Accessors,
Func && InCallback,
EPCGAttributeAccessorFlags Flags,
const int32 ChunkSize,
const int32 Count
)
}
PCGMetadataElementCommon::ApplyOnMultiAccessors(const IPCGAttributeAccessorKeys &, const TConstArrayView< IPCGAttributeAccessor const * >, Func &&, EPCGAttributeAccessorFlags, const int32, const int32)
Description
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 the multiple accessors. 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) / void(T... Values, int32 Index). Can return a bool to know if we need to continue. Return false if it process nothing.
| Name | PCGMetadataElementCommon::ApplyOnMultiAccessors |
| 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::ApplyOnMultiAccessors
(
const IPCGAttributeAccessorKeys & Keys,
const TConstArrayView< IPCGAttributeAccessor const * > Accessors,
Func && InCallback,
EPCGAttributeAccessorFlags Flags,
const int32 ChunkSize,
const int32 Count
)
}