@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 +20 -0
- package/dist/beta.d.ts +20 -0
- package/dist/index.bundled.d.ts +20 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +20 -0
- package/etc/playground-assets.api.json +162 -0
- package/etc/playground-assets.api.md +6 -0
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/sdk",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.14.1-
|
|
4
|
+
"version": "7.14.1-19676464210.commit-6775120",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@dcl/ecs": "file:../ecs",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
},
|
|
36
36
|
"types": "./index.d.ts",
|
|
37
37
|
"typings": "./index.d.ts",
|
|
38
|
-
"commit": "
|
|
38
|
+
"commit": "6775120bd3e871f140f4bf4ee798bf398527bd0c"
|
|
39
39
|
}
|
|
@@ -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
|
/**
|
|
@@ -38287,6 +38287,87 @@
|
|
|
38287
38287
|
"endIndex": 2
|
|
38288
38288
|
}
|
|
38289
38289
|
},
|
|
38290
|
+
{
|
|
38291
|
+
"kind": "PropertySignature",
|
|
38292
|
+
"canonicalReference": "@dcl/playground-assets!PBAudioStream#spatial:member",
|
|
38293
|
+
"docComment": "/**\n * either the audio will be global or spatial (default: false) global: plays the same way for every listener. It is not affected by distance, direction, or position. spatial: changes depending on where the listener is relative to the sound source\n */\n",
|
|
38294
|
+
"excerptTokens": [
|
|
38295
|
+
{
|
|
38296
|
+
"kind": "Content",
|
|
38297
|
+
"text": "spatial?: "
|
|
38298
|
+
},
|
|
38299
|
+
{
|
|
38300
|
+
"kind": "Content",
|
|
38301
|
+
"text": "boolean | undefined"
|
|
38302
|
+
},
|
|
38303
|
+
{
|
|
38304
|
+
"kind": "Content",
|
|
38305
|
+
"text": ";"
|
|
38306
|
+
}
|
|
38307
|
+
],
|
|
38308
|
+
"isReadonly": false,
|
|
38309
|
+
"isOptional": true,
|
|
38310
|
+
"releaseTag": "Public",
|
|
38311
|
+
"name": "spatial",
|
|
38312
|
+
"propertyTypeTokenRange": {
|
|
38313
|
+
"startIndex": 1,
|
|
38314
|
+
"endIndex": 2
|
|
38315
|
+
}
|
|
38316
|
+
},
|
|
38317
|
+
{
|
|
38318
|
+
"kind": "PropertySignature",
|
|
38319
|
+
"canonicalReference": "@dcl/playground-assets!PBAudioStream#spatialMaxDistance:member",
|
|
38320
|
+
"docComment": "/**\n * The distance where sound either becomes inaudible or stops attenuation (default: 60)\n */\n",
|
|
38321
|
+
"excerptTokens": [
|
|
38322
|
+
{
|
|
38323
|
+
"kind": "Content",
|
|
38324
|
+
"text": "spatialMaxDistance?: "
|
|
38325
|
+
},
|
|
38326
|
+
{
|
|
38327
|
+
"kind": "Content",
|
|
38328
|
+
"text": "number | undefined"
|
|
38329
|
+
},
|
|
38330
|
+
{
|
|
38331
|
+
"kind": "Content",
|
|
38332
|
+
"text": ";"
|
|
38333
|
+
}
|
|
38334
|
+
],
|
|
38335
|
+
"isReadonly": false,
|
|
38336
|
+
"isOptional": true,
|
|
38337
|
+
"releaseTag": "Public",
|
|
38338
|
+
"name": "spatialMaxDistance",
|
|
38339
|
+
"propertyTypeTokenRange": {
|
|
38340
|
+
"startIndex": 1,
|
|
38341
|
+
"endIndex": 2
|
|
38342
|
+
}
|
|
38343
|
+
},
|
|
38344
|
+
{
|
|
38345
|
+
"kind": "PropertySignature",
|
|
38346
|
+
"canonicalReference": "@dcl/playground-assets!PBAudioStream#spatialMinDistance:member",
|
|
38347
|
+
"docComment": "/**\n * Within the min distance the audio will cease to grow louder in volume (default: 0)\n */\n",
|
|
38348
|
+
"excerptTokens": [
|
|
38349
|
+
{
|
|
38350
|
+
"kind": "Content",
|
|
38351
|
+
"text": "spatialMinDistance?: "
|
|
38352
|
+
},
|
|
38353
|
+
{
|
|
38354
|
+
"kind": "Content",
|
|
38355
|
+
"text": "number | undefined"
|
|
38356
|
+
},
|
|
38357
|
+
{
|
|
38358
|
+
"kind": "Content",
|
|
38359
|
+
"text": ";"
|
|
38360
|
+
}
|
|
38361
|
+
],
|
|
38362
|
+
"isReadonly": false,
|
|
38363
|
+
"isOptional": true,
|
|
38364
|
+
"releaseTag": "Public",
|
|
38365
|
+
"name": "spatialMinDistance",
|
|
38366
|
+
"propertyTypeTokenRange": {
|
|
38367
|
+
"startIndex": 1,
|
|
38368
|
+
"endIndex": 2
|
|
38369
|
+
}
|
|
38370
|
+
},
|
|
38290
38371
|
{
|
|
38291
38372
|
"kind": "PropertySignature",
|
|
38292
38373
|
"canonicalReference": "@dcl/playground-assets!PBAudioStream#url:member",
|
|
@@ -58976,6 +59057,87 @@
|
|
|
58976
59057
|
"endIndex": 2
|
|
58977
59058
|
}
|
|
58978
59059
|
},
|
|
59060
|
+
{
|
|
59061
|
+
"kind": "PropertySignature",
|
|
59062
|
+
"canonicalReference": "@dcl/playground-assets!PBVideoPlayer#spatial:member",
|
|
59063
|
+
"docComment": "/**\n * either the audio will be global or spatial (default: false) global: plays the same way for every listener. It is not affected by distance, direction, or position. spatial: changes depending on where the listener is relative to the sound source\n */\n",
|
|
59064
|
+
"excerptTokens": [
|
|
59065
|
+
{
|
|
59066
|
+
"kind": "Content",
|
|
59067
|
+
"text": "spatial?: "
|
|
59068
|
+
},
|
|
59069
|
+
{
|
|
59070
|
+
"kind": "Content",
|
|
59071
|
+
"text": "boolean | undefined"
|
|
59072
|
+
},
|
|
59073
|
+
{
|
|
59074
|
+
"kind": "Content",
|
|
59075
|
+
"text": ";"
|
|
59076
|
+
}
|
|
59077
|
+
],
|
|
59078
|
+
"isReadonly": false,
|
|
59079
|
+
"isOptional": true,
|
|
59080
|
+
"releaseTag": "Public",
|
|
59081
|
+
"name": "spatial",
|
|
59082
|
+
"propertyTypeTokenRange": {
|
|
59083
|
+
"startIndex": 1,
|
|
59084
|
+
"endIndex": 2
|
|
59085
|
+
}
|
|
59086
|
+
},
|
|
59087
|
+
{
|
|
59088
|
+
"kind": "PropertySignature",
|
|
59089
|
+
"canonicalReference": "@dcl/playground-assets!PBVideoPlayer#spatialMaxDistance:member",
|
|
59090
|
+
"docComment": "/**\n * The distance where sound either becomes inaudible or stops attenuation (default: 60)\n */\n",
|
|
59091
|
+
"excerptTokens": [
|
|
59092
|
+
{
|
|
59093
|
+
"kind": "Content",
|
|
59094
|
+
"text": "spatialMaxDistance?: "
|
|
59095
|
+
},
|
|
59096
|
+
{
|
|
59097
|
+
"kind": "Content",
|
|
59098
|
+
"text": "number | undefined"
|
|
59099
|
+
},
|
|
59100
|
+
{
|
|
59101
|
+
"kind": "Content",
|
|
59102
|
+
"text": ";"
|
|
59103
|
+
}
|
|
59104
|
+
],
|
|
59105
|
+
"isReadonly": false,
|
|
59106
|
+
"isOptional": true,
|
|
59107
|
+
"releaseTag": "Public",
|
|
59108
|
+
"name": "spatialMaxDistance",
|
|
59109
|
+
"propertyTypeTokenRange": {
|
|
59110
|
+
"startIndex": 1,
|
|
59111
|
+
"endIndex": 2
|
|
59112
|
+
}
|
|
59113
|
+
},
|
|
59114
|
+
{
|
|
59115
|
+
"kind": "PropertySignature",
|
|
59116
|
+
"canonicalReference": "@dcl/playground-assets!PBVideoPlayer#spatialMinDistance:member",
|
|
59117
|
+
"docComment": "/**\n * Within the min distance the audio will cease to grow louder in volume (default: 0)\n */\n",
|
|
59118
|
+
"excerptTokens": [
|
|
59119
|
+
{
|
|
59120
|
+
"kind": "Content",
|
|
59121
|
+
"text": "spatialMinDistance?: "
|
|
59122
|
+
},
|
|
59123
|
+
{
|
|
59124
|
+
"kind": "Content",
|
|
59125
|
+
"text": "number | undefined"
|
|
59126
|
+
},
|
|
59127
|
+
{
|
|
59128
|
+
"kind": "Content",
|
|
59129
|
+
"text": ";"
|
|
59130
|
+
}
|
|
59131
|
+
],
|
|
59132
|
+
"isReadonly": false,
|
|
59133
|
+
"isOptional": true,
|
|
59134
|
+
"releaseTag": "Public",
|
|
59135
|
+
"name": "spatialMinDistance",
|
|
59136
|
+
"propertyTypeTokenRange": {
|
|
59137
|
+
"startIndex": 1,
|
|
59138
|
+
"endIndex": 2
|
|
59139
|
+
}
|
|
59140
|
+
},
|
|
58979
59141
|
{
|
|
58980
59142
|
"kind": "PropertySignature",
|
|
58981
59143
|
"canonicalReference": "@dcl/playground-assets!PBVideoPlayer#src:member",
|
|
@@ -2181,6 +2181,9 @@ export namespace PBAudioSource {
|
|
|
2181
2181
|
// @public (undocumented)
|
|
2182
2182
|
export interface PBAudioStream {
|
|
2183
2183
|
playing?: boolean | undefined;
|
|
2184
|
+
spatial?: boolean | undefined;
|
|
2185
|
+
spatialMaxDistance?: number | undefined;
|
|
2186
|
+
spatialMinDistance?: number | undefined;
|
|
2184
2187
|
url: string;
|
|
2185
2188
|
volume?: number | undefined;
|
|
2186
2189
|
}
|
|
@@ -3484,6 +3487,9 @@ export interface PBVideoPlayer {
|
|
|
3484
3487
|
playbackRate?: number | undefined;
|
|
3485
3488
|
playing?: boolean | undefined;
|
|
3486
3489
|
position?: number | undefined;
|
|
3490
|
+
spatial?: boolean | undefined;
|
|
3491
|
+
spatialMaxDistance?: number | undefined;
|
|
3492
|
+
spatialMinDistance?: number | undefined;
|
|
3487
3493
|
src: string;
|
|
3488
3494
|
volume?: number | undefined;
|
|
3489
3495
|
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.14.1-
|
|
4
|
+
"version": "7.14.1-19676464210.commit-6775120",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.14.1-
|
|
8
|
-
"@dcl/sdk": "7.14.1-
|
|
7
|
+
"@dcl/js-runtime": "7.14.1-19676464210.commit-6775120",
|
|
8
|
+
"@dcl/sdk": "7.14.1-19676464210.commit-6775120"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@microsoft/api-extractor": "^7.33.8"
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
},
|
|
33
33
|
"types": "./dist/index.d.ts",
|
|
34
34
|
"typings": "./dist/index.d.ts",
|
|
35
|
-
"commit": "
|
|
35
|
+
"commit": "6775120bd3e871f140f4bf4ee798bf398527bd0c"
|
|
36
36
|
}
|