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

Function pick_doc_ui_node

perro_editor/res/scripts/scene/editor_viewport.rs:2593–2612  ·  view source on GitHub ↗
(doc: &SceneDoc, point: Vector2)

Source from the content-addressed store, hash-verified

2591 let _ = with_node_mut!(ctx.run, UiTextBox, id, |node| {
2592 node.base.input_enabled = false;
2593 });
2594 let _ = with_node_mut!(ctx.run, UiTextBlock, id, |node| {
2595 node.base.input_enabled = false;
2596 });
2597 let _ = with_node_mut!(ctx.run, UiScrollContainer, id, |node| {
2598 node.input_enabled = false;
2599 });
2600 let _ = with_node_mut!(ctx.run, Button2D, id, |node| {
2601 node.input_enabled = false;
2602 });
2603 let _ = with_node_mut!(ctx.run, ImageButton2D, id, |node| {
2604 node.input_enabled = false;
2605 });
2606 let _ = with_node_mut!(ctx.run, Camera2D, id, |node| {
2607 node.active = false;
2608 });
2609 let _ = with_node_mut!(ctx.run, Camera3D, id, |node| {
2610 node.active = false;
2611 });
2612
2613 stack.extend(ctx.run.Nodes().get_children(id));
2614 }
2615}

Callers 1

pick_preview_uiFunction · 0.85

Calls 3

pick_doc_ui_node_innerFunction · 0.85
as_u32Method · 0.45
iterMethod · 0.45

Tested by

no test coverage detected