Hierarchy

  • PBAudioSource

Properties

audioClipUrl: string

the clip path as given in the files array of the scene's manifest.

currentTime?: number

specifies the current playback time of the clip in seconds (default: 0).

global?: boolean

whether the audio plays at constant volume across the scene.

loop?: boolean

whether the clip should restart when finished.

pitch?: number

the audio pitch (default: 1.0).

playing?: boolean

whether the clip is currently playing.

volume?: number

the audio volume (default: 1.0).