diff --git a/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs b/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs index b689ff4cc..72ebd7ce7 100644 --- a/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs +++ b/Assets/VRM10/Runtime/IO/Vrm10Exporter.cs @@ -11,6 +11,8 @@ namespace UniVRM10 { public class Vrm10Exporter : IDisposable { + public const string VRM_SPEC_VERSION = "1.0-beta"; + public readonly Vrm10Storage Storage = new Vrm10Storage(); public readonly string VrmExtensionName = "VRMC_vrm"; @@ -218,6 +220,7 @@ namespace UniVRM10 gltfExporter.FixName(Storage.Gltf); } + /// /// VRMコンポーネントのエクスポート /// @@ -247,6 +250,7 @@ namespace UniVRM10 var vrm = new UniGLTF.Extensions.VRMC_vrm.VRMC_vrm { + SpecVersion = VRM_SPEC_VERSION, Humanoid = new UniGLTF.Extensions.VRMC_vrm.Humanoid { HumanBones = new UniGLTF.Extensions.VRMC_vrm.HumanBones