refactoring

This commit is contained in:
Masataka SUMI
2021-10-22 20:32:21 +09:00
parent d2e2f8403e
commit e8037d112c

View File

@@ -12,11 +12,6 @@ namespace VRM
{
public const Axes VrmSpecificationInverseAxis = Axes.Z;
protected override IMaterialExporter CreateMaterialExporter()
{
return new VRMMaterialExporter();
}
public static glTF Export(GltfExportSettings configuration, GameObject go, ITextureSerializer textureSerializer)
{
var gltf = new glTF();
@@ -40,6 +35,11 @@ namespace VRM
gltf.extensionsUsed.Add(glTF_VRM_extensions.ExtensionName);
}
protected override IMaterialExporter CreateMaterialExporter()
{
return new VRMMaterialExporter();
}
public override void ExportExtensions(ITextureSerializer textureSerializer)
{
// avatar