STATE_animation_get_number_of_frames

 

 


  Returns the number of frames in the animation.
   On Error returns 0
   Example: Say we have an animation of a runner. The animation is combined
   from 5 bitmaps series, the runner from the front,45 degrees, side, 135 degrees, and from the back
   (look how it is defined in the wld file, FRONT, FRONT_SIDED, SIDE, BACK).
   Every series must contain the same number of bitmaps.
   calling this function will return the number of bitmap in each series.

 

 

Go to page 1      Select API

 

Copyright © 2007 3DSTATE Corporation. www.3dstate.com