Instance Property

autoplayLooped

A Boolean value that indicates whether the audio should play in a loop when the node is added to the scene.

Declaration

var autoplayLooped: Bool { get set }

Discussion

If the property value is true, then the audio starts playing as soon as the node is added to the scene, and repeats after it completes. If false, then the audio node’s content never plays automatically. It must be explicitly scheduled using the scene’s audio engine. The default value is true.

See Also

Configuring Audio Nodes

var avAudioNode: AVAudioNode?

The audio node’s current audio asset.

var isPositional: Bool

A Boolean property that indicates whether the node’s audio is altered based on the position of the node.