Skip to main content

build_scene_with_anim

Function build_scene_with_anim 

Source
pub fn build_scene_with_anim<'a>(
    children: &'a [ChildComponent],
    viewport: (f32, f32),
    anim: BuildAnimationCtx,
) -> BuiltScene<'a>
Expand description

Like build_scene but with an animation context. Convenience wrapper that uses the default root CSS (full-viewport flex column).