Enumeration

SKActionTimingMode

The modes that an action can use to adjust the apparent timing of the action.

Declaration

enum SKActionTimingMode : Int

Topics

Constants

case linear

Specifies linear pacing. Linear pacing causes an animation to occur evenly over its duration.

case easeIn

Specifies ease-in pacing. Ease-in pacing causes the animation to begin slowly and then speed up as it progresses.

case easeOut

Specifies ease-out pacing. Ease-out pacing causes the animation to begin quickly and then slow as it completes.

case easeInEaseOut

Specifies ease-in ease-out pacing. An ease-in ease-out animation begins slowly, accelerates through the middle of its duration, and then slows again before completing.