Function TileSet.autotileSetSubtilePriority

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.

void autotileSetSubtilePriority (
  const(long) id,
  const(Vector2) coord,
  const(long) priority
) nothrow @nogc;