b2dMeshCopyVertsX

Category: 2D Overlay

Syntax:

b2dMeshCopyVertsX:Void(handle:Int, out:Double[])


Parameters

Returns

Void



Summary

Bulk-copies the mesh's current-pose vertex X coordinates into a Double array.

View detailed documentation online



Example
Global mvx:Double[4096]
Global mvy:Double[4096]
Global mvz:Double[4096]
b2dMeshAnimate(mesh, fa, fb, t)      ; set the pose (omit for static)
b2dMeshCopyVertsX(mesh, mvx)
b2dMeshCopyVertsY(mesh, mvy)
b2dMeshCopyVertsZ(mesh, mvz)

BambooBasic © 2026 Michael Denathorn