SKTextureAtlas
extension SKTextureAtlas
-
Convert this atlas to a list of animated frames.
Declaration
Swift
public func toFrames(reversable: Bool = false) -> [SKTexture]
Parameters
reversable
Whether the animation should play in reverse afterwards. Defaults to false.
Return Value
A list of textures that make up the animation.