Click or drag to resize

TileSetAutotileGetSubtilePriority Method

Returns 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 int AutotileGetSubtilePriority(
	int id,
	Vector2 coord
)

Parameters

id
Type: SystemInt32

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

coord
Type: GodotVector2

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

Return Value

Type: Int32

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

See Also