List of media sources used by this Pool.
Fires when the Pool stops and is not looping.
Fires for each drop in the Pool. Callback is passed the drop index.
The number of times the present run will drop.
The distribution weighting for drops in the Pool * (1 = neutral, lower = later, higher = earlier). Uses weightedRandom under the hood.
NB: This will be changed to use a distribution function in future versions.
Total duration of the current iteration of the pool (ms).
Whether the Pool should restart when it ends.
Determines whether the Assets will be played in order or at random. (To weight the randomness, add duplicate Assets.)
Fires when the Pool is paused.
Fires when media starts to play.
Queued sources or media.
Fires when the Pool is resumed.
Fires at the start of a Pool cycle.
Fires at the end of a Pool cycle.
Pauses the Pool.
Preloads all of the assets provided to the Pool.
An Observable which fires when all the sources have preloaded. The point at which the source is deemed to have been preloaded is determined by the subclass.
Resumes the Pool.
Starts the pool.
Generated using TypeDoc
MediaPool
A Pool which handles time-based media. See VideoPool and AudioPool.