exportMesh function

bool exportMesh(
  1. Mesh mesh,
  2. String fileName
)

Export mesh data to file, returns true on success.

Implementation

bool exportMesh(Mesh mesh, String fileName) {
  return library.ExportMesh(mesh.ref, string.toNative(fileName));
}