@dcl/playground-assets 7.5.8-10904608781.commit-ddc542d → 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.
- package/dist/alpha.d.ts +13 -7
- package/dist/beta.d.ts +13 -7
- package/dist/index.bundled.d.ts +13 -7
- package/dist/index.js +6 -6
- package/dist/index.js.map +3 -3
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +13 -7
- package/etc/playground-assets.api.json +6 -60
- package/etc/playground-assets.api.md +2 -6
- package/package.json +4 -4
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/sdk",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.5.8-
|
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": "
|
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
|
-
/**
|
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
|
-
/**
|
4505
|
-
virtualCameraEntity
|
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
|
5599
|
+
defaultTransition?: CameraTransition | undefined;
|
5594
5600
|
lookAtEntity?: number | undefined;
|
5595
5601
|
}
|
5596
5602
|
|
@@ -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 *
|
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":
|
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":
|
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
|
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
|
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-
|
4
|
+
"version": "7.5.8-10905982268.commit-3fc6621",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.5.8-
|
8
|
-
"@dcl/sdk": "7.5.8-
|
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": "
|
35
|
+
"commit": "3fc66215ea743fdcb87137f9258e3f66c18a26cc"
|
36
36
|
}
|