@dcl/playground-assets 7.0.6-4077633874.commit-07aedd3 → 7.0.6-4078495586.commit-3336b11

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
- "version": "7.0.6-4077633874.commit-07aedd3",
3
+ "version": "7.0.6-4078495586.commit-3336b11",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",
@@ -53,5 +53,5 @@
53
53
  "displayName": "SDK",
54
54
  "tsconfig": "./tsconfig.json"
55
55
  },
56
- "commit": "07aedd329ce99159c73a36bc925f77e441921ba6"
56
+ "commit": "3336b1111c1327d749544df791af1a50df0c18c6"
57
57
  }
@@ -3489,6 +3489,24 @@ export declare interface PBVector3 {
3489
3489
  z: number;
3490
3490
  }
3491
3491
 
3492
+ /**
3493
+ * @public
3494
+ */
3495
+ export declare interface PBVideoPlayer {
3496
+ /** which file to load */
3497
+ src: string;
3498
+ /** default true */
3499
+ playing?: boolean | undefined;
3500
+ /** default 0.0 */
3501
+ position?: number | undefined;
3502
+ /** default 1.0 */
3503
+ volume?: number | undefined;
3504
+ /** default 1.0 */
3505
+ playbackRate?: number | undefined;
3506
+ /** default false */
3507
+ loop?: boolean | undefined;
3508
+ }
3509
+
3492
3510
  /**
3493
3511
  * @public
3494
3512
  */
@@ -4396,6 +4414,10 @@ export declare interface TextureHelper {
4396
4414
  * @returns the avatar texture of userId specified
4397
4415
  */
4398
4416
  Avatar: (avatarTexture: AvatarTexture) => TextureUnion;
4417
+ /**
4418
+ * @returns the video texture of videoPlayerEntity specified
4419
+ */
4420
+ Video: (videoTexture: VideoTexture) => TextureUnion;
4399
4421
  }
4400
4422
 
4401
4423
  /**
@@ -4424,6 +4446,9 @@ export declare interface TextureUnion {
4424
4446
  } | {
4425
4447
  $case: "avatarTexture";
4426
4448
  avatarTexture: AvatarTexture;
4449
+ } | {
4450
+ $case: "videoTexture";
4451
+ videoTexture: VideoTexture;
4427
4452
  };
4428
4453
  }
4429
4454
 
@@ -5304,6 +5329,20 @@ export declare type Vector3Type = {
5304
5329
  z: number;
5305
5330
  };
5306
5331
 
5332
+ /** @public */
5333
+ export declare const VideoPlayer: ComponentDefinition<PBVideoPlayer>;
5334
+
5335
+ /**
5336
+ * @public
5337
+ */
5338
+ export declare interface VideoTexture {
5339
+ videoPlayerEntity: number;
5340
+ /** default = TextureWrapMode.Clamp */
5341
+ wrapMode?: TextureWrapMode | undefined;
5342
+ /** default = FilterMode.Bilinear */
5343
+ filterMode?: TextureFilterMode | undefined;
5344
+ }
5345
+
5307
5346
  /** @public */
5308
5347
  export declare const VisibilityComponent: ComponentDefinition<PBVisibilityComponent>;
5309
5348
 
@@ -33034,6 +33034,186 @@
33034
33034
  ],
33035
33035
  "extendsTokenRanges": []
33036
33036
  },
