From ab8c19060c997fbf14edf59e69cba9ec4bc9c843 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Wed, 26 Jan 2022 19:57:10 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=A1=E3=83=B3=E3=83=88=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/VRM10/Runtime/IO/Vrm10Data.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/VRM10/Runtime/IO/Vrm10Data.cs b/Assets/VRM10/Runtime/IO/Vrm10Data.cs index 556cc0a72..fe122898d 100644 --- a/Assets/VRM10/Runtime/IO/Vrm10Data.cs +++ b/Assets/VRM10/Runtime/IO/Vrm10Data.cs @@ -49,16 +49,16 @@ namespace UniVRM10 } /// - /// Parse もしくは Migration を試みる。 + /// vrm1 をパースする。vrm0 からのマイグレートもできる。 /// /// /// /// - /// + /// 成功した場合非 null + /// doMigrate==true の場合、関連情報が入る + /// GltfDataを作成できたときは Return するのでDisposeすること public static GltfData ParseOrMigrate(string path, byte[] bytes, bool doMigrate, out Vrm10Data vrm1Data, out MigrationData migration) { - // 成功した場合はユーザーが Dispose する。 - // 失敗した場合はこの関数が始末する。 var data = new GlbLowLevelParser(path, bytes).Parse(); byte[] migrated = default; byte[] migratedBytes = null;