TileMapLayer
Inherits: Node2D < CanvasItem < Node < Object
There is currently no description for this class. Please help us by contributing one!
Properties
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods
void |
_tile_data_runtime_update ( Vector2i coords, TileData tile_data ) virtual |
_use_tile_data_runtime_update ( Vector2i coords ) virtual |
|
void |
clear ( ) |
void |
erase_cell ( Vector2i coords ) |
void |
|
get_cell_alternative_tile ( Vector2i coords ) const |
|
get_cell_atlas_coords ( Vector2i coords ) const |
|
get_cell_source_id ( Vector2i coords ) const |
|
get_cell_tile_data ( Vector2i coords ) const |
|
get_coords_for_body_rid ( RID body ) const |
|
get_navigation_map ( ) const |
|
get_neighbor_cell ( Vector2i coords, CellNeighbor neighbor ) const |
|
get_pattern ( Vector2i[] coords_array ) |
|
get_surrounding_cells ( Vector2i coords ) |
|
get_used_cells ( ) const |
|
get_used_cells_by_id ( int source_id=-1, Vector2i atlas_coords=Vector2i(-1, -1), int alternative_tile=-1 ) const |
|
get_used_rect ( ) const |
|
has_body_rid ( RID body ) const |
|
local_to_map ( Vector2 local_position ) const |
|
map_pattern ( Vector2i position_in_tilemap, Vector2i coords_in_pattern, TileMapPattern pattern ) |
|
map_to_local ( Vector2i map_position ) const |
|
void |
|
void |
set_cell ( Vector2i coords, int source_id=-1, Vector2i atlas_coords=Vector2i(-1, -1), int alternative_tile=0 ) |
void |
set_cells_terrain_connect ( Vector2i[] cells, int terrain_set, int terrain, bool ignore_empty_terrains=true ) |
void |
set_cells_terrain_path ( Vector2i[] path, int terrain_set, int terrain, bool ignore_empty_terrains=true ) |
void |
set_navigation_map ( RID map ) |
void |
set_pattern ( Vector2i position, TileMapPattern pattern ) |
void |
update_internals ( ) |
Signals
changed ( )
There is currently no description for this signal. Please help us by contributing one!
Enumerations
enum DebugVisibilityMode:
DebugVisibilityMode DEBUG_VISIBILITY_MODE_DEFAULT = 0
There is currently no description for this enum. Please help us by contributing one!
DebugVisibilityMode DEBUG_VISIBILITY_MODE_FORCE_HIDE = 2
There is currently no description for this enum. Please help us by contributing one!
DebugVisibilityMode DEBUG_VISIBILITY_MODE_FORCE_SHOW = 1
There is currently no description for this enum. Please help us by contributing one!
Property Descriptions
bool collision_enabled = true
There is currently no description for this property. Please help us by contributing one!
DebugVisibilityMode collision_visibility_mode = 0
void set_collision_visibility_mode ( DebugVisibilityMode value )
DebugVisibilityMode get_collision_visibility_mode ( )
There is currently no description for this property. Please help us by contributing one!
bool enabled = true
There is currently no description for this property. Please help us by contributing one!
There is currently no description for this property. Please help us by contributing one!
void set_navigation_visibility_mode ( DebugVisibilityMode value )
DebugVisibilityMode get_navigation_visibility_mode ( )
There is currently no description for this property. Please help us by contributing one!
int rendering_quadrant_size = 16
There is currently no description for this property. Please help us by contributing one!
PackedByteArray tile_map_data = PackedByteArray()
void set_tile_map_data_from_array ( PackedByteArray value )
PackedByteArray get_tile_map_data_as_array ( )
There is currently no description for this property. Please help us by contributing one!
TileSet tile_set
There is currently no description for this property. Please help us by contributing one!
bool use_kinematic_bodies = false
There is currently no description for this property. Please help us by contributing one!
bool x_draw_order_reversed = false
There is currently no description for this property. Please help us by contributing one!
int y_sort_origin = 0
There is currently no description for this property. Please help us by contributing one!
Method Descriptions
void _tile_data_runtime_update ( Vector2i coords, TileData tile_data ) virtual
There is currently no description for this method. Please help us by contributing one!
bool _use_tile_data_runtime_update ( Vector2i coords ) virtual
There is currently no description for this method. Please help us by contributing one!
void clear ( )
There is currently no description for this method. Please help us by contributing one!
void erase_cell ( Vector2i coords )
There is currently no description for this method. Please help us by contributing one!
void fix_invalid_tiles ( )
There is currently no description for this method. Please help us by contributing one!
int get_cell_alternative_tile ( Vector2i coords ) const
There is currently no description for this method. Please help us by contributing one!
Vector2i get_cell_atlas_coords ( Vector2i coords ) const
There is currently no description for this method. Please help us by contributing one!
int get_cell_source_id ( Vector2i coords ) const
There is currently no description for this method. Please help us by contributing one!
TileData get_cell_tile_data ( Vector2i coords ) const
There is currently no description for this method. Please help us by contributing one!
Vector2i get_coords_for_body_rid ( RID body ) const
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
Vector2i get_neighbor_cell ( Vector2i coords, CellNeighbor neighbor ) const
There is currently no description for this method. Please help us by contributing one!
TileMapPattern get_pattern ( Vector2i[] coords_array )
There is currently no description for this method. Please help us by contributing one!
Vector2i[] get_surrounding_cells ( Vector2i coords )
There is currently no description for this method. Please help us by contributing one!
Vector2i[] get_used_cells ( ) const
There is currently no description for this method. Please help us by contributing one!
Vector2i[] get_used_cells_by_id ( int source_id=-1, Vector2i atlas_coords=Vector2i(-1, -1), int alternative_tile=-1 ) const
There is currently no description for this method. Please help us by contributing one!
Rect2i get_used_rect ( ) const
There is currently no description for this method. Please help us by contributing one!
bool has_body_rid ( RID body ) const
There is currently no description for this method. Please help us by contributing one!
Vector2i local_to_map ( Vector2 local_position ) const
There is currently no description for this method. Please help us by contributing one!
Vector2i map_pattern ( Vector2i position_in_tilemap, Vector2i coords_in_pattern, TileMapPattern pattern )
There is currently no description for this method. Please help us by contributing one!
Vector2 map_to_local ( Vector2i map_position ) const
There is currently no description for this method. Please help us by contributing one!
void notify_runtime_tile_data_update ( )
There is currently no description for this method. Please help us by contributing one!
void set_cell ( Vector2i coords, int source_id=-1, Vector2i atlas_coords=Vector2i(-1, -1), int alternative_tile=0 )
There is currently no description for this method. Please help us by contributing one!
void set_cells_terrain_connect ( Vector2i[] cells, int terrain_set, int terrain, bool ignore_empty_terrains=true )
There is currently no description for this method. Please help us by contributing one!
void set_cells_terrain_path ( Vector2i[] path, int terrain_set, int terrain, bool ignore_empty_terrains=true )
There is currently no description for this method. Please help us by contributing one!
There is currently no description for this method. Please help us by contributing one!
void set_pattern ( Vector2i position, TileMapPattern pattern )
There is currently no description for this method. Please help us by contributing one!
void update_internals ( )
There is currently no description for this method. Please help us by contributing one!