Click or drag to resize

TileSetTileGetShapes Method

Returns an array of dictionaries describing the tile's shapes.

Dictionary structure in the array returned by this method:

{
    "autotile_coord": Vector2,
    "one_way": bool,
    "one_way_margin": int,
    "shape": CollisionShape2D,
    "shape_transform": Transform2D,
}

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Array TileGetShapes(
	int id
)

Parameters

id
Type: SystemInt32

[Missing <param name="id"/> documentation for "M:Godot.TileSet.TileGetShapes(System.Int32)"]

Return Value

Type: Array

[Missing <returns> documentation for "M:Godot.TileSet.TileGetShapes(System.Int32)"]

See Also