Click or drag to resize

TileSetAutotileSetSubtilePriority Method

Sets the priority of the subtile from an autotile given its coordinates.

When more than one subtile has the same bitmask value, one of them will be picked randomly for drawing. Its priority will define how often it will be picked.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void AutotileSetSubtilePriority(
	int id,
	Vector2 coord,
	int priority
)

Parameters

id
Type: SystemInt32

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

coord
Type: GodotVector2

[Missing <param name="coord"/> documentation for "M:Godot.TileSet.AutotileSetSubtilePriority(System.Int32,Godot.Vector2,System.Int32)"]

priority
Type: SystemInt32

[Missing <param name="priority"/> documentation for "M:Godot.TileSet.AutotileSetSubtilePriority(System.Int32,Godot.Vector2,System.Int32)"]

See Also