SpriteKit Enumerations

Enumerations used across SpriteKit.

Topics

Enumerations

SKActionTimingMode

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

SKAttributeType

Options that specify an attribute's data type.

SKBlendMode

The modes that describe how the source and destination pixel colors are used to calculate the new destination color.

SKInterpolationMode

The modes used to interpolate between keyframes in the sequence.

SKLabelHorizontalAlignmentMode

Options for aligning text horizontally.

SKLabelVerticalAlignmentMode

Options for aligning text vertically.

SKParticleRenderOrder

The order to use when the emitter’s particles are rendered.

SKRepeatMode

The modes used to determine how the sequence repeats.

SKSceneScaleMode

The modes that determine how the scene’s area is mapped to the view that presents it.

SKTextureFilteringMode

Texture filtering modes to use when the texture is drawn in a size other than its native size.

SKTileAdjacencyMask

An enumeration defining how neighboring tiles are automatically placed next to each other.

SKTileDefinitionRotation

The allowed rotations for a given tile.

SKTileSetType

An enumeration defining how tiles are arranged.

SKTransitionDirection

For some transitions, the direction in which the transition is performed.

SKUniformType

An enumerated type to identify the type of a uniform object.

SKNodeFocusBehavior

Options for the focusable states of a SpriteKit node.