Audio · function
createListener
The listener for a console. One per mix; everything placed in the world reads it.
Explained in Your first game.
function createListener(mix: MixConsole): AudioListenerGraphimport { createListener } from '@driftengine/audio';Parameters
| Parameter | Type | Description |
|---|---|---|
mix | MixConsole |