33037
+ {
33038
+ "kind": "Interface",
33039
+ "canonicalReference": "@dcl/playground-assets!PBVideoPlayer:interface",
33040
+ "docComment": "/**\n * @public\n */\n",
33041
+ "excerptTokens": [
33042
+ {
33043
+ "kind": "Content",
33044
+ "text": "export interface PBVideoPlayer "
33045
+ }
33046
+ ],
33047
+ "fileUrlPath": "../ecs/dist/components/generated/pb/decentraland/sdk/components/video_player.gen.d.ts",
33048
+ "releaseTag": "Public",
33049
+ "name": "PBVideoPlayer",
33050
+ "preserveMemberOrder": false,
33051
+ "members": [
33052
+ {
33053
+ "kind": "PropertySignature",
33054
+ "canonicalReference": "@dcl/playground-assets!PBVideoPlayer#loop:member",
33055
+ "docComment": "/**\n * default false\n */\n",
33056
+ "excerptTokens": [
33057
+ {
33058
+ "kind": "Content",
33059
+ "text": "loop?: "
33060
+ },
33061
+ {
33062
+ "kind": "Content",
33063
+ "text": "boolean | undefined"
33064
+ },
33065
+ {
33066
+ "kind": "Content",
33067
+ "text": ";"
33068
+ }
33069
+ ],
33070
+ "isReadonly": false,
33071
+ "isOptional": true,
33072
+ "releaseTag": "Public",
33073
+ "name": "loop",
33074
+ "propertyTypeTokenRange": {
33075
+ "startIndex": 1,
33076
+ "endIndex": 2
33077
+ }
33078
+ },
33079
+ {
33080
+ "kind": "PropertySignature",
33081
+ "canonicalReference": "@dcl/playground-assets!PBVideoPlayer#playbackRate:member",
33082
+ "docComment": "/**\n * default 1.0\n */\n",
33083
+ "excerptTokens": [
33084
+ {
33085
+ "kind": "Content",
33086
+ "text": "playbackRate?: "
33087
+ },
33088
+ {
33089
+ "kind": "Content",
33090
+ "text": "number | undefined"
33091
+ },
33092
+ {
33093
+ "kind": "Content",
33094
+ "text": ";"
33095
+ }
33096
+ ],
33097
+ "isReadonly": false,
33098
+ "isOptional": true,
33099
+ "releaseTag": "Public",
33100
+ "name": "playbackRate",
33101
+ "propertyTypeTokenRange": {
33102
+ "startIndex": 1,
33103
+ "endIndex": 2
33104
+ }
33105
+ },
33106
+ {
33107
+ "kind": "PropertySignature",
33108
+ "canonicalReference": "@dcl/playground-assets!PBVideoPlayer#playing:member",
33109
+ "docComment": "/**\n * default true\n */\n",
33110
+ "excerptTokens": [
33111
+ {
33112
+ "kind": "Content",
33113
+ "text": "playing?: "
33114
+ },
33115
+ {
33116
+ "kind": "Content",
33117
+ "text": "boolean | undefined"
33118
+ },
33119
+ {
33120
+ "kind": "Content",
33121
+ "text": ";"
33122
+ }
33123
+ ],
33124
+ "isReadonly": false,
33125
+ "isOptional": true,
33126
+ "releaseTag": "Public",
33127
+ "name": "playing",
33128
+ "propertyTypeTokenRange": {
33129
+ "startIndex": 1,
33130
+ "endIndex": 2
33131
+ }
33132
+ },
33133
+ {
33134
+ "kind": "PropertySignature",
33135
+ "canonicalReference": "@dcl/playground-assets!PBVideoPlayer#position:member",
33136
+ "docComment": "/**\n * default 0.0\n */\n",
33137
+ "excerptTokens": [
33138
+ {
33139
+ "kind": "Content",
33140
+ "text": "position?: "
33141
+ },
33142
+ {
33143
+ "kind": "Content",
33144
+ "text": "number | undefined"
33145
+ },
33146
+ {
33147
+ "kind": "Content",
33148
+ "text": ";"
33149
+ }
33150
+ ],
33151
+ "isReadonly": false,
33152
+ "isOptional": true,
33153
+ "releaseTag": "Public",
33154
+ "name": "position",
33155
+ "propertyTypeTokenRange": {
33156
+ "startIndex": 1,
33157
+ "endIndex": 2
33158
+ }
33159
+ },
33160
+ {
33161
+ "kind": "PropertySignature",
33162
+ "canonicalReference": "@dcl/playground-assets!PBVideoPlayer#src:member",
33163
+ "docComment": "/**\n * which file to load\n */\n",
33164
+ "excerptTokens": [
33165
+ {
33166
+ "kind": "Content",
33167
+ "text": "src: "
33168
+ },
33169
+ {
33170
+ "kind": "Content",
33171
+ "text": "string"
33172
+ },
33173
+ {
33174
+ "kind": "Content",
33175
+ "text": ";"
33176
+ }
33177
+ ],
33178
+ "isReadonly": false,
33179
+ "isOptional": false,
33180
+ "releaseTag": "Public",
33181
+ "name": "src",
33182
+ "propertyTypeTokenRange": {
33183
+ "startIndex": 1,
33184
+ "endIndex": 2
33185
+ }
33186
+ },
33187
+ {
33188
+ "kind": "PropertySignature",
33189
+ "canonicalReference": "@dcl/playground-assets!PBVideoPlayer#volume:member",
33190
+ "docComment": "/**\n * default 1.0\n */\n",
33191
+ "excerptTokens": [
33192
+ {
33193
+ "kind": "Content",
33194
+ "text": "volume?: "
33195
+ },
33196
+ {
33197
+ "kind": "Content",
33198
+ "text": "number | undefined"
33199
+ },
33200
+ {
33201
+ "kind": "Content",
33202
+ "text": ";"
33203
+ }
33204
+ ],
33205
+ "isReadonly": false,
33206
+ "isOptional": true,
33207
+ "releaseTag": "Public",
33208
+ "name": "volume",
33209
+ "propertyTypeTokenRange": {
33210
+ "startIndex": 1,
33211
+ "endIndex": 2
33212
+ }
33213
+ }
33214
+ ],
33215
+ "extendsTokenRanges": []
33216
+ },
33037
33217
  {
33038
33218
  "kind": "Interface",
33039
33219
  "canonicalReference": "@dcl/playground-assets!PBVisibilityComponent:interface",
@@ -40478,6 +40658,47 @@
40478
40658
  "startIndex": 1,
40479
40659
  "endIndex": 5
40480
40660
  }
