mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-25 12:05:08 -05:00
refactoring
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user