b2dMeshVertCount

Category: 2D Overlay

Syntax:

b2dMeshVertCount:Int(handle:Int)


Parameters

Returns

Number of vertices



Summary

The number of vertices in the mesh — the size the arrays passed to b2dMeshCopyVertsX/Y/Z must be at least. An unknown handle returns 0.

View detailed documentation online



Example
Print b2dMeshVertCount(mesh)

See examples/Runtime/30 - Meshes.


BambooBasic © 2026 Michael Denathorn