@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
21 lines • 745 B
TypeScript
export class SingleSoundMaterial extends AbstractSoundMaterialDefinition {
static fromJSON(j: any): SingleSoundMaterial;
spec: SoundAssetPlaybackSpec;
computeInteractionSounds(destination: any, destination_offset: any, interaction: any): number;
toJSON(): {
spec: {
volume: number;
source: string;
isSourceAlias: boolean;
};
};
fromJSON({ spec }: {
spec: any;
}): void;
}
export namespace SingleSoundMaterial {
let typeName: string;
}
import { AbstractSoundMaterialDefinition } from "../AbstractSoundMaterialDefinition.js";
import { SoundAssetPlaybackSpec } from "../../asset/SoundAssetPlaybackSpec.js";
//# sourceMappingURL=SingleSoundMaterial.d.ts.map