Instance Property

volume

The default playback volume for the audio source.

Declaration

var volume: Float { get set }

Discussion

This property determines the default volume for when a source begins playing. To vary the volume during playback through an SCNAudioPlayer object, use the player’s audioNode property to access real-time audio controls.

See Also

Setting Default Playback Parameters

var rate: Float

The default playback rate for the audio source.

var reverbBlend: Float

The default blend of blend of unmodified and reverb-processed (also called dry and wet) audio for playback of the audio source.

var loops: Bool

A Boolean value that determines whether the audio source should play repeatedly.

var shouldStream: Bool

A Boolean value that determines whether the audio source should stream content from its source URL when playing.