/// <summary>
 /// Constructor
 /// </summary>
 /// <param name="data">The asset data for the custom animation.</param>
 public AvatarAnimationWrapper( CustomAvatarAnimationData data )
 {
     animation = null;
     customAnimation = new CustomAvatarAnimation( data.Name, data.Length, data.Keyframes );
     customAnimation.CurrentPosition = TimeSpan.Zero;
     customID = data.Name;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="preset">The specified standard animation.</param>
 public AvatarAnimationWrapper( AvatarAnimationPreset preset )
 {
     customAnimation = null;
     animation = new AvatarAnimation( preset );
     animation.CurrentPosition = TimeSpan.Zero;
     standardID = preset;
 }