Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements > API/Plugins/PCG/Elements/Metadata > API/Plugins/PCG/Elements/Metadata/PCG__Private__NAryOperation__Gat-
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/Metadata/PCGMetadataOpElementBase.h |
| Include | #include "Elements/Metadata/PCGMetadataOpElementBase.h" |
namespace PCG
{
namespace Private
{
namespace NAryOperation
{
template<typename... Callbacks, typename... Args>
bool PCG::Private::NAryOperation::Gather
(
PCGMetadataOps::FOperationData & InOperationData,
int32 StartIndex,
int32 Range,
const Options & InOptions,
const TTuple< Callbacks... > & InCallbacks,
int InputIndex,
Signature <> S,
Args &&... InArgs
)
}
}
}
Remarks
When Signature doesn't have any templated types anymore (Signature<>), we got all our input values packed in "InArgs", so it's time to compute our operation and set the outputs. To do so, we use Apply templated with the LastOutputIndex, and go backwards (last output to first output).