@dcl/playground-assets 7.5.8-10743784489.commit-d6809c5 → 7.5.8-10819179502.commit-e2e6cc5

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.
@@ -353,6 +353,38 @@ export const CameraMode: LastWriteWinElementSetComponentDefinition<PBCameraMode>
353
353
  // @public (undocumented)
354
354
  export const CameraModeArea: LastWriteWinElementSetComponentDefinition<PBCameraModeArea>;
355
355
 
356
+ // @public (undocumented)
357
+ export interface CameraTransition {
358
+ // (undocumented)
359
+ fromEntity?: number | undefined;
360
+ // (undocumented)
361
+ toEntity?: number | undefined;
362
+ // (undocumented)
363
+ transitionMode?: {
364
+ $case: "time";
365
+ time: number;
366
+ } | {
367
+ $case: "speed";
368
+ speed: number;
369
+ } | undefined;
370
+ }
371
+
372
+ // @public (undocumented)
373
+ export namespace CameraTransition {
374
+ // (undocumented)
375
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): CameraTransition;
376
+ // (undocumented)
377
+ export function encode(message: CameraTransition, writer?: _m0.Writer): _m0.Writer;
378
+ }
379
+
380
+ // @public (undocumented)
381
+ export interface CameraTransitionHelper {
382
+ // (undocumented)
383
+ Speed: (speed: number) => CameraTransition['transitionMode'];
384
+ // (undocumented)
385
+ Time: (time: number) => CameraTransition['transitionMode'];
386
+ }
387
+
356
388
  // @public (undocumented)
357
389
  export const enum CameraType {
358
390
  CT_CINEMATIC = 2,
@@ -599,6 +631,7 @@ export const componentDefinitionByName: {
599
631
  "core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
600
632
  "core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
601
633
  "core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
634
+ "core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
602
635
  "core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
603
636
  "core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
604
637
  "core::MeshRenderer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshRenderer>>;
@@ -624,6 +657,7 @@ export const componentDefinitionByName: {
624
657
  "core::UiTransform": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiTransform>>;
625
658
  "core::VideoEvent": GSetComponentGetter<GrowOnlyValueSetComponentDefinition<PBVideoEvent>>;
626
659
  "core::VideoPlayer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBVideoPlayer>>;
660
+ "core::VirtualCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBVirtualCamera>>;
627
661
  "core::VisibilityComponent": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBVisibilityComponent>>;
628
662
  };
629
663
 
@@ -1542,6 +1576,9 @@ export type LocalDirectionRaycastSystemOptions = {
1542
1576
  // @public (undocumented)
1543
1577
  export type LwwComponentGetter<T extends LastWriteWinElementSetComponentDefinition<any>> = (engine: Pick<IEngine, 'defineComponentFromSchema'>) => T;
1544
1578
 
1579
+ // @public (undocumented)
1580
+ export const MainCamera: LastWriteWinElementSetComponentDefinition<PBMainCamera>;
1581
+
1545
1582
  // @public
1546
1583
  export interface MapComponentDefinition<T> extends LastWriteWinElementSetComponentDefinition<T> {
1547
1584
  create(entity: Entity, val?: Partial<T>): T;
@@ -2348,6 +2385,19 @@ export namespace PBInputModifier_StandardInput {
2348
2385
  export function encode(message: PBInputModifier_StandardInput, writer?: _m0.Writer): _m0.Writer;
2349
2386
  }
2350
2387
 
2388
+ // @public (undocumented)
2389
+ export interface PBMainCamera {
2390
+ virtualCameraEntity: number;
2391
+ }
2392
+
2393
+ // @public (undocumented)
2394
+ export namespace PBMainCamera {
2395
+ // (undocumented)
2396
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBMainCamera;
2397
+ // (undocumented)
2398
+ export function encode(message: PBMainCamera, writer?: _m0.Writer): _m0.Writer;
2399
+ }
2400
+
2351
2401
  // @public (undocumented)
2352
2402
  export interface PBMaterial {
2353
2403
  // (undocumented)
@@ -3163,6 +3213,22 @@ export namespace PBVideoPlayer {
3163
3213
  export function encode(message: PBVideoPlayer, writer?: _m0.Writer): _m0.Writer;
3164
3214
  }
3165
3215
 
3216
+ // @public (undocumented)
3217
+ export interface PBVirtualCamera {
3218
+ // (undocumented)
3219
+ defaultTransition: CameraTransition | undefined;
3220
+ // (undocumented)
3221
+ lookAtEntity?: number | undefined;
3222
+ }
3223
+
3224
+ // @public (undocumented)
3225
+ export namespace PBVirtualCamera {
3226
+ // (undocumented)
3227
+ export function decode(input: _m0.Reader | Uint8Array, length?: number): PBVirtualCamera;
3228
+ // (undocumented)
3229
+ export function encode(message: PBVirtualCamera, writer?: _m0.Writer): _m0.Writer;
3230
+ }
3231
+
3166
3232
  // @public (undocumented)
3167
3233
  export interface PBVisibilityComponent {
3168
3234
  visible?: boolean | undefined;
@@ -4324,6 +4390,16 @@ export namespace VideoTexture {
4324
4390
  export function encode(message: VideoTexture, writer?: _m0.Writer): _m0.Writer;
4325
4391
  }
4326
4392
 
4393
+ // Warning: (ae-missing-release-tag) "VirtualCamera" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
4394
+ //
4395
+ // @public (undocumented)
4396
+ export const VirtualCamera: VirtualCameraComponentDefinitionExtended;
4397
+
4398
+ // @public (undocumented)
4399
+ export interface VirtualCameraComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBVirtualCamera> {
4400
+ Transition: CameraTransitionHelper;
4401
+ }
4402
+
4327
4403
  // @public (undocumented)
4328
4404
  export const VisibilityComponent: LastWriteWinElementSetComponentDefinition<PBVisibilityComponent>;
4329
4405
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.5.8-10743784489.commit-d6809c5",
4
+ "version": "7.5.8-10819179502.commit-e2e6cc5",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.5.8-10743784489.commit-d6809c5",
8
- "@dcl/sdk": "7.5.8-10743784489.commit-d6809c5"
7
+ "@dcl/js-runtime": "7.5.8-10819179502.commit-e2e6cc5",
8
+ "@dcl/sdk": "7.5.8-10819179502.commit-e2e6cc5"
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": "d6809c5ab31d86edcdcca7d41cb2e06bd46921aa"
35
+ "commit": "e2e6cc53e45e1ca16dce348ce87785e921d3ae3a"
36
36
  }