web3d / node_modules /three /src /audio /PositionalAudio.d.ts
julien-c's picture
julien-c HF staff
do not gitignore the builds
6cd9596
raw
history blame
567 Bytes
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;
}