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

Function set_log

perro_editor/res/scripts/ui/editor_ui.rs:3637–3642  ·  view source on GitHub ↗
(ctx: &mut ScriptContext<'_, API>, text: &str)

Source from the content-addressed store, hash-verified

3635 "resource" => "[RES]",
3636 _ => "[OTH]",
3637 }
3638}
3639
3640pub fn scene_field_value<'a>(data: &'a SceneNodeData, field: &str) -> Option<&'a SceneValue> {
3641 data.fields
3642 .iter()
3643 .find(|(name, _)| name.as_ref() == field)
3644 .map(|(_, value)| value)
3645 .or_else(|| {

Callers 15

handle_viewport_clickFunction · 0.85
reload_scene_pathFunction · 0.85
load_preview_sceneFunction · 0.85
edit_selected_transformFunction · 0.85
rename_selected_nodeFunction · 0.85
add_nodeFunction · 0.85

Calls 1

set_labelFunction · 0.85

Tested by 2