@dcl/playground-assets 7.14.1-19673051995.commit-94f9a7a → 7.14.1-19676464210.commit-6775120

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/alpha.d.ts CHANGED
@@ -4197,6 +4197,16 @@ export declare interface PBAudioStream {
4197
4197
  volume?: number | undefined;
4198
4198
  /** the audio stream HTTP URL */
4199
4199
  url: string;
4200
+ /**
4201
+ * either the audio will be global or spatial (default: false)
4202
+ * global: plays the same way for every listener. It is not affected by distance, direction, or position.
4203
+ * spatial: changes depending on where the listener is relative to the sound source
4204
+ */
4205
+ spatial?: boolean | undefined;
4206
+ /** Within the min distance the audio will cease to grow louder in volume (default: 0) */
4207
+ spatialMinDistance?: number | undefined;
4208
+ /** The distance where sound either becomes inaudible or stops attenuation (default: 60) */
4209
+ spatialMaxDistance?: number | undefined;
4200
4210
  }
4201
4211
 
4202
4212
  /**
@@ -5998,6 +6008,16 @@ export declare interface PBVideoPlayer {
5998
6008
  playbackRate?: number | undefined;
5999
6009
  /** default false */
6000
6010
  loop?: boolean | undefined;
6011
+ /**
6012
+ * either the audio will be global or spatial (default: false)
6013
+ * global: plays the same way for every listener. It is not affected by distance, direction, or position.
6014
+ * spatial: changes depending on where the listener is relative to the sound source
6015
+ */
6016
+ spatial?: boolean | undefined;
6017
+ /** Within the min distance the audio will cease to grow louder in volume (default: 0) */
6018
+ spatialMinDistance?: number | undefined;
6019
+ /** The distance where sound either becomes inaudible or stops attenuation (default: 60) */
6020
+ spatialMaxDistance?: number | undefined;
6001
6021
  }
6002
6022
 
6003
6023
  /**
package/dist/beta.d.ts CHANGED
@@ -4169,6 +4169,16 @@ export declare interface PBAudioStream {
4169
4169
  volume?: number | undefined;
4170
4170
  /** the audio stream HTTP URL */
4171
4171
  url: string;
4172
+ /**
4173
+ * either the audio will be global or spatial (default: false)
4174
+ * global: plays the same way for every listener. It is not affected by distance, direction, or position.
4175
+ * spatial: changes depending on where the listener is relative to the sound source
4176
+ */
4177
+ spatial?: boolean | undefined;
4178
+ /** Within the min distance the audio will cease to grow louder in volume (default: 0) */
4179
+ spatialMinDistance?: number | undefined;
4180
+ /** The distance where sound either becomes inaudible or stops attenuation (default: 60) */
4181
+ spatialMaxDistance?: number | undefined;
4172
4182
  }
4173
4183
 
4174
4184
  /**
@@ -5970,6 +5980,16 @@ export declare interface PBVideoPlayer {
5970
5980
  playbackRate?: number | undefined;
5971
5981
  /** default false */
5972
5982
  loop?: boolean | undefined;
5983
+ /**
5984
+ * either the audio will be global or spatial (default: false)
5985
+ * global: plays the same way for every listener. It is not affected by distance, direction, or position.
5986
+ * spatial: changes depending on where the listener is relative to the sound source
5987
+ */
5988
+ spatial?: boolean | undefined;
5989
+ /** Within the min distance the audio will cease to grow louder in volume (default: 0) */
5990
+ spatialMinDistance?: number | undefined;
5991
+ /** The distance where sound either becomes inaudible or stops attenuation (default: 60) */
5992
+ spatialMaxDistance?: number | undefined;
5973
5993
  }
5974
5994
 
5975
5995
  /**
@@ -4169,6 +4169,16 @@ export declare interface PBAudioStream {
4169
4169
  volume?: number | undefined;
4170
4170
  /** the audio stream HTTP URL */
4171
4171
  url: string;
4172
+ /**
4173
+ * either the audio will be global or spatial (default: false)
4174
+ * global: plays the same way for every listener. It is not affected by distance, direction, or position.
4175
+ * spatial: changes depending on where the listener is relative to the sound source
4176
+ */
4177
+ spatial?: boolean | undefined;
4178
+ /** Within the min distance the audio will cease to grow louder in volume (default: 0) */
4179
+ spatialMinDistance?: number | undefined;
4180
+ /** The distance where sound either becomes inaudible or stops attenuation (default: 60) */
4181
+ spatialMaxDistance?: number | undefined;
4172
4182
  }
4173
4183
 
4174
4184
  /**
@@ -5970,6 +5980,16 @@ export declare interface PBVideoPlayer {
5970
5980
  playbackRate?: number | undefined;
5971
5981
  /** default false */
5972
5982
  loop?: boolean | undefined;
5983
+ /**
5984
+ * either the audio will be global or spatial (default: false)
5985
+ * global: plays the same way for every listener. It is not affected by distance, direction, or position.
5986
+ * spatial: changes depending on where the listener is relative to the sound source
5987
+ */
5988
+ spatial?: boolean | undefined;
5989
+ /** Within the min distance the audio will cease to grow louder in volume (default: 0) */
5990
+ spatialMinDistance?: number | undefined;
5991
+ /** The distance where sound either becomes inaudible or stops attenuation (default: 60) */
5992
+ spatialMaxDistance?: number | undefined;
5973
5993
  }
5974
5994
 
5975
5995
  /**