AnimationSet Class
       
           
          
Language: Visual Basic C# C++ JScript (Show All)  
         
      
      Encapsulates the minimum functionality required of an animation set by an animation controller.
 Advanced users might want to implement this class themselves to suit their specialized needs. For most users, however, the derived 
CompressedAnimationSet  and 
KeyframedAnimationSet  classes should suffice.
      
Definition
      
        
       
      Members Table
      
        
          The following table lists the members exposed by the 
         
        
          Events
          
            
              
                Event 
                Description 
               
              
                
                  Disposing 
                 
                Occurs when the Dispose  method is called or when the AnimationSet  object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime. 
               
            
           
          Methods
          
            
              
                Method 
                Description 
               
              
                
                  AnimationSet 
                 
                Initializes a new instance of the AnimationSet  class. 
               
              
                
                  Dispose 
                 
                Immediately releases the unmanaged resources used by the AnimationSet  object. 
               
              
                
                  Equals 
                 
                Returns a value that indicates whether the current instance is equal to a specified object. 
               
              
                
                  Finalize 
                 
                Allows the AnimationSet  object to free resources before it is destroyed by the garbage collector. 
               
              
                
                  GetAnimationIndex 
                 
                Retrieves the index of an animation, given its name. 
               
              
                
                  GetAnimationName 
                 
                Retrieves the name of an animation, given its index. 
               
              
                
                  GetCallback 
                 
                Retrieves information about a specific callback in an animation set. 
               
              
                
                  GetHashCode 
                 
                Returns the hash code for the current instance. 
               
              
                
                  GetObjectByValue 
                 
                This member supports the infrastructure for Microsoft DirectX 9.0 for Managed Code and is not intended to be used directly from your code. 
               
              
                
                  GetPeriodicPosition 
                 
                Returns the time position in the local timeframe of an animation set. 
               
              
                
                  GetScaleRotateTranslate 
                 
                Retrieves the scale, rotate, and translate (SRT) values of an animation set. 
               
              
                
                  op_Equality 
                 
                Compares the current instance of a class to another instance to determine whether they are the same. 
               
              
                
                  op_Inequality 
                 
                Compares the current instance of a class to another instance to determine whether they are different. 
               
              
                
                  raise_Disposing 
                 
                Raises the Microsoft.DirectX.Direct3D.AnimationSet.Disposing  event when called from within a derived class. 
               
              
                
                  UpdateUnmanagedPointer 
                 
                Updates the unmanaged pointer for this AnimationSet  object. This method supports the .NET Framework Infrastructure and is not intended to be used directly in your code.  
               
            
           
          Properties
          
            
              
                Property 
                Description 
               
              
                
                  Disposed 
                 
                Gets a value that indicates whether the object is disposed. 
               
              
                
                  Name 
                 
                Retrieves the name of an animation set. 
               
              
                
                  NumberAnimations 
                 
                Retrieves a value that indicates the number of animations in the animation set. 
               
              
                
                  Period 
                 
                Retrieves the period of an animation set . 
               
              
                
                  UnmanagedComPointer 
                 
                Returns the unmanaged Component Object Model (COM) ID3DXAnimationSet  interface pointer. 
               
            
           
         
       
      Inheritance Hierarchy
      
        
       
      Class Information
      
        
          
            Namespace 
            Microsoft.DirectX.Direct3D 
           
          
            Assembly 
            Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll) 
           
          
            Strong Name 
            Microsoft.DirectX.Direct3DX,
       Version=1.0.900.0,
       Culture=neutral,
       PublicKeyToken=d3231b57b74a1492 
           
        
       
      Send comments  about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
      
        
          Feedback?  Please provide us with your comments on this topic.
			 
        
	   		For more help, visit the DirectX Developer Center