Skip to main content

ss_player_set_sub_frame_enabled

Function ss_player_set_sub_frame_enabled 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_player_set_sub_frame_enabled( handle: *mut SsPlayer, enabled: bool, )
Expand description

True (the default) draws between authored frames; false floors the frame that is drawn, pinning playback to whole ones.

The playhead keeps its fraction either way — ss_player_frame_no reports it unrounded — and so does the stepping of instance and effect children. This affects only what is drawn.

§Safety

handle must be a live handle or null.