Editor for GridMap nodes.
GridMapEditorPlugin provides access to the GridMap editor functionality.
Returns the GridMap node currently edited by the grid map editor.
Returns an array of Vector3is with the selected cells' coordinates.
Returns the index of the selected MeshLibrary item in the grid map editor's palette or -1 if no item is selected.
Note: The indices might not be in the same order as they appear in the editor's interface.
Returns the cell coordinate bounds of the current selection. Use has_selection() to check if there is an active selection.
Selects the MeshLibrary item with the given index in the grid map editor's palette. If a negative index is given, no item will be selected. If a value greater than the last index is given, the last item will be selected.
Note: The indices might not be in the same order as they appear in the editor's interface.