1681-engine / index / spatialMix
Function: spatialMix() ​
ts
function spatialMix(
listener,
source,
options?
): SpatialMix;Defined in: src/audio/spatial.ts:35
The mix of a source at source heard from listener: louder near, panned to its side, duller far.
Parameters ​
| Parameter | Type |
|---|---|
listener | Point |
source | Point |
options | SpatialMixOptions |