@dcl/playground-assets 7.5.8-10904608781.commit-ddc542d → 7.5.8-10907077327.commit-5bfdcc5

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 CHANGED
@@ -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
 
package/dist/beta.d.ts CHANGED
@@ -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;
@@ -4468,13 +4470,16 @@ export declare namespace PBInputModifier_StandardInput {
4468
4470
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
4469
4471
  }
4470
4472
 
4471
- /** PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment. 0 means none. */
4473
+ /**
4474
+ * PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
4475
+ * This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
4476
+ */
4472
4477
  /**
4473
4478
  * @public
4474
4479
  */
4475
4480
  export declare interface PBMainCamera {
4476
- /** currently active virtual camera (default: 0) */
4477
- virtualCameraEntity: number;
4481
+ /** current active virtual camera */
4482
+ virtualCameraEntity?: number | undefined;
4478
4483
  }
4479
4484
 
4480
4485
  /**
@@ -5554,7 +5559,8 @@ export declare namespace PBVideoPlayer {
5554
5559
 
5555
5560
  /**
5556
5561
  * PBVirtualCamera represents a camera to be used at some point in time during the scene execution
5557
- * * The defaultTransition represents the transition TOWARDS this camera.
5562
+ * * The defaultTransition represents the transition TOWARDS this camera. If there is none, it's treated as
5563
+ * an 'instant' transition (like using speed/time = 0)
5558
5564
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
5559
5565
  * the holding entity transform).
5560
5566
  */
@@ -5562,7 +5568,7 @@ export declare namespace PBVideoPlayer {
5562
5568
  * @public
5563
5569
  */
5564
5570
  export declare interface PBVirtualCamera {
5565
- defaultTransition: CameraTransition | undefined;
5571
+ defaultTransition?: CameraTransition | undefined;
5566
5572
  lookAtEntity?: number | undefined;
5567
5573
  }
5568
5574
 
@@ -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;
@@ -4468,13 +4470,16 @@ export declare namespace PBInputModifier_StandardInput {
4468
4470
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
4469
4471
  }
4470
4472
 
4471
- /** PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment. 0 means none. */
4473
+ /**
4474
+ * PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
4475
+ * This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
4476
+ */
4472
4477
  /**
4473
4478
  * @public
4474
4479
  */
4475
4480
  export declare interface PBMainCamera {
4476
- /** currently active virtual camera (default: 0) */
4477
- virtualCameraEntity: number;
4481
+ /** current active virtual camera */
4482
+ virtualCameraEntity?: number | undefined;
4478
4483
  }
4479
4484
 
4480
4485
  /**
@@ -5554,7 +5559,8 @@ export declare namespace PBVideoPlayer {
5554
5559
 
5555
5560
  /**
5556
5561
  * PBVirtualCamera represents a camera to be used at some point in time during the scene execution
5557
- * * The defaultTransition represents the transition TOWARDS this camera.
5562
+ * * The defaultTransition represents the transition TOWARDS this camera. If there is none, it's treated as
5563
+ * an 'instant' transition (like using speed/time = 0)
5558
5564
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
5559
5565
  * the holding entity transform).
5560
5566
  */
@@ -5562,7 +5568,7 @@ export declare namespace PBVideoPlayer {
5562
5568
  * @public
5563
5569
  */
5564
5570
  export declare interface PBVirtualCamera {
5565
- defaultTransition: CameraTransition | undefined;
5571
+ defaultTransition?: CameraTransition | undefined;
5566
5572
  lookAtEntity?: number | undefined;
5567
5573
  }
5568
5574