Forráskód Böngészése

Added missing property type declaration.

Filip Witosz 6 éve
szülő
commit
5b9887ee07
1 módosított fájl, 6 hozzáadás és 0 törlés
  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>;
     }
 }