init
This commit is contained in:
21
Assets/GLTFUtility-master/Scripts/Spec/GLTFAsset.cs
Normal file
21
Assets/GLTFUtility-master/Scripts/Spec/GLTFAsset.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Newtonsoft.Json;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Scripting;
|
||||
|
||||
namespace Siccity.GLTFUtility {
|
||||
// https://github.com/KhronosGroup/glTF/blob/master/specification/2.0/README.md#asset-1
|
||||
/// <summary> Metadata about the glTF asset </summary>
|
||||
[Preserve] public class GLTFAsset {
|
||||
/// <summary> A copyright message suitable for display to credit the content creator. </summary>
|
||||
public string copyright;
|
||||
/// <summary> Tool that generated this glTF model. Useful for debugging. </summary>
|
||||
public string generator;
|
||||
/// <summary> The glTF version that this asset targets. </summary>
|
||||
[JsonProperty(Required = Required.Always)] public string version;
|
||||
/// <summary> The minimum glTF version that this asset targets. </summary>
|
||||
public string minVersion;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user