Click or drag to resize

TileSetTileSetRegion Method

Sets the tile's sub-region in the texture. This is common in texture atlases.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void TileSetRegion(
	int id,
	Rect2 region
)

Parameters

id
Type: SystemInt32

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

region
Type: GodotRect2

[Missing <param name="region"/> documentation for "M:Godot.TileSet.TileSetRegion(System.Int32,Godot.Rect2)"]

See Also