The default playback rate for the audio source.
SDKs
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
Framework
- Scene
Kit
Declaration
var rate: Float { get set }
Discussion
This property determines the default rate for when a source begins playing. To vary the rate during playback through an SCNAudio
object, use the player’s audio
property to access real-time audio controls.