merge MeshExportSettings to GltfExportSettings

This commit is contained in:
ousttrue
2021-06-29 20:01:03 +09:00
parent f07d1cf98b
commit 6cfdf81429
21 changed files with 62 additions and 97 deletions

View File

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