From 8a45292f6cd97eb3008b0678fe01791164905bd6 Mon Sep 17 00:00:00 2001 From: 0b5vr <0b5vr@0b5vr.com> Date: Tue, 11 Oct 2022 18:17:50 +0900 Subject: [PATCH] feature: add third argument `vrmMeta` to static Vrm10Exporter.Export --- Assets/VRM10/Runtime/IO/Vrm10Exporter.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs b/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs index a94f62ed0..e93cbcbf1 100644 --- a/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs +++ b/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs @@ -772,7 +772,7 @@ namespace UniVRM10 /// /// /// - public static byte[] Export(GameObject go, ITextureSerializer textureSerializer = null) + public static byte[] Export(GameObject go, ITextureSerializer textureSerializer = null, VRM10ObjectMeta vrmMeta = null) { using (var arrayManager = new NativeArrayManager()) { @@ -788,7 +788,7 @@ namespace UniVRM10 var option = new VrmLib.ExportArgs { }; - exporter10.Export(go, model, converter, option); + exporter10.Export(go, model, converter, option, vrmMeta); return exporter10.Storage.ToGlbBytes(); } }