Browse Source

Added missing property type declaration.

Filip Witosz 6 năm trước cách đây
mục cha
commit
5b9887ee07
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  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>;
     }
 }