Class

SCNAnimationEvent

A container for a closure to be executed at a specific time during playback of an animation.

Declaration

class SCNAnimationEvent : NSObject

Overview

Use animation events to add actions to animations, such as playing a sound to coincide with the movement of an animated character, or removing a node from the scene after playing an animation that fades out its visible geometry.

After you create an animation event, you attach it to an animation object using the object’s animationEvents property.

Topics

Creating an Animation Event

Constants

typealias SCNAnimationEventBlock

Signature for the block called when an animation event triggers.

Relationships

Inherits From

Conforms To

See Also

Explicit Animation

protocol SCNAnimatable

The common interface for attaching animations to nodes, geometries, materials, and other SceneKit objects.