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

@property(nonatomic, assign) BOOL autoplayLooped;

Discussion

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

See Also

Configuring Audio Nodes

avAudioNode

The audio node’s current audio asset.

positional

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