1234567891011121314151617181920212223 |
- using System;
- using System.Runtime.Serialization;
- namespace BabylonExport.Entities
- {
- [DataContract]
- public class BabylonAnimationKey : IComparable<BabylonAnimationKey>
- {
- [DataMember]
- public int frame { get; set; }
- [DataMember]
- public float[] values { get; set; }
-
- public int CompareTo(BabylonAnimationKey other)
- {
- if (other == null)
- return 1;
- else
- return this.frame.CompareTo(other.frame);
- }
- }
- }
|