GLTFMesh.cs 407 B

12345678910111213141516
  1. using System.Runtime.Serialization;
  2. namespace GLTFExport.Entities
  3. {
  4. [DataContract]
  5. public class GLTFMesh : GLTFIndexedChildRootProperty
  6. {
  7. [DataMember (IsRequired = true)]
  8. public GLTFMeshPrimitive[] primitives { get; set; }
  9. [DataMember(EmitDefaultValue = false)]
  10. public float[] weights { get; set; }
  11. public GLTFNode gltfNode;
  12. }
  13. }