Function TileSet.autotileGetBitmask

Returns the bitmask of the subtile from an autotile given its coordinates. The value is the sum of the values in autotilebindings present in the subtile (e.g. a value of 5 means the bitmask has bindings in both the top left and top right).

long autotileGetBitmask (
  const(long) id,
  const(Vector2) coord
) nothrow @nogc;