GLTFObject.cs 849 B

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using Newtonsoft.Json;
  4. using Newtonsoft.Json.Linq;
  5. using UnityEngine;
  6. using UnityEngine.Scripting;
  7. namespace Siccity.GLTFUtility {
  8. [Preserve] public class GLTFObject {
  9. public int? scene;
  10. [JsonProperty(Required = Required.Always)] public GLTFAsset asset;
  11. public List<GLTFScene> scenes;
  12. public List<GLTFNode> nodes;
  13. public List<GLTFMesh> meshes;
  14. public List<GLTFAnimation> animations;
  15. public List<GLTFBuffer> buffers;
  16. public List<GLTFBufferView> bufferViews;
  17. public List<GLTFAccessor> accessors;
  18. public List<GLTFSkin> skins;
  19. public List<GLTFTexture> textures;
  20. public List<GLTFImage> images;
  21. public List<GLTFMaterial> materials;
  22. public List<GLTFCamera> cameras;
  23. public List<string> extensionsUsed;
  24. public List<string> extensionsRequired;
  25. public JObject extras;
  26. }
  27. }