The abstract superclass for Core Animation animations.
- iOS 2.0+
- macOS 10.5+
- tvOS 9.0+
- Core Animation
CAAnimation provides the basic support for the
CAAction protocols. You do not create instance of
CAAnimation: to animate Core Animation layers or SceneKit objects, create instances of the concrete subclasses
Animating Core Animation Layers
Animating Scene Kit Content
In Scene Kit, animation objects represent not only property-based animations, but also animations of geometry data created with external 3D authoring tools and loaded from a scene file. You use the properties of the
CAAnimation object representing a geometry animation to control its timing, monitor its progress, and attach actions for Scene Kit to trigger during the animation. You can attach animations to Scene Kit objects that adopt the
SCNAnimatable protocol, including nodes, geometries, and materials.
In a Scene Kit app,
CAAnimation objects support additional methods and properties, listed under Controlling SceneKit Animation Timing, Fading Between SceneKit Animations, and Attaching SceneKit Animation Events.