Creates an action that changes an audio node’s occlusion by a relative value.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The amount to change the occlusion by, in decibels.
The duration of the animation, in seconds.
A new action object.
When the action executes, the audio node’s occlusion animates from its current value to its new value. For more information, see
This action is reversible; the reverse is created as if the following code is executed: