TileSet.autotileGetSubtilePriority

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.

struct TileSet
@nogc nothrow
long
autotileGetSubtilePriority
(
in long id
,
in Vector2 coord
)

Meta