MCPcopy Create free account
hub / github.com/PerroEngine/Perro / add_node_from_picker

Function add_node_from_picker

perro_editor/res/scripts/scene/editor_nodes.rs:998–1009  ·  view source on GitHub ↗
(ctx: &mut ScriptContext<'_, API>, row: usize)

Source from the content-addressed store, hash-verified

996 "material",
997 format!(
998 "{}:mat[{}]",
999 state.active_asset_path, state.active_glb_mat_index
1000 ),
1001 );
1002 }
1003 }
1004 }
1005 apply_spawn_position(&mut data, state);
1006 let node = SceneNodeEntry {
1007 data,
1008 has_data_override: true,
1009 key,
1010 name: None,
1011 tags: Cow::Owned(Vec::new()),
1012 children: Cow::Owned(Vec::new()),

Callers 1

update_editor_shortcutsFunction · 0.85

Calls 2

add_nodeFunction · 0.85
nameMethod · 0.45

Tested by

no test coverage detected