class

Godot::TileMap

Inherits Godot::Node2D < Godot::CanvasItem < Godot::Node < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

add_layer(to_position : Int64) : Void
Source
clear
Source
clear_layer(layer : Int64) : Void
Source
collision_animatable

Property collision_animatable getter

Source
collision_animatable=(val)

Property collision_animatable setter

Source
collision_animatable?
Source
collision_visibility_mode

Property collision_visibility_mode getter

Source
collision_visibility_mode=(val : Int)

Property collision_visibility_mode setter

Source
erase_cell(layer : Int64, coords : Vector2i) : Void
Source
fix_invalid_tiles
Source
force_update(layer : Int64) : Void
Source
get_cell_alternative_tile(layer : Int64, coords : Vector2i, use_proxies : Bool) : Int64
Source
get_cell_atlas_coords(layer : Int64, coords : Vector2i, use_proxies : Bool) : Vector2i
Source
get_cell_source_id(layer : Int64, coords : Vector2i, use_proxies : Bool) : Int64
Source
get_cell_tile_data(layer : Int64, coords : Vector2i, use_proxies : Bool) : TileData
Source
get_collision_visibility_mode
Source
get_coords_for_body_rid(body : Int64) : Vector2i
Source
get_layer_for_body_rid(body : Int64) : Int64
Source
get_layer_modulate(layer : Int64) : Color
Source
get_layer_name(layer : Int64) : String
Source
get_layer_navigation_map(layer : Int64) : Int64
Source
get_layer_y_sort_origin(layer : Int64) : Int64
Source
get_layer_z_index(layer : Int64) : Int64
Source
get_layers_count
Source
get_navigation_map(layer : Int64) : Int64
Source
get_navigation_visibility_mode
Source
get_neighbor_cell(coords : Vector2i, neighbor : Int64) : Vector2i
Source
get_pattern(layer : Int64, coords_array : Godot::Array) : TileMapPattern
Source
get_rendering_quadrant_size
Source
get_surrounding_cells(coords : Vector2i) : Godot::Array
Source
get_tileset
Source
get_used_cells(layer : Int64) : Godot::Array
Source
get_used_cells_by_id(layer : Int64, source_id : Int64, atlas_coords : Vector2i, alternative_tile : Int64) : Godot::Array
Source
get_used_rect
Source
is_cell_flipped_h(layer : Int64, coords : Vector2i, use_proxies : Bool) : Bool
Source
is_cell_flipped_v(layer : Int64, coords : Vector2i, use_proxies : Bool) : Bool
Source
is_cell_transposed(layer : Int64, coords : Vector2i, use_proxies : Bool) : Bool
Source
is_collision_animatable
Source
is_layer_enabled(layer : Int64) : Bool
Source
is_layer_navigation_enabled(layer : Int64) : Bool
Source
is_layer_y_sort_enabled(layer : Int64) : Bool
Source
local_to_map(local_position : Vector2) : Vector2i
Source
map_pattern(position_in_tilemap : Vector2i, coords_in_pattern : Vector2i, pattern : TileMapPattern) : Vector2i
Source
map_to_local(map_position : Vector2i) : Vector2
Source
move_layer(layer : Int64, to_position : Int64) : Void
Source
notify_runtime_tile_data_update(layer : Int64) : Void
Source
remove_layer(layer : Int64) : Void
Source
rendering_quadrant_size

Property rendering_quadrant_size getter

Source
rendering_quadrant_size=(val : Int)

Property rendering_quadrant_size setter

Source
set_cell(layer : Int64, coords : Vector2i, source_id : Int64, atlas_coords : Vector2i, alternative_tile : Int64) : Void
Source
set_cells_terrain_connect(layer : Int64, cells : Godot::Array, terrain_set : Int64, terrain : Int64, ignore_empty_terrains : Bool) : Void
Source
set_cells_terrain_path(layer : Int64, path : Godot::Array, terrain_set : Int64, terrain : Int64, ignore_empty_terrains : Bool) : Void
Source
set_collision_animatable(enabled : Bool) : Void
Source
set_collision_visibility_mode(collision_visibility_mode : Int64) : Void
Source
set_layer_enabled(layer : Int64, enabled : Bool) : Void
Source
set_layer_modulate(layer : Int64, modulate : Color) : Void
Source
set_layer_name(layer : Int64, name : String) : Void
Source
set_layer_navigation_enabled(layer : Int64, enabled : Bool) : Void
Source
set_layer_navigation_map(layer : Int64, map : Int64) : Void
Source
set_layer_y_sort_enabled(layer : Int64, y_sort_enabled : Bool) : Void
Source
set_layer_y_sort_origin(layer : Int64, y_sort_origin : Int64) : Void
Source
set_layer_z_index(layer : Int64, z_index : Int64) : Void
Source
set_navigation_map(layer : Int64, map : Int64) : Void
Source
set_navigation_visibility_mode(navigation_visibility_mode : Int64) : Void
Source
set_pattern(layer : Int64, position : Vector2i, pattern : TileMapPattern) : Void
Source
set_rendering_quadrant_size(size : Int64) : Void
Source
set_tileset(tileset : TileSet) : Void
Source
tile_set

Property tile_set getter

Source
tile_set=(val)

Property tile_set setter

Source
update_internals
Source

Nested types