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]
  2. PoolVector2Array polygon [@property setter]
    struct CollisionPolygon
    @nogc nothrow @property
    void
    polygon
    (
    PoolVector2Array v
    )

Meta