Creates an action that executes a block.
- iOS 8.0+
- macOS 10.10+
- tvOS 9.0+
- watchOS 3.0+
The block to run. The block takes a single parameter:
The node on which the action is running.
A new action object.
When the action executes, SceneKit calls the block. This action takes place instantaneously.
This action is not reversible; the reverse action executes the same block.