A node that draws a rectangular texture, image or color.
- iOS 8.0+
- macOS 10.10+
- tvOS 9.0+
- watchOS 3.0+
SKSpriteNode is a node that draws a texture (optionally blended with a color), an image, a colored square. You can also provide a custom shader to create your own rendering effects.
Sprite nodes can be lit with
SKLightNode objects and optionally cast and receive shadows. 3D lighting can be simulated by supplying a separate normal texture or automatically generating a normal texture from an image.