ConvexShape.getPoint

Get the position of a point.

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

class ConvexShape
override const
getPoint
(
uint index
)

Parameters

index uint

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

Return Value

Type: Vector2f

Index-th point of the shape.

Meta