Creates an action that adjusts the opacity of a node by a relative value.
- iOS 8.0+
- macOS 10.10+
- tvOS 9.0+
- watchOS 3.0+
The amount to change the node’s opacity by.
The duration, in seconds, of the animation.
A new action object.
When the action executes, the node’s
opacity property animates to its new value.
This action is reversible; the reverse is created as if the following code had been executed: