Instance Property

animation

The Core Animation object defining the behavior of the property animation.

Declaration

@property(nonatomic, retain) CAAnimation *animation;

Discussion

You can use different CAAnimation subclasses to animate effects in different ways. For example, a CABasicAnimation transitions a property from one value to another, and a CAKeyframeAnimation transitions a property through a series of values. You use properties of the animation object to define its timing curve, repeat mode, and other options.

SceneKit ignores the keyPath property of this animation object. Instead, when you attach a property controller to a particle system’s propertyControllers dictionary, use one of the keys listed in Particle Property Keys to specify which particle property it animates. SceneKit also ignores the animation’s duration and repeatCount properties. Instead, the controller defines the behavior of the animation’s input value.

See Also

Managing the Controller’s Animation

inputMode

The mode that determines input values for the property controller’s animation.

inputBias

An offset to add to the input value of the controller’s animation.

inputScale

A factor for multiplying the input value of the controller’s animation.

inputOrigin

A node whose distance to each particle provides input values for the controller’s animation.

inputProperty

A particle property that provides input values for this property controller’s animation.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software