mwg API
    Preparing search index...

    Variable XP_NEIGHBORS_TO_PATTERNConst

    XP_NEIGHBORS_TO_PATTERN: readonly number[] = ...

    Which XP pattern an 8-neighbourhood of same-autotile cells bakes to. Index with a bit mask - north 0x01, northeast 0x02, east 0x04, southeast 0x08, south 0x10, southwest 0x20, west 0x40, northwest 0x80 - for games computing patterns procedurally instead of reading baked map data.