unreal.PCGPolygon2DData

class unreal.PCGPolygon2DData(outer: Object | None = None, name: Name | str = 'None')

Bases: PCGPolyLineData

Data representing a single 2D polygon with a 3D transform (for spatial operations).

C++ Source:

  • Plugin: PCG

  • Module: PCG

  • File: PCGPolygon2DData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • keep_zero_density_points (bool): [Read-Write]

  • target_actor (Actor): [Read-Write] Recipient of any artifacts generated using this data.