Skip to main content

ss_player_fade_track

Function ss_player_fade_track 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn ss_player_fade_track( handle: *mut SsPlayer, track: u32, target: f32, duration_ms: f32, ) -> i32
Expand description

Drive track’s alpha to target over duration_ms. Fading track 0 to 0 settles the character onto the setup pose.

§Safety

handle must be a live handle or null.