File size: 567 Bytes
6cd9596
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { AudioListener } from './AudioListener';
import { Audio } from './Audio';

export class PositionalAudio extends Audio {
	constructor(listener: AudioListener);

	panner: PannerNode;

	setRefDistance(value: number): this;
	getRefDistance(): number;
	setRolloffFactor(value: number): this;
	getRolloffFactor(): number;
	setDistanceModel(value: string): this;
	getDistanceModel(): string;
	setMaxDistance(value: number): this;
	getMaxDistance(): number;
	setDirectionalCone(
		coneInnerAngle: number,
		coneOuterAngle: number,
		coneOuterGain: number
	): this;
}