Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements > API/Plugins/PCG/Elements/UPCGBlueprintElement
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGExecuteBlueprint.h |
| Include | #include "Elements/PCGExecuteBlueprint.h" |
UFUNCTION (BlueprintImplementableEvent, Category="PCG|Flow Control")
TArray < FPCGPoint > VariableLoopBody
(
const FPCGContext & InContext,
const UPCGPointData * InData,
const FPCGPoint & InPoint,
UPCGMetadata * OutMetadata,
int64 Iteration
) const
Remarks
Multi-threaded loop that will be called on all points in InData. Can return a variable number of output points. All points will be added in the same order than in input. Will be called by Variable Loop function. Array of new points that will be added to the output point data.
Parameters
| Name | Description |
|---|---|
| InContext | Context of the execution |
| InData | Input point data. Constant, must not be modified. |
| InPoint | Point for the current iteration. Constant, must not be modified. |
| OutMetadata | Output metadata to write attribute to. Can be modified. |
| Iteration | Index of the current point. Must only be used to access input data, as this call is multi-threaded. It is not safe to access output data. |