ソースを参照

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