Contents

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