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

Function value_path_key

perro_editor/res/scripts/ui/editor_inspector_values.rs:3755–3768  ·  view source on GitHub ↗
(path: &[ValuePathStep])

Source from the content-addressed store, hash-verified

3753 quat_mode: &str,
3754) -> Vec<String> {
3755 if kind == "Color" {
3756 return Vec::new();
3757 }
3758 if kind == "Quat"
3759 && quat_mode == "euler"
3760 && let SceneValue::Vec4 { x, y, z, w } = value
3761 {
3762 return quat_to_euler_deg_components(*x, *y, *z, *w);
3763 }
3764 scene_value_component_texts(value)
3765}
3766
3767fn color_preview_for_value(
3768 name: &str,
3769 value: &SceneValue,
3770 path_key: &str,
3771 color_paths: &[String],

Callers 1

push_value_rowsFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected