liu.yan Posted May 10, 2019 Posted May 10, 2019 Is animation frame time exist in the animation file? In animation file format doc, I can't find that except animation frames num.
javier.serrano Posted May 10, 2019 Posted May 10, 2019 Hi, animation duration time depends on the fps you play the animaton. You can get total duration time like this: int num_frames; //Animation total frame count float animation_fps; //Your animation playing speed float total_time_in_seconds = float(num_frames) / animation_fps; Hope this helps
Recommended Posts