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

Function scene_field_vec2

perro_editor/res/scripts/scene/editor_viewport.rs:2786–2790  ·  view source on GitHub ↗
(data: &SceneNodeData, field: &str)

Source from the content-addressed store, hash-verified

2784 resize_cursor_icon(&drag)
2785 };
2786 }
2787
2788 let mode = with_state!(ctx.run, EditorState, ctx.id, |state| {
2789 state.viewport_mode.clone()
2790 }).unwrap_or_default();
2791 if mode != "UI" {
2792 return CursorIcon::Default;
2793 }

Callers 1

editor_ui_rectFunction · 0.85

Calls 2

scene_fieldFunction · 0.85
as_vec2Method · 0.45

Tested by

no test coverage detected