animate(withWarps:times:)
Creates an action to distort a node through a sequence of Skwarpgeometry objects.
Declaration
class func animate(withWarps warps: [SKWarpGeometry], times: [NSNumber]) -> SKAction?Parameters
- warps:
The sequence of warps to apply to the node.
- times:
The times at which each warp distortion in the sequence should complete.
Mentioned in
Return Value
A new action object.
Discussion
The numberOfColumns and numberOfRows in each geometry in the sequence should match.