VRMExporterConfiguration to MeshExportSettings

This commit is contained in:
ousttrue
2020-10-01 17:04:27 +09:00
parent d721e9a8b1
commit d6623be68b
10 changed files with 49 additions and 91 deletions

View File

@@ -90,7 +90,7 @@ namespace VRM.Samples
return;
}
var vrm = VRMExporter.Export(m_model);
var vrm = VRMExporter.Export(UniGLTF.MeshExportSettings.Default, m_model);
var bytes = vrm.ToGlbBytes();
File.WriteAllBytes(path, bytes);
Debug.LogFormat("export to {0}", path);