Adds an action to the list of actions executed by the node. SceneKit calls the specified block when the action completes.
- iOS 8.0+
- macOS 10.10+
- tvOS 9.0+
- watchOS 2.0+
The action to be performed.
A completion block that SceneKit calls when the action completes.
The new action is processed the next time SceneKit prepares to render a frame.
SceneKit calls your block after the action’s duration is complete. For example, in a game you could use this method to show a Game Over message after performing a fade-out action on a node that displays a player character.