Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGBlueprintElement
Description
Multi-threaded loop that will iterate on all points in InData. All points will be added in the same order than in input. Will be called by Point Loop function.
| Name | PointLoopBody |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGExecuteBlueprint.h |
| Include Path | #include "Elements/PCGExecuteBlueprint.h" |
UFUNCTION (BlueprintImplementableEvent, Category="PCG|Flow Control")
bool PointLoopBody
(
const FPCGContext & InContext,
const UPCGPointData * InData,
const FPCGPoint & InPoint,
FPCGPoint & OutPoint,
UPCGMetadata * OutMetadata,
int64 Iteration
) const
True if the point should be kept, False if not.
Parameters
| Name | Remarks |
|---|---|
| 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. |
| OutPoint | Point that will be added to the output data. Can 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. |