Type Property

animationDuration

Returns the duration, in seconds, of all animations within the current transaction.

Declaration

class var animationDuration: CFTimeInterval { get set }

Return Value

The animation duration, in seconds.

Discussion

The default duration is zero for transactions automatically created by SceneKit, and 0.25 for animations you create using the begin() method.

See Also

Overriding Animation Duration and Timing

class var animationTimingFunction: CAMediaTimingFunction?

Returns the timing function that SceneKit uses for all animations within this transaction group.

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