Skip to main content

normalized_time

Function normalized_time 

Source
pub fn normalized_time(state: &CompiledState, clock: f32, params: &[f32]) -> f32
Expand description

A state’s normalized time in [0, 1]: the fraction of one full pass covered by the clock. Looping states report the fraction within the current pass, so an exit_time gate re-opens every loop; a non-looping state saturates at one. Blendspace passes are measured against the weight-averaged member duration at the current parameters.