unreal.PCGPolygonOperation

class unreal.PCGPolygonOperation

Bases: EnumBase

EPCGPolygon Operation

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGPolygon2DOperation.h

CUT_WITH_PATHS: PCGPolygonOperation = Ellipsis

Cuts polygons with paths by completing them using the polygon bounds. If both ends of the path are not outside the input polygons, the results might be incorrect.

Type:

6

DIFFERENCE: PCGPolygonOperation = Ellipsis

Computes the difference between each input polygon and the union of the clip polygons.

Type:

1

EXCLUSIVE_OR: PCGPolygonOperation = Ellipsis

Computes the exclusive OR of each input polygon and the union of the clip polygons.

Type:

5

INNER_INTERSECTION: PCGPolygonOperation = Ellipsis

Computes the intersection between all the input polygons.

Type:

4

INTERSECTION: PCGPolygonOperation = Ellipsis

Computes the intersection of each input polygon with the union of the clip polygons.

Type:

2

PAIRWISE_INTERSECTION: PCGPolygonOperation = Ellipsis

Computes the intersection of each input polygon and each clip polygon.

Type:

3

UNION: PCGPolygonOperation = Ellipsis

Computes the union of all the input polygons

Type:

0