Instance Property


For animations attached to SceneKit objects, a list of events attached to an animation.


var animationEvents: [SCNAnimationEvent]? { get set }


An array of SCNAnimationEvent objects, each of which adds a timed action to the animation.

For example, you can create animation events that play sound effects timed to match the footsteps of an animated game character or that add new nodes to the scene when an animation completes.

To attach animations to SceneKit objects, see SCNAnimatable.