فهرست منبع

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>;
     }
 }