Edit

Share via


SKRepeatMode Enum

Definition

An enumeration whose values specify whether the time value of a SKKeyframeSequence should cycle.

public enum SKRepeatMode
type SKRepeatMode = 
Inheritance
SKRepeatMode

Fields

Name Value Description
Clamp 1

After the last keyframe's time sequence is past, the last keyframe's value is returned.

Loop 2

After the last keyframe's time sequence is past, the sequence loops back to the first keyframe.

Applies to