|
491 | 491 | <param index="5" name="alternative_to" type="int" />
|
492 | 492 | <description>
|
493 | 493 | Create an alternative-level proxy for the given identifiers. A proxy will map set of tile identifiers to another set of identifiers.
|
494 |
| - This can be used to replace a tile in all TileMaps using this TileSet, as TileMap nodes will find and use the proxy's target tile when one is available. |
495 |
| - Proxied tiles can be automatically replaced in TileMap nodes using the editor. |
| 494 | + Proxied tiles can be automatically replaced in TileMapLayer nodes using the editor. |
496 | 495 | </description>
|
497 | 496 | </method>
|
498 | 497 | <method name="set_coords_level_tile_proxy">
|
|
503 | 502 | <param index="3" name="coords_to" type="Vector2i" />
|
504 | 503 | <description>
|
505 | 504 | Creates a coordinates-level proxy for the given identifiers. A proxy will map set of tile identifiers to another set of identifiers. The alternative tile ID is kept the same when using coordinates-level proxies.
|
506 |
| - This can be used to replace a tile in all TileMaps using this TileSet, as TileMap nodes will find and use the proxy's target tile when one is available. |
507 |
| - Proxied tiles can be automatically replaced in TileMap nodes using the editor. |
| 505 | + Proxied tiles can be automatically replaced in TileMapLayer nodes using the editor. |
508 | 506 | </description>
|
509 | 507 | </method>
|
510 | 508 | <method name="set_custom_data_layer_name">
|
|
602 | 600 | <param index="1" name="source_to" type="int" />
|
603 | 601 | <description>
|
604 | 602 | Creates a source-level proxy for the given source ID. A proxy will map set of tile identifiers to another set of identifiers. Both the atlas coordinates ID and the alternative tile ID are kept the same when using source-level proxies.
|
605 |
| - This can be used to replace a source in all TileMaps using this TileSet, as TileMap nodes will find and use the proxy's target source when one is available. |
606 |
| - Proxied tiles can be automatically replaced in TileMap nodes using the editor. |
| 603 | + Proxied tiles can be automatically replaced in TileMapLayer nodes using the editor. |
607 | 604 | </description>
|
608 | 605 | </method>
|
609 | 606 | <method name="set_terrain_color">
|
|
635 | 632 | </methods>
|
636 | 633 | <members>
|
637 | 634 | <member name="tile_layout" type="int" setter="set_tile_layout" getter="get_tile_layout" enum="TileSet.TileLayout" default="0">
|
638 |
| - For all half-offset shapes (Isometric, Hexagonal and Half-Offset square), changes the way tiles are indexed in the TileMap grid. |
| 635 | + For all half-offset shapes (Isometric, Hexagonal and Half-Offset square), changes the way tiles are indexed in the [TileMapLayer] grid. |
639 | 636 | </member>
|
640 | 637 | <member name="tile_offset_axis" type="int" setter="set_tile_offset_axis" getter="get_tile_offset_axis" enum="TileSet.TileOffsetAxis" default="0">
|
641 | 638 | For all half-offset shapes (Isometric, Hexagonal and Half-Offset square), determines the offset axis.
|
|
656 | 653 | </constant>
|
657 | 654 | <constant name="TILE_SHAPE_ISOMETRIC" value="1" enum="TileShape">
|
658 | 655 | Diamond tile shape (for isometric look).
|
659 |
| - [b]Note:[/b] Isometric [TileSet] works best if [TileMap] and all its layers have Y-sort enabled. |
| 656 | + [b]Note:[/b] Isometric [TileSet] works best if all sibling [TileMapLayer]s and their parent inheriting from [Node2D] have Y-sort enabled. |
660 | 657 | </constant>
|
661 | 658 | <constant name="TILE_SHAPE_HALF_OFFSET_SQUARE" value="2" enum="TileShape">
|
662 | 659 | Rectangular tile shape with one row/column out of two offset by half a tile.
|
|
0 commit comments