GLTFMesh.cs 480 B

1234567891011121314151617
  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. // Identifier shared between a babylon mesh and its instances
  12. public int idGroupInstance;
  13. }
  14. }