Instance Property

textures

An array of SKTexture objects that defines the tile definition object's content.

Declaration

var textures: [SKTexture] { get set }

Discussion

If the tile is non-animated, this will be an array containing one textures.

See Also

Configure Animated Tile Properties

var normalTextures: [SKTexture]

An array of SKTexture objects used to generate the normals for the tile to simulate 3D lighting.

var timePerFrame: CGFloat

The duration, in seconds, that each texture in the textures array is displayed before switching to the next texture in the sequence.