Skip to main content

import_into

Function import_into 

Source
pub fn import_into(
    engine: &mut Engine,
    label: &str,
    layers: &[(String, Option<Color>)],
    entities: Vec<(usize, NewEntity)>,
) -> Result<CommitReport, EngineError>
Expand description

Add imported layers and entities to an engine in one transaction (one undo step).