浏览代码

Added missing property type declaration.

Filip Witosz 6 年之前
父节点
当前提交
5b9887ee07
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      src/Audio/audioSceneComponent.ts

+ 6 - 0
src/Audio/audioSceneComponent.ts

@@ -84,6 +84,12 @@ declare module "../scene" {
          * @see http://doc.babylonjs.com/how_to/playing_sounds_and_music
          */
         headphone: boolean;
+
+        /**
+         * Gets or sets custom audio listener position provider
+         * @see http://doc.babylonjs.com/how_to/playing_sounds_and_music
+         */
+        audioListenerPositionProvider: Nullable<() => Vector3>;
     }
 }