Skip to main content

ss_runtime_set_speed_scale

Function ss_runtime_set_speed_scale 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_runtime_set_speed_scale( context: *mut c_void, speed_scale: c_float, )
Expand description

Playback speed as a multiple of the frame rate. 0.0 stops the playhead while ss_runtime_is_playing stays true, and a negative speed clamps to 0.0; direction is ss_runtime_set_playback_direction’s. It survives ss_runtime_setup_animation.