getVert method

Vector2 getVert(
  1. int index
)

Get the @c ith vertex of a polygon shape.

Implementation

Vector2 getVert(int index) => bindings.cpPolyShapeGetVert(_shape.toPointer, index).toVector2();