Instance Property

timePerFrame

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

Declaration

var timePerFrame: CGFloat { get set }

See Also

Configure Animated Tile Properties

var textures: [SKTexture]

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

var normalTextures: [SKTexture]

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