40661
+ },
40662
+ {
40663
+ "kind": "PropertySignature",
40664
+ "canonicalReference": "@dcl/playground-assets!TextureHelper#Video:member",
40665
+ "docComment": "/**\n * @returns the video texture of videoPlayerEntity specified\n */\n",
40666
+ "excerptTokens": [
40667
+ {
40668
+ "kind": "Content",
40669
+ "text": "Video: "
40670
+ },
40671
+ {
40672
+ "kind": "Content",
40673
+ "text": "(videoTexture: "
40674
+ },
40675
+ {
40676
+ "kind": "Reference",
40677
+ "text": "VideoTexture",
40678
+ "canonicalReference": "@dcl/playground-assets!VideoTexture:interface"
40679
+ },
40680
+ {
40681
+ "kind": "Content",
40682
+ "text": ") => "
40683
+ },
40684
+ {
40685
+ "kind": "Reference",
40686
+ "text": "TextureUnion",
40687
+ "canonicalReference": "@dcl/playground-assets!TextureUnion:interface"
40688
+ },
40689
+ {
40690
+ "kind": "Content",
40691
+ "text": ";"
40692
+ }
40693
+ ],
40694
+ "isReadonly": false,
40695
+ "isOptional": false,
40696
+ "releaseTag": "Public",
40697
+ "name": "Video",
40698
+ "propertyTypeTokenRange": {
40699
+ "startIndex": 1,
40700
+ "endIndex": 5
40701
+ }
40481
40702
  }
40482
40703
  ],
40483
40704
  "extendsTokenRanges": []
@@ -40550,6 +40771,15 @@
40550
40771
  "text": "AvatarTexture",
40551
40772
  "canonicalReference": "@dcl/playground-assets!AvatarTexture:interface"
40552
40773
  },
40774
+ {
40775
+ "kind": "Content",
40776
+ "text": ";\n } | {\n $case: \"videoTexture\";\n videoTexture: "
40777
+ },
40778
+ {
40779
+ "kind": "Reference",
40780
+ "text": "VideoTexture",
40781
+ "canonicalReference": "@dcl/playground-assets!VideoTexture:interface"
40782
+ },
40553
40783
  {
40554
40784
  "kind": "Content",
40555
40785
  "text": ";\n }"
@@ -40565,7 +40795,7 @@
40565
40795
  "name": "tex",
40566
40796
  "propertyTypeTokenRange": {
40567
40797
  "startIndex": 1,
40568
- "endIndex": 6
40798
+ "endIndex": 8
40569
40799
  }
40570
40800
  }
40571
40801
  ],
@@ -48472,6 +48702,152 @@
48472
48702
  "endIndex": 2
48473
48703
  }
48474
48704
  },
