Creates an action that rotates the node to an absolute angle around a specified axis.
- iOS 8.0+
- macOS 10.10+
- tvOS 9.0+
- watchOS 3.0+
A four-component vector whose first three components are a vector in the node’s local coordinate space specifying an axis and whose fourth component is the amount to rotate the node counterclockwise around that axis, in radians.
The duration, in seconds, of the animation.
A new action object.
When the action executes, the node’s
rotation property animates to the new angle.
This action is not reversible; the reverse of this action has the same duration but does not change anything.