STATE_animation_get_frame_time

 

 


  Get the duration of the given frame. (in hundreds of seconds)
   frame_index: 0 means the first frame
  			    1 means the second frame etc ...
   to get the last frame frame_index should be equal to the numbers of frames minus one.
  For Example:
  	time=STATE_animation_get_frame_time(my_anim,0);    This would return the time
  												   in hundreds of second that
  												   the first bitmap will be shown
  												   before it replaced by the second bitmap \ frame.

 

 

Go to page 1      Select API

 

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