Shape.getPoint

Get a point of the shape.

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

class Shape
abstract const
getPoint
(
uint index
)

Parameters

index uint

Index of the point to get, in range [0 .. getPointCount() - 1]

Return Value

Type: Vector2f

Index-th point of the shape.

Meta