Adds a collision polygon to the tile on the given TileSet physics layer.
Returns the one-way margin (for one-way platforms) of the polygon at index [param polygon_index] for TileSet physics layer with index [param layer_id].
Returns the points of the polygon at index [param polygon_index] for TileSet physics layer with index [param layer_id].
Returns how many polygons the tile has for TileSet physics layer with index [param layer_id].
Returns the constant angular velocity applied to objects colliding with this tile.
Returns the constant linear velocity applied to objects colliding with this tile.
Returns the custom data value for custom data layer named [param layer_name].
Returns the custom data value for custom data layer with index [param layer_id].
Returns the navigation polygon of the tile for the TileSet navigation layer with index [param layer_id].
Returns the occluder polygon of the tile for the TileSet occlusion layer with index [param layer_id].
Returns the tile's terrain bit for the given [param peering_bit] direction.
Returns whether one-way collisions are enabled for the polygon at index [param polygon_index] for TileSet physics layer with index [param layer_id].
Removes the polygon at index [param polygon_index] for TileSet physics layer with index [param layer_id].
Enables/disables one-way collisions on the polygon at index [param polygon_index] for TileSet physics layer with index [param layer_id].
Enables/disables one-way collisions on the polygon at index [param polygon_index] for TileSet physics layer with index [param layer_id].
Sets the points of the polygon at index [param polygon_index] for TileSet physics layer with index [param layer_id].
Sets the polygons count for TileSet physics layer with index [param layer_id].
Sets the constant angular velocity. This does not rotate the tile. This angular velocity is applied to objects colliding with this tile.
Sets the constant linear velocity. This does not move the tile. This linear velocity is applied to objects colliding with this tile. This is useful to create conveyor belts.
Sets the tile's custom data value for the TileSet custom data layer with name [param layer_name].
Sets the tile's custom data value for the TileSet custom data layer with index [param layer_id].
Sets the navigation polygon for the TileSet navigation layer with index [param layer_id].
Sets the occluder for the TileSet occlusion layer with index [param layer_id].
Sets the tile's terrain bit for the given [param peering_bit] direction.
The [Material] to use for this [TileData]. This can be a [CanvasItemMaterial] to use the default shader, or a [ShaderMaterial] to use a custom shader.