parseMesh static method

List<int> parseMesh(
  1. Mesh mesh, [
  2. PLYOptions? options
])

Implementation

static List<int> parseMesh(Mesh mesh, [PLYOptions? options]){
  options ??= PLYOptions();
  if(options.type == ExportTypes.ascii){
    return _parseMeshAscii(mesh,true,options).file;
  }
  return _parseMeshBinary(mesh,true,options).file;
}