@dcl/playground-assets 7.5.8-10838455664.commit-008bb68 → 7.5.8-10905982268.commit-3fc6621

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
3
  "description": "",
4
- "version": "7.5.8-10838455664.commit-008bb68",
4
+ "version": "7.5.8-10905982268.commit-3fc6621",
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": "008bb681d06da9a8cd7243253efd336a83e64904"
38
+ "commit": "3fc66215ea743fdcb87137f9258e3f66c18a26cc"
39
39
  }
@@ -468,12 +468,14 @@ export declare const CameraMode: LastWriteWinElementSetComponentDefinition<PBCam
468
468
  /** @public */
469
469
  export declare const CameraModeArea: LastWriteWinElementSetComponentDefinition<PBCameraModeArea>;
470
470
 
471
+ /**
472
+ * Defines the transition used towards the camera that contains the CameraTransition.
473
+ * This structure may be updated in the future to specify from/to entities and to have easing functions.
474
+ */
471
475
  /**
472
476
  * @public
473
477
  */
474
478
  export declare interface CameraTransition {
475
- fromEntity?: number | undefined;
476
- toEntity?: number | undefined;
477
479
  transitionMode?: {
478
480
  $case: "time";
479
481
  time: number;
@@ -4496,13 +4498,16 @@ export declare namespace PBInputModifier_StandardInput {
4496
4498
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
4497
4499
  }
4498
4500
 
4499
- /** PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment. 0 means none. */
4501
+ /**
4502
+ * PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
4503
+ * This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
4504
+ */
4500
4505
  /**
4501
4506
  * @public
4502
4507
  */
4503
4508
  export declare interface PBMainCamera {
4504
- /** currently active virtual camera (default: 0) */
4505
- virtualCameraEntity: number;
4509
+ /** current active virtual camera */
4510
+ virtualCameraEntity?: number | undefined;
4506
4511
  }
4507
4512
 
4508
4513
  /**
@@ -5582,7 +5587,8 @@ export declare namespace PBVideoPlayer {
5582
5587
 
5583
5588
  /**
5584
5589
  * PBVirtualCamera represents a camera to be used at some point in time during the scene execution
5585
- * * The defaultTransition represents the transition TOWARDS this camera.
5590
+ * * The defaultTransition represents the transition TOWARDS this camera. If there is none, it's treated as
5591
+ * an 'instant' transition (like using speed/time = 0)
5586
5592
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
5587
5593
  * the holding entity transform).
5588
5594
  */
@@ -5590,7 +5596,7 @@ export declare namespace PBVideoPlayer {
5590
5596
  * @public
5591
5597
  */
5592
5598
  export declare interface PBVirtualCamera {
5593
- defaultTransition: CameraTransition | undefined;
5599
+ defaultTransition?: CameraTransition | undefined;
5594
5600
  lookAtEntity?: number | undefined;
5595
5601
  }
5596
5602
 
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.47.8"
8
+ "packageVersion": "7.47.9"
9
9
  }
10
10
  ]
11
11
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "metadata": {
3
3
  "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.47.8",
4
+ "toolVersion": "7.47.9",
5
5
  "schemaVersion": 1011,
6
6
  "oldestForwardsCompatibleVersion": 1001,
7
7
  "tsdocConfig": {
@@ -5862,60 +5862,6 @@
5862
5862
  "name": "CameraTransition",
5863
5863
  "preserveMemberOrder": false,
5864
5864
  "members": [
5865
- {
5866
- "kind": "PropertySignature",
5867
- "canonicalReference": "@dcl/playground-assets!CameraTransition#fromEntity:member",
5868
- "docComment": "",
5869
- "excerptTokens": [
5870
- {
5871
- "kind": "Content",
5872
- "text": "fromEntity?: "
5873
- },
5874
- {
5875
- "kind": "Content",
5876
- "text": "number | undefined"
5877
- },
5878
- {
5879
- "kind": "Content",
5880
- "text": ";"
5881
- }
5882
- ],
5883
- "isReadonly": false,
5884
- "isOptional": true,
5885
- "releaseTag": "Public",
5886
- "name": "fromEntity",
5887
- "propertyTypeTokenRange": {
5888
- "startIndex": 1,
5889
- "endIndex": 2
5890
- }
5891
- },
5892
- {
5893
- "kind": "PropertySignature",
5894
- "canonicalReference": "@dcl/playground-assets!CameraTransition#toEntity:member",
5895
- "docComment": "",
5896
- "excerptTokens": [
5897
- {
5898
- "kind": "Content",
5899
- "text": "toEntity?: "
5900
- },
5901
- {
5902
- "kind": "Content",
5903
- "text": "number | undefined"
5904
- },
5905
- {
5906
- "kind": "Content",
5907
- "text": ";"
5908
- }
5909
- ],
5910
- "isReadonly": false,
5911
- "isOptional": true,
5912
- "releaseTag": "Public",
5913
- "name": "toEntity",
5914
- "propertyTypeTokenRange": {
5915
- "startIndex": 1,
5916
- "endIndex": 2
5917
- }
5918
- },
5919
5865
  {
5920
5866
  "kind": "PropertySignature",
5921
5867
  "canonicalReference": "@dcl/playground-assets!CameraTransition#transitionMode:member",
@@ -41488,15 +41434,15 @@
41488
41434
  {
41489
41435
  "kind": "PropertySignature",
41490
41436
  "canonicalReference": "@dcl/playground-assets!PBMainCamera#virtualCameraEntity:member",
41491
- "docComment": "/**\n * currently active virtual camera (default: 0)\n */\n",
41437
+ "docComment": "/**\n * current active virtual camera\n */\n",
41492
41438
  "excerptTokens": [
41493
41439
  {
41494
41440
  "kind": "Content",
41495
- "text": "virtualCameraEntity: "
41441
+ "text": "virtualCameraEntity?: "
41496
41442
  },
41497
41443
  {
41498
41444
  "kind": "Content",
41499
- "text": "number"
41445
+ "text": "number | undefined"
41500
41446
  },
41501
41447
  {
41502
41448
  "kind": "Content",
@@ -41504,7 +41450,7 @@
41504
41450
  }
41505
41451
  ],
41506
41452
  "isReadonly": false,
41507
- "isOptional": false,
41453
+ "isOptional": true,
41508
41454
  "releaseTag": "Public",
41509
41455
  "name": "virtualCameraEntity",
41510
41456
  "propertyTypeTokenRange": {
@@ -54582,7 +54528,7 @@
54582
54528
  "excerptTokens": [
54583
54529
  {
54584
54530
  "kind": "Content",
54585
- "text": "defaultTransition: "
54531
+ "text": "defaultTransition?: "
54586
54532
  },
54587
54533
  {
54588
54534
  "kind": "Reference",
@@ -54599,7 +54545,7 @@
54599
54545
  }
54600
54546
  ],
54601
54547
  "isReadonly": false,
54602
- "isOptional": false,
54548
+ "isOptional": true,
54603
54549
  "releaseTag": "Public",
54604
54550
  "name": "defaultTransition",
54605
54551
  "propertyTypeTokenRange": {
@@ -355,10 +355,6 @@ export const CameraModeArea: LastWriteWinElementSetComponentDefinition<PBCameraM
355
355
 
356
356
  // @public (undocumented)
357
357
  export interface CameraTransition {
358
- // (undocumented)
359
- fromEntity?: number | undefined;
360
- // (undocumented)
361
- toEntity?: number | undefined;
362
358
  // (undocumented)
363
359
  transitionMode?: {
364
360
  $case: "time";
@@ -2387,7 +2383,7 @@ export namespace PBInputModifier_StandardInput {
2387
2383
 
2388
2384
  // @public (undocumented)
2389
2385
  export interface PBMainCamera {
2390
- virtualCameraEntity: number;
2386
+ virtualCameraEntity?: number | undefined;
2391
2387
  }
2392
2388
 
2393
2389
  // @public (undocumented)
@@ -3216,7 +3212,7 @@ export namespace PBVideoPlayer {
3216
3212
  // @public (undocumented)
3217
3213
  export interface PBVirtualCamera {
3218
3214
  // (undocumented)
3219
- defaultTransition: CameraTransition | undefined;
3215
+ defaultTransition?: CameraTransition | undefined;
3220
3216
  // (undocumented)
3221
3217
  lookAtEntity?: number | undefined;
3222
3218
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.5.8-10838455664.commit-008bb68",
4
+ "version": "7.5.8-10905982268.commit-3fc6621",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.5.8-10838455664.commit-008bb68",
8
- "@dcl/sdk": "7.5.8-10838455664.commit-008bb68"
7
+ "@dcl/js-runtime": "7.5.8-10905982268.commit-3fc6621",
8
+ "@dcl/sdk": "7.5.8-10905982268.commit-3fc6621"
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": "008bb681d06da9a8cd7243253efd336a83e64904"
35
+ "commit": "3fc66215ea743fdcb87137f9258e3f66c18a26cc"
36
36
  }