RectangleShape.getPoint

Get a point of the rectangle.

The result is undefined if index is out of the valid range.

class RectangleShape
override
getPoint
const
(
uint index
)

Parameters

index
Type: uint

Index of the point to get, in range [0 .. pointCount - 1]

Return Value

Type: Vector2f

Index-th point of the shape.

Meta