new Chain(renderer:GlRenderer, options:Object)
A Chain is string of sources, stacked on top of each other
Chain Example on codepen:
codepen
Chains together a string of sources, gives them an alpha channel, and allows for switching them on and off with fade effects. Ideal for a piano board or a midicontroller
Parameters:
Name | Type | Description |
---|---|---|
renderer:GlRenderer |
||
options:Object |
- Implements:
- Source:
Example
let myChain = new Chain( renderer, { sources: [ myVideoSource, myOtherMixer, yetAnotherSource ] } );