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")
bool PointLoopBody
(
const FPCGContext & InContext,
const UPCGPointData * InData,
const FPCGPoint & InPoint,
FPCGPoint & OutPoint,
UPCGMetadata * OutMetadata,
int64 Iteration
) const
Remarks
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. True if the point should be kept, False if not.
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. |
| 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. |