MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / _set_selection

Method _set_selection

modules/gridmap/editor/grid_map_editor_plugin.cpp:292–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292void GridMapEditor::_set_selection(bool p_active, const Vector3 &p_begin, const Vector3 &p_end) {
293 selection.active = p_active;
294 selection.begin = p_begin;
295 selection.end = p_end;
296 selection.click = p_begin;
297 selection.current = p_end;
298
299 if (is_visible_in_tree()) {
300 _update_selection_transform();
301 }
302}
303
304AABB GridMapEditor::_get_selection() const {
305 AABB ret;

Callers 2

set_selectionMethod · 0.80
clear_selectionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected