TileMap.centeredTextures

If true, the textures will be centered in the middle of each tile. This is useful for certain isometric or top-down modes when textures are made larger or smaller than the tiles (e.g. to avoid flickering on tile edges). The offset is still applied, but from the center of the tile. If used, compatibilityMode is ignored. If false, the texture position start in the top-left corner unless compatibilityMode is enabled.

  1. bool centeredTextures [@property getter]
    struct TileMap
    @nogc nothrow @property
    bool
    centeredTextures
    ()
  2. bool centeredTextures [@property setter]

Meta