For animations attached to SceneKit objects, the duration for transitioning out of the animation’s effect as it ends.
- iOS 8.0+
- macOS 10.9+
- tvOS 9.0+
Use this property to create smooth transitions between the effects of multiple animations. These transitions are especially useful for geometry animations created with external 3D authoring tools.
For example, the geometry loaded from a scene file for a game character may have associated animations for player actions such as walking and jumping. When the player jumps, if the fade duration is zero, SceneKit abruptly switches from the current frame of the walk animation to the first frame of the jump animation. If the fade duration is greater than zero, SceneKit plays both animations at once during that duration and interpolates vertex positions from one animation to the other, creating a smooth transition.
To attach animations to SceneKit objects, see