Enumeration

SKActionTimingMode

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

Declaration

typedef enum SKActionTimingMode : NSInteger {
    ...
} SKActionTimingMode;

Topics

Constants

SKActionTimingLinear

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

SKActionTimingEaseIn

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

SKActionTimingEaseOut

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

SKActionTimingEaseInEaseOut

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.

See Also

Controlling Action Timing

Configuring Action Timing

Time an action in a scene, by adding or modifying timing properties, or cancel an action.

duration

The duration required to complete an action.

timingMode

A setting that controls the speed curve of an animation.

timingFunction

A block used to customize the timing function.

SKActionTimingFunction

The signature for the custom timing block.

speed

A speed factor that modifies how fast an action runs.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software