48705
+ {
48706
+ "kind": "Variable",
48707
+ "canonicalReference": "@dcl/playground-assets!VideoPlayer:var",
48708
+ "docComment": "/**\n * @public\n */\n",
48709
+ "excerptTokens": [
48710
+ {
48711
+ "kind": "Content",
48712
+ "text": "VideoPlayer: "
48713
+ },
48714
+ {
48715
+ "kind": "Reference",
48716
+ "text": "ComponentDefinition",
48717
+ "canonicalReference": "@dcl/playground-assets!ComponentDefinition:interface"
48718
+ },
48719
+ {
48720
+ "kind": "Content",
48721
+ "text": "<"
48722
+ },
48723
+ {
48724
+ "kind": "Reference",
48725
+ "text": "PBVideoPlayer",
48726
+ "canonicalReference": "@dcl/playground-assets!PBVideoPlayer:interface"
48727
+ },
48728
+ {
48729
+ "kind": "Content",
48730
+ "text": ">"
48731
+ }
48732
+ ],
48733
+ "fileUrlPath": "../ecs/dist/components/generated/global.gen.d.ts",
48734
+ "isReadonly": true,
48735
+ "releaseTag": "Public",
48736
+ "name": "VideoPlayer",
48737
+ "variableTypeTokenRange": {
48738
+ "startIndex": 1,
48739
+ "endIndex": 5
48740
+ }
48741
+ },
48742
+ {
48743
+ "kind": "Interface",
48744
+ "canonicalReference": "@dcl/playground-assets!VideoTexture:interface",
48745
+ "docComment": "/**\n * @public\n */\n",
48746
+ "excerptTokens": [
48747
+ {
48748
+ "kind": "Content",
48749
+ "text": "export interface VideoTexture "
48750
+ }
48751
+ ],
48752
+ "fileUrlPath": "../ecs/dist/components/generated/pb/decentraland/common/texture.gen.d.ts",
48753
+ "releaseTag": "Public",
48754
+ "name": "VideoTexture",
48755
+ "preserveMemberOrder": false,
48756
+ "members": [
48757
+ {
48758
+ "kind": "PropertySignature",
48759
+ "canonicalReference": "@dcl/playground-assets!VideoTexture#filterMode:member",
48760
+ "docComment": "/**\n * default = FilterMode.Bilinear\n */\n",
48761
+ "excerptTokens": [
48762
+ {
48763
+ "kind": "Content",
48764
+ "text": "filterMode?: "
48765
+ },
48766
+ {
48767
+ "kind": "Reference",
48768
+ "text": "TextureFilterMode",
48769
+ "canonicalReference": "@dcl/playground-assets!TextureFilterMode:enum"
48770
+ },
48771
+ {
48772
+ "kind": "Content",
48773
+ "text": " | undefined"
48774
+ },
48775
+ {
48776
+ "kind": "Content",
48777
+ "text": ";"
48778
+ }
48779
+ ],
48780
+ "isReadonly": false,
48781
+ "isOptional": true,
48782
+ "releaseTag": "Public",
48783
+ "name": "filterMode",
48784
+ "propertyTypeTokenRange": {
48785
+ "startIndex": 1,
48786
+ "endIndex": 3
48787
+ }
48788
+ },
48789
+ {
48790
+ "kind": "PropertySignature",
48791
+ "canonicalReference": "@dcl/playground-assets!VideoTexture#videoPlayerEntity:member",
48792
+ "docComment": "",
48793
+ "excerptTokens": [
48794
+ {
48795
+ "kind": "Content",
48796
+ "text": "videoPlayerEntity: "
48797
+ },
48798
+ {
48799
+ "kind": "Content",
48800
+ "text": "number"
48801
+ },
48802
+ {
48803
+ "kind": "Content",
48804
+ "text": ";"
48805
+ }
48806
+ ],
48807
+ "isReadonly": false,
48808
+ "isOptional": false,
48809
+ "releaseTag": "Public",
48810
+ "name": "videoPlayerEntity",
48811
+ "propertyTypeTokenRange": {
48812
+ "startIndex": 1,
48813
+ "endIndex": 2
48814
+ }
48815
+ },
48816
+ {
48817
+ "kind": "PropertySignature",
48818
+ "canonicalReference": "@dcl/playground-assets!VideoTexture#wrapMode:member",
48819
+ "docComment": "/**\n * default = TextureWrapMode.Clamp\n */\n",
48820
+ "excerptTokens": [
48821
+ {
48822
+ "kind": "Content",
48823
+ "text": "wrapMode?: "
48824
+ },
48825
+ {
48826
+ "kind": "Reference",
48827
+ "text": "TextureWrapMode",
48828
+ "canonicalReference": "@dcl/playground-assets!TextureWrapMode:enum"
48829
+ },
48830
+ {
48831
+ "kind": "Content",
48832
+ "text": " | undefined"
48833
+ },
48834
+ {
48835
+ "kind": "Content",
48836
+ "text": ";"
48837
+ }
48838
+ ],
48839
+ "isReadonly": false,
48840
+ "isOptional": true,
48841
+ "releaseTag": "Public",
48842
+ "name": "wrapMode",
48843
+ "propertyTypeTokenRange": {
48844
+ "startIndex": 1,
48845
+ "endIndex": 3
48846
+ }
48847
+ }
48848
+ ],
48849
+ "extendsTokenRanges": []
48850
+ },
48475
48851
  {
48476
48852
  "kind": "Variable",
48477
48853
  "canonicalReference": "@dcl/playground-assets!VisibilityComponent:var",
@@ -1969,6 +1969,16 @@ export interface PBVector3 {
1969
1969
  z: number;
1970
1970
  }
1971
1971
 
1972
+ // @public (undocumented)
1973
+ export interface PBVideoPlayer {
1974
+ loop?: boolean | undefined;
1975
+ playbackRate?: number | undefined;
1976
+ playing?: boolean | undefined;
1977
+ position?: number | undefined;
1978
+ src: string;
1979
+ volume?: number | undefined;
1980
+ }
1981
+
1972
1982
  // @public (undocumented)
1973
1983
  export interface PBVisibilityComponent {
1974
1984
  visible?: boolean | undefined;
@@ -2371,6 +2381,8 @@ export interface TextureHelper {
2371
2381
  Avatar: (avatarTexture: AvatarTexture) => TextureUnion;
2372
2382
  // (undocumented)
2373
2383
  Common: (texture: Texture) => TextureUnion;
2384
+ // (undocumented)
2385
+ Video: (videoTexture: VideoTexture) => TextureUnion;
2374
2386
  }
2375
2387
 
2376
2388
  // @public
@@ -2385,6 +2397,9 @@ export interface TextureUnion {
2385
2397
  } | {
2386
2398
  $case: "avatarTexture";
2387
2399
  avatarTexture: AvatarTexture;
2400
+ } | {
2401
+ $case: "videoTexture";
2402
+ videoTexture: VideoTexture;
2388
2403
  };
2389
2404
  }
2390
2405
 
@@ -2690,6 +2705,17 @@ export type Vector3Type = {
2690
2705
  z: number;
2691
2706
  };
2692
2707
 
2708
+ // @public (undocumented)
2709
+ export const VideoPlayer: ComponentDefinition<PBVideoPlayer>;
2710
+
2711
+ // @public (undocumented)
2712
+ export interface VideoTexture {
2713
+ filterMode?: TextureFilterMode | undefined;
2714
+ // (undocumented)
2715
+ videoPlayerEntity: number;
2716
+ wrapMode?: TextureWrapMode | undefined;
2717
+ }
2718
+
2693
2719
  // @public (undocumented)
2694
2720
  export const VisibilityComponent: ComponentDefinition<PBVisibilityComponent>;
2695
2721
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
- "version": "7.0.6-4077633874.commit-07aedd3",
3
+ "version": "7.0.6-4078495586.commit-3336b11",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",
@@ -17,12 +17,12 @@
17
17
  "author": "Decentraland",
18
18
  "license": "Apache-2.0",
19
19
  "dependencies": {
20
- "@dcl/sdk": "7.0.6-4077633874.commit-07aedd3"
20
+ "@dcl/sdk": "7.0.6-4078495586.commit-3336b11"
21
21
  },
22
22
  "minCliVersion": "3.12.3",
23
23
  "files": [
24
24
  "dist",
25
25
  "etc"
26
26
  ],
27
- "commit": "07aedd329ce99159c73a36bc925f77e441921ba6"
27
+ "commit": "3336b1111c1327d749544df791af1a50df0c18c6"
28
28
  }