@@ -18,6 +18,14 @@ struct FPCGExBlendingDetails;
1818struct FPCGExCarryOverDetails ;
1919
2020
21+ UENUM (BlueprintType)
22+ enum class EPCGExClipper2EndpointType : uint8
23+ {
24+ None = 0 UMETA (DisplayName = " None" ),
25+ Start = 1 UMETA (DisplayName = " Start" ),
26+ End = 2 UMETA (DisplayName = " End" ),
27+ };
28+
2129UENUM (BlueprintType)
2230enum class EPCGExClipper2JoinType : uint8
2331{
@@ -277,6 +285,26 @@ class PCGEXELEMENTSCLIPPER2_API UPCGExClipper2ProcessorSettings : public UPCGExP
277285 UPROPERTY (BlueprintReadWrite, EditAnywhere, Category = " Settings|Output|Tagging" , meta=(EditCondition=" bTagHoles" ))
278286 FString HoleTag = TEXT (" Hole" );
279287
288+ /* * Write a flag marking intersection points (points created by Clipper2 at path crossings). */
289+ UPROPERTY (BlueprintReadWrite, EditAnywhere, Category = " Settings|Output|Flags" , meta = (PCG_Overridable, InlineEditConditionToggle))
290+ bool bFlagIntersections = false ;
291+
292+ /* * Name of the boolean attribute for intersection points */
293+ UPROPERTY (BlueprintReadWrite, EditAnywhere, Category = " Settings|Output|Flags" , meta = (PCG_Overridable, EditCondition=" bFlagIntersections" ))
294+ FName IntersectionFlagName = " IsIntersection" ;
295+
296+ /* * Write a flag marking path endpoint (start/end) points. */
297+ UPROPERTY (BlueprintReadWrite, EditAnywhere, Category = " Settings|Output|Flags" , meta = (PCG_Overridable, InlineEditConditionToggle))
298+ bool bFlagEndpoints = false ;
299+
300+ /* * Name of the int32 attribute for path endpoint type */
301+ UPROPERTY (BlueprintReadWrite, EditAnywhere, Category = " Settings|Output|Flags" , meta = (PCG_Overridable, EditCondition=" bFlagEndpoints" ))
302+ FName EndpointFlagName = " EndpointType" ;
303+
304+ /* * Pick which value will be written for each endpoint type. */
305+ UPROPERTY (BlueprintReadWrite, EditAnywhere, Category = " Settings|Output|Flags" , EditFixedSize, meta = (ReadOnlyKeys, DisplayName=" └─ Mapping" , EditCondition=" bFlagEndpoints" , HideEditConditionToggle))
306+ TMap<EPCGExClipper2EndpointType, int32> EndpointTypeValueMapping;
307+
280308 /* * (DEBUG) If enabled, performs a union of all paths in the group before proceeding to the operation */
281309 UPROPERTY (BlueprintReadWrite, EditAnywhere, Category = Settings, meta = (PCG_NotOverridable), AdvancedDisplay)
282310 bool bUnionGroupBeforeOperation = false ;
0 commit comments