Axiom.Animating.Skeleton.GetAnimation C# (CSharp) Метод

GetAnimation() публичный Метод

Returns the animation with the specified name.
public GetAnimation ( string name ) : Animation
name string Name of the animation to retrieve.
Результат Animation
		public virtual Animation GetAnimation( string name )
		{
			if ( !animationList.ContainsKey( name ) )
			{
				return null;
				// throw new Exception("Animation named '" + name + "' is not part of this skeleton.");
			}

			return animationList[ name ];
		}

Usage Example

 public static void CleanupAnimation(Skeleton skel, string anim_name)
 {
     Animation anim = skel.GetAnimation(anim_name);
     CleanupAnimation(skel, anim);
 }
All Usage Examples Of Axiom.Animating.Skeleton::GetAnimation