Merge pull request #1317 from ousttrue/fix10/spec_version

1.0-beta
This commit is contained in:
ousttrue
2021-10-15 18:06:53 +09:00
committed by GitHub

View File

@@ -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);
}
/// <summary>
/// VRMコンポーネントのエクスポート
/// </summary>
@@ -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