Skip to main content

effect

Function effect 

Source
fn effect(index: u32, axis: u32, progress: f64, spread: f64) -> Deform
Expand description

The effect at index in Deform::all, with the parameters given.

Out of range falls back to the first effect rather than refusing: the page can be older than the engine embedded in it, and a preview that renders the wrong effect is a better failure than one that renders nothing.