STATE_animation_set_times

 

 


   time_for_each_frame: should be equal to STATE_animation_get_number_of_frames()
   before calling this function you should initialize the array ( DWORD time_for_each_frame[])
   the time is in hundreds of seconds.
   Returns OK or VR_ERROR
   Example:
  		time_for_each_frame[0]= 100;   The first frame will be shown for one second
  		time_for_each_frame[1]= 200;   The second frame will be shown for one second
  		STATE_animation_set_times(my_animation, time_for_each_frame, 2);
   

 

 

Go to page 1      Select API

 

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