-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.ExportMesh
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Export mesh data to file
| Parameter | Default Value | Note |
|---|---|---|
| mesh | ||
| fileName |
| Condition | Return Value |
|---|---|
| (always) | number |
mesh = raylib.GenMeshCube(1, 1, 1)
result = raylib.ExportMesh(mesh, "cube.obj")
if result then
print "Mesh exported successfully"
else
print "Export failed"
end if
raylib.UnloadMesh mesh