2017-09-12 20:42:36 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2020-02-01 01:03:48 +00:00
|
|
|
<class name="TileSet" inherits="Resource" version="4.0">
|
2017-09-12 20:42:36 +00:00
|
|
|
<brief_description>
|
|
|
|
Tile library for tilemaps.
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
A TileSet is a library of tiles for a [TileMap]. It contains a list of tiles, each consisting of a sprite and optional collision shapes.
|
|
|
|
Tiles are referenced by a unique integer ID.
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
2020-10-01 08:34:47 +00:00
|
|
|
<link title="Using Tilemaps">https://docs.godotengine.org/en/latest/tutorials/2d/using_tilemaps.html</link>
|
|
|
|
<link title="2D Platformer Demo">https://godotengine.org/asset-library/asset/120</link>
|
|
|
|
<link title="2D Isometric Demo">https://godotengine.org/asset-library/asset/112</link>
|
|
|
|
<link title="2D Hexagonal Demo">https://godotengine.org/asset-library/asset/111</link>
|
|
|
|
<link title="2D Navigation Astar Demo">https://godotengine.org/asset-library/asset/519</link>
|
|
|
|
<link title="2D Role Playing Game Demo">https://godotengine.org/asset-library/asset/520</link>
|
|
|
|
<link title="2D Kinematic Character Demo">https://godotengine.org/asset-library/asset/113</link>
|
2017-09-12 20:42:36 +00:00
|
|
|
</tutorials>
|
|
|
|
<methods>
|
2021-08-31 08:48:45 +00:00
|
|
|
<method name="add_custom_data_layer">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="to_position" type="int" default="-1" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="add_navigation_layer">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="to_position" type="int" default="-1" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="add_occlusion_layer">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="to_position" type="int" default="-1" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="add_physics_layer">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="to_position" type="int" default="-1" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="add_source">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="int" />
|
|
|
|
<argument index="0" name="atlas_source_id_override" type="TileSetSource" />
|
|
|
|
<argument index="1" name="arg1" type="int" default="-1" />
|
2017-11-24 08:16:27 +00:00
|
|
|
<description>
|
2018-12-19 16:20:49 +00:00
|
|
|
</description>
|
|
|
|
</method>
|
2021-08-31 08:48:45 +00:00
|
|
|
<method name="add_terrain">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="terrain_set" type="int" />
|
|
|
|
<argument index="1" name="to_position" type="int" default="-1" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="add_terrain_set">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="to_position" type="int" default="-1" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-07-06 12:43:03 +00:00
|
|
|
<method name="cleanup_invalid_tile_proxies">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
2021-07-06 12:43:03 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="clear_tile_proxies">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
2021-07-06 12:43:03 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_alternative_level_tile_proxy">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="Array" />
|
|
|
|
<argument index="0" name="source_from" type="int" />
|
|
|
|
<argument index="1" name="coords_from" type="Vector2i" />
|
|
|
|
<argument index="2" name="alternative_from" type="int" />
|
2021-07-06 12:43:03 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="get_coords_level_tile_proxy">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="Array" />
|
|
|
|
<argument index="0" name="source_from" type="int" />
|
|
|
|
<argument index="1" name="coords_from" type="Vector2i" />
|
2021-07-06 12:43:03 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-08-31 08:48:45 +00:00
|
|
|
<method name="get_custom_data_layers_count" qualifiers="const">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="get_navigation_layer_layers" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="int" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
2018-12-19 16:20:49 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-08-31 08:48:45 +00:00
|
|
|
<method name="get_navigation_layers_count" qualifiers="const">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="get_next_source_id" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="int" />
|
2018-12-19 16:20:49 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="get_occlusion_layer_light_mask" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="int" />
|
|
|
|
<argument index="0" name="arg0" type="int" />
|
2018-12-19 16:20:49 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="get_occlusion_layer_sdf_collision" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="bool" />
|
|
|
|
<argument index="0" name="arg0" type="int" />
|
2018-08-31 20:38:28 +00:00
|
|
|
<description>
|
2018-12-19 16:20:49 +00:00
|
|
|
</description>
|
|
|
|
</method>
|
2021-08-31 08:48:45 +00:00
|
|
|
<method name="get_occlusion_layers_count" qualifiers="const">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="get_physics_layer_collision_layer" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="int" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
2018-12-19 16:20:49 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="get_physics_layer_collision_mask" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="int" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
2018-12-19 16:20:49 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="get_physics_layer_physics_material" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="PhysicsMaterial" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
2018-12-19 16:20:49 +00:00
|
|
|
<description>
|
2018-08-31 20:38:28 +00:00
|
|
|
</description>
|
|
|
|
</method>
|
2021-08-31 08:48:45 +00:00
|
|
|
<method name="get_physics_layers_count" qualifiers="const">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="get_source" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="TileSetSource" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
2017-09-12 20:42:36 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="get_source_count" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="int" />
|
2017-09-12 20:42:36 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="get_source_id" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="int" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
2017-09-12 20:42:36 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-07-06 12:43:03 +00:00
|
|
|
<method name="get_source_level_tile_proxy">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="int" />
|
|
|
|
<argument index="0" name="source_from" type="int" />
|
2021-07-06 12:43:03 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="get_terrain_color" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="Color" />
|
|
|
|
<argument index="0" name="terrain_set" type="int" />
|
|
|
|
<argument index="1" name="terrain_index" type="int" />
|
2017-09-12 20:42:36 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="get_terrain_name" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="String" />
|
|
|
|
<argument index="0" name="terrain_set" type="int" />
|
|
|
|
<argument index="1" name="terrain_index" type="int" />
|
2017-09-12 20:42:36 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="get_terrain_set_mode" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="int" enum="TileSet.TerrainMode" />
|
|
|
|
<argument index="0" name="terrain_set" type="int" />
|
2017-09-12 20:42:36 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-08-31 08:48:45 +00:00
|
|
|
<method name="get_terrain_sets_count" qualifiers="const">
|
|
|
|
<return type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="get_terrains_count" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="int" />
|
|
|
|
<argument index="0" name="terrain_set" type="int" />
|
2018-08-29 20:25:11 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-07-06 12:43:03 +00:00
|
|
|
<method name="has_alternative_level_tile_proxy">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="bool" />
|
|
|
|
<argument index="0" name="source_from" type="int" />
|
|
|
|
<argument index="1" name="coords_from" type="Vector2i" />
|
|
|
|
<argument index="2" name="alternative_from" type="int" />
|
2021-07-06 12:43:03 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="has_coords_level_tile_proxy">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="bool" />
|
|
|
|
<argument index="0" name="source_from" type="int" />
|
|
|
|
<argument index="1" name="coords_from" type="Vector2i" />
|
2021-07-06 12:43:03 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="has_source" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="bool" />
|
|
|
|
<argument index="0" name="index" type="int" />
|
2018-04-10 08:12:42 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-07-06 12:43:03 +00:00
|
|
|
<method name="has_source_level_tile_proxy">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="bool" />
|
|
|
|
<argument index="0" name="source_from" type="int" />
|
2021-07-06 12:43:03 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="map_tile_proxy" qualifiers="const">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="Array" />
|
|
|
|
<argument index="0" name="source_from" type="int" />
|
|
|
|
<argument index="1" name="coords_from" type="Vector2i" />
|
|
|
|
<argument index="2" name="alternative_from" type="int" />
|
2021-07-06 12:43:03 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-08-31 08:48:45 +00:00
|
|
|
<method name="move_custom_data_layer">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
|
|
|
<argument index="1" name="to_position" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="move_navigation_layer">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
|
|
|
<argument index="1" name="to_position" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="move_occlusion_layer">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
|
|
|
<argument index="1" name="to_position" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="move_physics_layer">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
|
|
|
<argument index="1" name="to_position" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="move_terrain">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="terrain_set" type="int" />
|
|
|
|
<argument index="1" name="terrain_index" type="int" />
|
|
|
|
<argument index="2" name="to_position" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="move_terrain_set">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
|
|
|
<argument index="1" name="to_position" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-07-06 12:43:03 +00:00
|
|
|
<method name="remove_alternative_level_tile_proxy">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="source_from" type="int" />
|
|
|
|
<argument index="1" name="coords_from" type="Vector2i" />
|
|
|
|
<argument index="2" name="alternative_from" type="int" />
|
2021-07-06 12:43:03 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="remove_coords_level_tile_proxy">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="source_from" type="int" />
|
|
|
|
<argument index="1" name="coords_from" type="Vector2i" />
|
2021-07-06 12:43:03 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-08-31 08:48:45 +00:00
|
|
|
<method name="remove_custom_data_layer">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="remove_navigation_layer">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="remove_occlusion_layer">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="remove_physics_layer">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="remove_source">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="source_id" type="int" />
|
2017-09-12 20:42:36 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-07-06 12:43:03 +00:00
|
|
|
<method name="remove_source_level_tile_proxy">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="source_from" type="int" />
|
2021-07-06 12:43:03 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-08-31 08:48:45 +00:00
|
|
|
<method name="remove_terrain">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="terrain_set" type="int" />
|
|
|
|
<argument index="1" name="terrain_index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="remove_terrain_set">
|
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-07-06 12:43:03 +00:00
|
|
|
<method name="set_alternative_level_tile_proxy">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="source_from" type="int" />
|
|
|
|
<argument index="1" name="coords_from" type="Vector2i" />
|
|
|
|
<argument index="2" name="alternative_from" type="int" />
|
|
|
|
<argument index="3" name="source_to" type="int" />
|
|
|
|
<argument index="4" name="coords_to" type="Vector2i" />
|
|
|
|
<argument index="5" name="alternative_to" type="int" />
|
2021-07-06 12:43:03 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_coords_level_tile_proxy">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="p_source_from" type="int" />
|
|
|
|
<argument index="1" name="coords_from" type="Vector2i" />
|
|
|
|
<argument index="2" name="source_to" type="int" />
|
|
|
|
<argument index="3" name="coords_to" type="Vector2i" />
|
2021-07-06 12:43:03 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="set_navigation_layer_layers">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
|
|
|
<argument index="1" name="layers" type="int" />
|
2017-09-12 20:42:36 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="set_occlusion_layer_light_mask">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
|
|
|
<argument index="1" name="light_mask" type="int" />
|
2017-09-12 20:42:36 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="set_occlusion_layer_sdf_collision">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
|
|
|
<argument index="1" name="sdf_collision" type="int" />
|
2017-09-12 20:42:36 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="set_physics_layer_collision_layer">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
|
|
|
<argument index="1" name="layer" type="int" />
|
2017-09-12 20:42:36 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="set_physics_layer_collision_mask">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
|
|
|
<argument index="1" name="mask" type="int" />
|
2018-08-29 20:25:11 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="set_physics_layer_physics_material">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="layer_index" type="int" />
|
|
|
|
<argument index="1" name="physics_material" type="PhysicsMaterial" />
|
2017-09-12 20:42:36 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="set_source_id">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="source_id" type="int" />
|
|
|
|
<argument index="1" name="arg1" type="int" />
|
2019-01-26 21:21:53 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-07-06 12:43:03 +00:00
|
|
|
<method name="set_source_level_tile_proxy">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="source_from" type="int" />
|
|
|
|
<argument index="1" name="source_to" type="int" />
|
2021-07-06 12:43:03 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="set_terrain_color">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="terrain_set" type="int" />
|
|
|
|
<argument index="1" name="terrain_index" type="int" />
|
|
|
|
<argument index="2" name="color" type="Color" />
|
2017-09-12 20:42:36 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="set_terrain_name">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="terrain_set" type="int" />
|
|
|
|
<argument index="1" name="terrain_index" type="int" />
|
|
|
|
<argument index="2" name="name" type="String" />
|
2017-09-12 20:42:36 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2021-05-07 13:41:39 +00:00
|
|
|
<method name="set_terrain_set_mode">
|
2021-07-30 13:28:05 +00:00
|
|
|
<return type="void" />
|
|
|
|
<argument index="0" name="terrain_set" type="int" />
|
|
|
|
<argument index="1" name="mode" type="int" enum="TileSet.TerrainMode" />
|
2018-04-10 08:12:42 +00:00
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
2017-09-12 20:42:36 +00:00
|
|
|
</methods>
|
2021-05-07 13:41:39 +00:00
|
|
|
<members>
|
|
|
|
<member name="tile_layout" type="int" setter="set_tile_layout" getter="get_tile_layout" enum="TileSet.TileLayout" default="0">
|
|
|
|
</member>
|
|
|
|
<member name="tile_offset_axis" type="int" setter="set_tile_offset_axis" getter="get_tile_offset_axis" enum="TileSet.TileOffsetAxis" default="0">
|
|
|
|
</member>
|
|
|
|
<member name="tile_shape" type="int" setter="set_tile_shape" getter="get_tile_shape" enum="TileSet.TileShape" default="0">
|
|
|
|
</member>
|
2019-09-24 17:45:03 +00:00
|
|
|
<member name="tile_size" type="Vector2i" setter="set_tile_size" getter="get_tile_size" default="Vector2i(16, 16)">
|
2021-05-07 13:41:39 +00:00
|
|
|
</member>
|
|
|
|
<member name="uv_clipping" type="bool" setter="set_uv_clipping" getter="is_uv_clipping" default="false">
|
|
|
|
</member>
|
|
|
|
</members>
|
2017-09-12 20:42:36 +00:00
|
|
|
<constants>
|
2021-05-07 13:41:39 +00:00
|
|
|
<constant name="TILE_SHAPE_SQUARE" value="0" enum="TileShape">
|
2020-06-30 06:34:15 +00:00
|
|
|
Orthogonal orientation mode.
|
2021-05-07 13:41:39 +00:00
|
|
|
</constant>
|
|
|
|
<constant name="TILE_SHAPE_ISOMETRIC" value="1" enum="TileShape">
|
2020-06-30 06:34:15 +00:00
|
|
|
Isometric orientation mode.
|
2021-05-07 13:41:39 +00:00
|
|
|
</constant>
|
|
|
|
<constant name="TILE_SHAPE_HALF_OFFSET_SQUARE" value="2" enum="TileShape">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILE_SHAPE_HEXAGON" value="3" enum="TileShape">
|
2020-06-30 06:34:15 +00:00
|
|
|
Hexagon orientation mode.
|
2021-05-07 13:41:39 +00:00
|
|
|
</constant>
|
|
|
|
<constant name="TILE_LAYOUT_STACKED" value="0" enum="TileLayout">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILE_LAYOUT_STACKED_OFFSET" value="1" enum="TileLayout">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILE_LAYOUT_STAIRS_RIGHT" value="2" enum="TileLayout">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILE_LAYOUT_STAIRS_DOWN" value="3" enum="TileLayout">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILE_LAYOUT_DIAMOND_RIGHT" value="4" enum="TileLayout">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILE_LAYOUT_DIAMOND_DOWN" value="5" enum="TileLayout">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILE_OFFSET_AXIS_HORIZONTAL" value="0" enum="TileOffsetAxis">
|
|
|
|
</constant>
|
|
|
|
<constant name="TILE_OFFSET_AXIS_VERTICAL" value="1" enum="TileOffsetAxis">
|
|
|
|
</constant>
|
2021-07-06 13:46:18 +00:00
|
|
|
<constant name="CELL_NEIGHBOR_RIGHT_SIDE" value="0" enum="CellNeighbor">
|
2021-05-07 13:41:39 +00:00
|
|
|
</constant>
|
2021-07-06 13:46:18 +00:00
|
|
|
<constant name="CELL_NEIGHBOR_RIGHT_CORNER" value="1" enum="CellNeighbor">
|
2021-05-07 13:41:39 +00:00
|
|
|
</constant>
|
2021-07-06 13:46:18 +00:00
|
|
|
<constant name="CELL_NEIGHBOR_BOTTOM_RIGHT_SIDE" value="2" enum="CellNeighbor">
|
2021-05-07 13:41:39 +00:00
|
|
|
</constant>
|
2021-07-06 13:46:18 +00:00
|
|
|
<constant name="CELL_NEIGHBOR_BOTTOM_RIGHT_CORNER" value="3" enum="CellNeighbor">
|
2021-05-07 13:41:39 +00:00
|
|
|
</constant>
|
2021-07-06 13:46:18 +00:00
|
|
|
<constant name="CELL_NEIGHBOR_BOTTOM_SIDE" value="4" enum="CellNeighbor">
|
2017-11-24 08:16:27 +00:00
|
|
|
</constant>
|
2021-07-06 13:46:18 +00:00
|
|
|
<constant name="CELL_NEIGHBOR_BOTTOM_CORNER" value="5" enum="CellNeighbor">
|
2018-05-28 12:53:15 +00:00
|
|
|
</constant>
|
2021-07-06 13:46:18 +00:00
|
|
|
<constant name="CELL_NEIGHBOR_BOTTOM_LEFT_SIDE" value="6" enum="CellNeighbor">
|
2017-11-24 08:16:27 +00:00
|
|
|
</constant>
|
2021-07-06 13:46:18 +00:00
|
|
|
<constant name="CELL_NEIGHBOR_BOTTOM_LEFT_CORNER" value="7" enum="CellNeighbor">
|
2017-11-24 08:16:27 +00:00
|
|
|
</constant>
|
2021-07-06 13:46:18 +00:00
|
|
|
<constant name="CELL_NEIGHBOR_LEFT_SIDE" value="8" enum="CellNeighbor">
|
2017-11-24 08:16:27 +00:00
|
|
|
</constant>
|
2021-07-06 13:46:18 +00:00
|
|
|
<constant name="CELL_NEIGHBOR_LEFT_CORNER" value="9" enum="CellNeighbor">
|
2017-11-24 08:16:27 +00:00
|
|
|
</constant>
|
2021-07-06 13:46:18 +00:00
|
|
|
<constant name="CELL_NEIGHBOR_TOP_LEFT_SIDE" value="10" enum="CellNeighbor">
|
2017-11-24 08:16:27 +00:00
|
|
|
</constant>
|
2021-07-06 13:46:18 +00:00
|
|
|
<constant name="CELL_NEIGHBOR_TOP_LEFT_CORNER" value="11" enum="CellNeighbor">
|
2020-01-28 09:58:48 +00:00
|
|
|
</constant>
|
2021-07-06 13:46:18 +00:00
|
|
|
<constant name="CELL_NEIGHBOR_TOP_SIDE" value="12" enum="CellNeighbor">
|
2017-11-24 08:16:27 +00:00
|
|
|
</constant>
|
2021-07-06 13:46:18 +00:00
|
|
|
<constant name="CELL_NEIGHBOR_TOP_CORNER" value="13" enum="CellNeighbor">
|
2017-11-24 08:16:27 +00:00
|
|
|
</constant>
|
2021-07-06 13:46:18 +00:00
|
|
|
<constant name="CELL_NEIGHBOR_TOP_RIGHT_SIDE" value="14" enum="CellNeighbor">
|
2017-11-24 08:16:27 +00:00
|
|
|
</constant>
|
2021-07-06 13:46:18 +00:00
|
|
|
<constant name="CELL_NEIGHBOR_TOP_RIGHT_CORNER" value="15" enum="CellNeighbor">
|
2017-11-24 08:16:27 +00:00
|
|
|
</constant>
|
2021-05-07 13:41:39 +00:00
|
|
|
<constant name="TERRAIN_MODE_MATCH_CORNERS_AND_SIDES" value="0" enum="TerrainMode">
|
2018-04-10 08:12:42 +00:00
|
|
|
</constant>
|
2021-05-07 13:41:39 +00:00
|
|
|
<constant name="TERRAIN_MODE_MATCH_CORNERS" value="1" enum="TerrainMode">
|
2018-04-10 08:12:42 +00:00
|
|
|
</constant>
|
2021-05-07 13:41:39 +00:00
|
|
|
<constant name="TERRAIN_MODE_MATCH_SIDES" value="2" enum="TerrainMode">
|
2018-04-10 08:12:42 +00:00
|
|
|
</constant>
|
2017-09-12 20:42:36 +00:00
|
|
|
</constants>
|
|
|
|
</class>
|