b2dMeshFaceVert

Category: 2D Overlay

Syntax:

b2dMeshFaceVert:Int(handle:Int, face:Int, corner:Int)


Parameters

Returns

Vertex index



Summary

The vertex at one corner of a face: an index into the arrays filled by b2dMeshCopyVertsX/Y/Z. Corners go round the face in order, so corners 0 to 3 are the four points to draw it with. An unknown handle, face or corner returns 0.

View detailed documentation online



Example
Print b2dMeshFaceVert(mesh, 0, 0)

See examples/Runtime/30 - Meshes.


BambooBasic © 2026 Michael Denathorn