SKKeyframeSequence
An object that performs interpolation between values specified at different times (keyframes).
Declaration
class SKKeyframeSequenceMentioned in
Overview
The primary use for an SKKeyframeSequence object is to animate properties on particles emitted by an SKEmitterNode object, but it can also be used for your general interpolation needs across a discrete set of inputs.
When a keyframe sequence is used with an emitter node, particles determine their values by sampling the keyframe sequence. The sequence replaces the normal simulation performed by the emitter node.
Topics
First Steps
Using Keyframe Sequence to effect Custom Interpolationinit(keyframeValues:times:)init(capacity:)init(coder:)
Sequence Building
addKeyframeValue(_:time:)removeKeyframe(at:)removeLastKeyframe()setKeyframeTime(_:for:)setKeyframeValue(_:for:)setKeyframeValue(_:time:for:)