19.7.2 numVerts

nv = physics.PolyShape:numVerts()

Parameter

Type

Description

self

in physics.PolyShape

The input PolyShape

nv

out number

The number of vertices in the PolyShape

Returns the number of vertices in the table of polygon vertices.

Introduced in platform.apiLevel = '2.0'