babylon.soundtrack.d.ts 466 B

123456789101112131415
  1. declare module BABYLON {
  2. class SoundTrack {
  3. private _audioEngine;
  4. private _trackGain;
  5. private _trackConvolver;
  6. private _scene;
  7. public id: number;
  8. public soundCollection: Sound[];
  9. private _isMainTrack;
  10. constructor(scene: Scene, options?: any);
  11. public AddSound(sound: Sound): void;
  12. public RemoveSound(sound: Sound): void;
  13. public setVolume(newVolume: number): void;
  14. }
  15. }