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

Function file_icon

perro_editor/res/scripts/ui/editor_ui.rs:3107–3125  ·  view source on GitHub ↗
(path: &str)

Source from the content-addressed store, hash-verified

3105 true,
3106 true,
3107 )
3108}
3109
3110#[allow(clippy::too_many_arguments)]
3111pub fn gltf_summary(
3112 path: &str,
3113 mesh_count: usize,
3114 material_count: usize,
3115 animation_count: usize,
3116 skeleton_count: usize,
3117 texture_count: usize,
3118 mesh_index: usize,
3119 mat_index: usize,
3120 anim_index: usize,
3121) -> String {
3122 format!(
3123 "{}\n\nmeshes {} sel {}\nmaterials {} sel {}\nanimations {} sel {}\nskeletons {}\ntextures {}\n\n[ ] mesh shift+[ ] mat ctrl+shift+[ ] anim",
3124 editor_files::rel_label(path),
3125 mesh_count,
3126 indexed_ref(path, "mesh", mesh_count, mesh_index),
3127 material_count,
3128 indexed_ref(path, "mat", material_count, mat_index),

Callers 1

set_file_tree_listFunction · 0.85

Calls 1

kind_labelFunction · 0.85

Tested by

no test coverage detected