ExportMeshAsCode method

bool ExportMeshAsCode(
  1. MeshD mesh,
  2. String fileName
)

Export mesh as code file (.h) defining multiple arrays of vertex attributes

Implementation

bool ExportMeshAsCode(
  MeshD mesh,
  String fileName,
) => run(
  () => _debugLabels.ExportMeshAsCode(mesh, fileName),
  () => _flat.ExportMeshAsCode(
    mesh,
    $.String$.ValueOrNull(fileName),
  ),
);