setFps(fps, modify_frame_count = True, preserve_keyframes = False, preserve_frame_start = False)
fps
Number of frames per second
modify_frame_count
Whether or not to adjust the number of frames to preserve the total time duration of the playback range.
preserve_keyframes
If true, keeps all keys on their current frames. Note that this will modify the speed of the animation.
preserve_frame_start
If true, adjusts the starting time of the playback in order to preserve the starting frame. The ending frame will also be preserved if modify_frame_count is False.
See also |