Skip to main content

select_scene

Function select_scene 

Source
pub fn select_scene(app: &App, name: Option<&str>) -> Result<Scene>
Available on crate feature cmd-render and non-target_family=wasm only.
Expand description

Select one scene of the project.

If name is omitted and the project contains exactly one scene, that scene is returned. If the project contains multiple scenes, the caller must choose one and a list of available scenes is included in the error.