Contents

addKeyframeValue(_:time:)

Adds a keyframe to the sequence.

Declaration

func addKeyframeValue(_ value: Any, time: CGFloat)

Parameters

  • value:

    An object that defines the value to add. It must have the same class as other value objects stored in the sequence.

  • time:

    The corresponding time.

Discussion

The new keyframe is appended to the end of the array.

See Also

Sequence Building