Exposes a set of scenes as tiles for a [LayeredTileSet] resource.
When placed on a [LayeredTileMap], tiles from [LayeredTileSetScenesCollectionSource] will automatically instance an associated scene at the cell's position in the LayeredTileMap.
Scenes are instanced as children of the [LayeredTileMap] when it enters the tree. If you add/remove a scene tile in the [LayeredTileMap] that is already inside the tree, the [LayeredTileMap] will automatically instance/free the scene accordingly.
Creates a scene-based tile out of the given scene.
Returns a newly generated unique ID.
Returns the scene ID a following call to [method create_scene_tile] would return.
Returns whether the scene tile with [param id] displays a placeholder in the editor.
Returns the scene tile ID of the scene tile at [param index].
Returns the [PackedScene] resource of scene tile with [param id].
Returns the number or scene tiles this LayeredTileSet source has.
Returns whether this LayeredTileSet source has a scene tile with [param id].
Remove the scene tile with [param id].
Sets whether or not the scene tile with [param id] should display a placeholder in the editor. This might be useful for scenes that are not visible.
Changes a scene tile's ID from [param id] to [param new_id]. This will fail if there is already a tile with an ID equal to [param new_id].
Assigns a [PackedScene] resource to the scene tile with [param id]. This will fail if the scene does not extend CanvasItem, as positioning properties are needed to place the scene on the LayeredTileMap.