Category: 2D Overlay
Syntax:
b2dMeshFaceR:Int(handle:Int, face:Int)
Int
Red channel (0..255) of a mesh face's base colour.
View detailed documentation online
Local r:Int = b2dMeshFaceR(mesh, f) Local g:Int = b2dMeshFaceG(mesh, f) Local b:Int = b2dMeshFaceB(mesh, f) b2dSetColor(r, g, b)
BambooBasic © 2026 Michael Denathorn