GLTFBuffer.cs 523 B

123456789101112131415161718
  1. using System.Collections.Generic;
  2. using System.Runtime.Serialization;
  3. namespace GLTFExport.Entities
  4. {
  5. [DataContract]
  6. public class GLTFBuffer : GLTFIndexedChildRootProperty
  7. {
  8. [DataMember(EmitDefaultValue = false)]
  9. public string uri { get; set; }
  10. [DataMember(IsRequired = true)]
  11. public int byteLength { get; set; }
  12. public List<byte> bytesList = new List<byte>();
  13. public List<GLTFBufferView> BufferViews = new List<GLTFBufferView>();
  14. }
  15. }