CollisionPolygon.polygon

Array of vertices which define the polygon. Note: The returned value is a copy of the original. Methods which mutate the size or properties of the return value will not impact the original polygon. To change properties of the polygon, assign it to a temporary variable and make changes before reassigning the polygon member.

  1. PoolVector2Array polygon [@property getter]
    struct CollisionPolygon
    @nogc nothrow @property
    PoolVector2Array
    polygon
    ()
  2. PoolVector2Array polygon [@property setter]

Meta