From 8433ad5353d36152dfb370860b67949b0e083bd2 Mon Sep 17 00:00:00 2001 From: ajreckof Date: Mon, 25 Jul 2022 01:09:03 +0200 Subject: expose TileMap methods related to the name of custom data layers --- doc/classes/TileSet.xml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/TileSet.xml b/doc/classes/TileSet.xml index ad52b2f2f1..180e868ef8 100644 --- a/doc/classes/TileSet.xml +++ b/doc/classes/TileSet.xml @@ -117,6 +117,27 @@ If the TileSet has no proxy for the given identifiers, returns an empty Array. + + + + + Returns the index of the custom data layer identified by the given name. + + + + + + + Returns the name of the custom data layer identified by the given index. + + + + + + + Returns the type of the custom data layer identified by the given index. + + @@ -464,6 +485,22 @@ Proxied tiles can be automatically replaced in TileMap nodes using the editor. + + + + + + Sets the name of the custom data layer identified by the given index. Names are identifiers of the layer therefore if the name is already taken it will fail and raise an error. + + + + + + + + Sets the type of the custom data layer identified by the given index. + + -- cgit v1.2.3