A single tile that can be repeated in a tile map.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+Beta
- tvOS 10.0+
- watchOS 3.0+
To define the visual representation of a single tile, you create an
SKTile object with texture and size information. Tile definitions support separate normal textures, for simulating 3D lighting, and arrays of textures for animation with speed controlled by the
time property. Textures can be rotated in 90˚ increments or flipped either vertically or horizontally.