Hierarchy

  • PBVideoPlayer

Properties

loop?: boolean

default false

playbackRate?: number

default 1.0

playing?: boolean

default true

position?: number

default 0.0

spatial?: boolean

either the audio will be global or spatial (default: false) global: plays the same way for every listener. It is not affected by distance, direction, or position. spatial: changes depending on where the listener is relative to the sound source

spatialMaxDistance?: number

The distance where sound either becomes inaudible or stops attenuation (default: 60)

spatialMinDistance?: number

Within the min distance the audio will cease to grow louder in volume (default: 0)

src: string

which file to load

volume?: number

default 1.0