GLTFChannelTarget.cs 592 B

1234567891011121314151617181920
  1. using System.Runtime.Serialization;
  2. namespace GLTFExport.Entities
  3. {
  4. [DataContract]
  5. public class GLTFChannelTarget : GLTFProperty
  6. {
  7. /// <summary>
  8. /// The index of the node to target.
  9. /// </summary>
  10. [DataMember(EmitDefaultValue = false)]
  11. public int? node { get; set; }
  12. /// <summary>
  13. /// The name of the node's TRS property to modify, or the "weights" of the Morph Targets it instantiates.
  14. /// </summary>
  15. [DataMember(IsRequired = true)]
  16. public string path { get; set; }
  17. }
  18. }