@dcl/playground-assets 7.7.5-13413116060.commit-43029a2 → 7.7.5-13417607939.commit-3f07772

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/README.md ADDED
@@ -0,0 +1,27 @@
1
+ # @dcl/playground-assets
2
+
3
+ Assets package for the [Decentraland Playground](https://playground.decentraland.org/).
4
+
5
+ ## Overview
6
+
7
+ This package contains the built assets required by the Decentraland Playground - an experimental web IDE that allows developers to:
8
+
9
+ - Write and preview Decentraland scenes in real-time
10
+ - Share code snippets with other developers
11
+ - Test and iterate on scene code directly in the browser
12
+ - View changes instantly in the integrated Decentraland web explorer
13
+
14
+ Similar to [Babylon.js Playground](https://playground.babylonjs.com/), the Decentraland Playground provides an interactive environment for rapid prototyping and experimentation.
15
+
16
+ ## Development
17
+
18
+ The assets in this package are automatically built during the monorepo's build process:
19
+
20
+ ```bash
21
+ # From the root of the monorepo
22
+ make build
23
+ ```
24
+
25
+ ## Related Documentation
26
+
27
+ - [Playground](https://playground.decentraland.org)
package/dist/alpha.d.ts CHANGED
@@ -1298,7 +1298,6 @@ export declare const componentDefinitionByName: {
1298
1298
  "core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
1299
1299
  "core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
1300
1300
  "core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
1301
- "core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
1302
1301
  "core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
1303
1302
  "core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
1304
1303
  "core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
@@ -2652,32 +2651,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
2652
2651
  getOrCreateMutable(entity: Entity, initialValue?: T): T;
2653
2652
  }
2654
2653
 
2655
- export declare const LightSource: LightSourceComponentDefinitionExtended;
2656
-
2657
- /**
2658
- * @public
2659
- */
2660
- export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
2661
- /**
2662
- * LightSource helper with constructor
2663
- */
2664
- Type: LightSourceHelper;
2665
- }
2666
-
2667
- /**
2668
- * @public
2669
- */
2670
- export declare interface LightSourceHelper {
2671
- /**
2672
- * @returns a Light Source type
2673
- */
2674
- Point: (point: PBLightSource_Point) => PBLightSource['type'];
2675
- /**
2676
- * @returns a Light Source type
2677
- */
2678
- Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
2679
- }
2680
-
2681
2654
  /**
2682
2655
  * User key event Listeners
2683
2656
  * @public
@@ -4553,85 +4526,6 @@ export declare namespace PBInputModifier_StandardInput {
4553
4526
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
4554
4527
  }
4555
4528
 
4556
- /**
4557
- * @public
4558
- */
4559
- export declare interface PBLightSource {
4560
- /** default = true, whether the lightSource is active or not. */
4561
- active?: boolean | undefined;
4562
- /** default = Color.white, the tint of the light, in RGB format where each component is a floating point value with a range from 0 to 1. */
4563
- color?: PBColor3 | undefined;
4564
- /** default = 250, ranges from 1 (dim) to 100,000 (very bright), expressed in Lumens for Point and Spot. */
4565
- brightness?: number | undefined;
4566
- /** default = 10, how far the light travels, expressed in meters. */
4567
- range?: number | undefined;
4568
- type?: {
4569
- $case: "point";
4570
- point: PBLightSource_Point;
4571
- } | {
4572
- $case: "spot";
4573
- spot: PBLightSource_Spot;
4574
- } | undefined;
4575
- }
4576
-
4577
- /**
4578
- * @public
4579
- */
4580
- export declare namespace PBLightSource {
4581
- export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
4582
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
4583
- }
4584
-
4585
- /**
4586
- * @public
4587
- */
4588
- export declare interface PBLightSource_Point {
4589
- /** default = ShadowType.ST_NONE The type of shadow the light source supports. */
4590
- shadow?: PBLightSource_ShadowType | undefined;
4591
- }
4592
-
4593
- /**
4594
- * @public
4595
- */
4596
- export declare namespace PBLightSource_Point {
4597
- export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
4598
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
4599
- }
4600
-
4601
- /**
4602
- * @public
4603
- */
4604
- export declare const enum PBLightSource_ShadowType {
4605
- /** ST_NONE - No shadows are cast from this LightSource. */
4606
- ST_NONE = 0,
4607
- /** ST_SOFT - More realistic type of shadow that reduces block artifacts, noise or pixelation, but requires more processing. */
4608
- ST_SOFT = 1,
4609
- /** ST_HARD - Less realistic type of shadow but more performant, uses hard edges. */
4610
- ST_HARD = 2
4611
- }
4612
-
4613
- /**
4614
- * @public
4615
- */
4616
- export declare interface PBLightSource_Spot {
4617
- /** default = 21.8. Inner angle can't be higher than outer angle, otherwise will default to same value. Min value is 0. Max value is 179. */
4618
- innerAngle?: number | undefined;
4619
- /** default = 30. Outer angle can't be lower than inner angle, otherwise will inner angle will be set to same value. Max value is 179. */
4620
- outerAngle?: number | undefined;
4621
- /** default = ShadowType.ST_NONE The type of shadow the light source supports. */
4622
- shadow?: PBLightSource_ShadowType | undefined;
4623
- /** Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window. */
4624
- shadowMaskTexture?: TextureUnion | undefined;
4625
- }
4626
-
4627
- /**
4628
- * @public
4629
- */
4630
- export declare namespace PBLightSource_Spot {
4631
- export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
4632
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
4633
- }
4634
-
4635
4529
  /**
4636
4530
  * PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
4637
4531
  * This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
package/dist/beta.d.ts CHANGED
@@ -1298,7 +1298,6 @@ export declare const componentDefinitionByName: {
1298
1298
  "core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
1299
1299
  "core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
1300
1300
  "core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
1301
- "core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
1302
1301
  "core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
1303
1302
  "core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
1304
1303
  "core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
@@ -2643,32 +2642,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
2643
2642
  getOrCreateMutable(entity: Entity, initialValue?: T): T;
2644
2643
  }
2645
2644
 
2646
- export declare const LightSource: LightSourceComponentDefinitionExtended;
2647
-
2648
- /**
2649
- * @public
2650
- */
2651
- export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
2652
- /**
2653
- * LightSource helper with constructor
2654
- */
2655
- Type: LightSourceHelper;
2656
- }
2657
-
2658
- /**
2659
- * @public
2660
- */
2661
- export declare interface LightSourceHelper {
2662
- /**
2663
- * @returns a Light Source type
2664
- */
2665
- Point: (point: PBLightSource_Point) => PBLightSource['type'];
2666
- /**
2667
- * @returns a Light Source type
2668
- */
2669
- Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
2670
- }
2671
-
2672
2645
  /**
2673
2646
  * User key event Listeners
2674
2647
  * @public
@@ -4525,85 +4498,6 @@ export declare namespace PBInputModifier_StandardInput {
4525
4498
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
4526
4499
  }
4527
4500
 
4528
- /**
4529
- * @public
4530
- */
4531
- export declare interface PBLightSource {
4532
- /** default = true, whether the lightSource is active or not. */
4533
- active?: boolean | undefined;
4534
- /** default = Color.white, the tint of the light, in RGB format where each component is a floating point value with a range from 0 to 1. */
4535
- color?: PBColor3 | undefined;
4536
- /** default = 250, ranges from 1 (dim) to 100,000 (very bright), expressed in Lumens for Point and Spot. */
4537
- brightness?: number | undefined;
4538
- /** default = 10, how far the light travels, expressed in meters. */
4539
- range?: number | undefined;
4540
- type?: {
4541
- $case: "point";
4542
- point: PBLightSource_Point;
4543
- } | {
4544
- $case: "spot";
4545
- spot: PBLightSource_Spot;
4546
- } | undefined;
4547
- }
4548
-
4549
- /**
4550
- * @public
4551
- */
4552
- export declare namespace PBLightSource {
4553
- export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
4554
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
4555
- }
4556
-
4557
- /**
4558
- * @public
4559
- */
4560
- export declare interface PBLightSource_Point {
4561
- /** default = ShadowType.ST_NONE The type of shadow the light source supports. */
4562
- shadow?: PBLightSource_ShadowType | undefined;
4563
- }
4564
-
4565
- /**
4566
- * @public
4567
- */
4568
- export declare namespace PBLightSource_Point {
4569
- export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
4570
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
4571
- }
4572
-
4573
- /**
4574
- * @public
4575
- */
4576
- export declare const enum PBLightSource_ShadowType {
4577
- /** ST_NONE - No shadows are cast from this LightSource. */
4578
- ST_NONE = 0,
4579
- /** ST_SOFT - More realistic type of shadow that reduces block artifacts, noise or pixelation, but requires more processing. */
4580
- ST_SOFT = 1,
4581
- /** ST_HARD - Less realistic type of shadow but more performant, uses hard edges. */
4582
- ST_HARD = 2
4583
- }
4584
-
4585
- /**
4586
- * @public
4587
- */
4588
- export declare interface PBLightSource_Spot {
4589
- /** default = 21.8. Inner angle can't be higher than outer angle, otherwise will default to same value. Min value is 0. Max value is 179. */
4590
- innerAngle?: number | undefined;
4591
- /** default = 30. Outer angle can't be lower than inner angle, otherwise will inner angle will be set to same value. Max value is 179. */
4592
- outerAngle?: number | undefined;
4593
- /** default = ShadowType.ST_NONE The type of shadow the light source supports. */
4594
- shadow?: PBLightSource_ShadowType | undefined;
4595
- /** Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window. */
4596
- shadowMaskTexture?: TextureUnion | undefined;
4597
- }
4598
-
4599
- /**
4600
- * @public
4601
- */
4602
- export declare namespace PBLightSource_Spot {
4603
- export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
4604
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
4605
- }
4606
-
4607
4501
  /**
4608
4502
  * PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
4609
4503
  * This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
@@ -1298,7 +1298,6 @@ export declare const componentDefinitionByName: {
1298
1298
  "core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
1299
1299
  "core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
1300
1300
  "core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
1301
- "core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
1302
1301
  "core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
1303
1302
  "core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
1304
1303
  "core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
@@ -2643,32 +2642,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
2643
2642
  getOrCreateMutable(entity: Entity, initialValue?: T): T;
2644
2643
  }
2645
2644
 
2646
- export declare const LightSource: LightSourceComponentDefinitionExtended;
2647
-
2648
- /**
2649
- * @public
2650
- */
2651
- export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
2652
- /**
2653
- * LightSource helper with constructor
2654
- */
2655
- Type: LightSourceHelper;
2656
- }
2657
-
2658
- /**
2659
- * @public
2660
- */
2661
- export declare interface LightSourceHelper {
2662
- /**
2663
- * @returns a Light Source type
2664
- */
2665
- Point: (point: PBLightSource_Point) => PBLightSource['type'];
2666
- /**
2667
- * @returns a Light Source type
2668
- */
2669
- Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
2670
- }
2671
-
2672
2645
  /**
2673
2646
  * User key event Listeners
2674
2647
  * @public
@@ -4525,85 +4498,6 @@ export declare namespace PBInputModifier_StandardInput {
4525
4498
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
4526
4499
  }
4527
4500
 
4528
- /**
4529
- * @public
4530
- */
4531
- export declare interface PBLightSource {
4532
- /** default = true, whether the lightSource is active or not. */
4533
- active?: boolean | undefined;
4534
- /** default = Color.white, the tint of the light, in RGB format where each component is a floating point value with a range from 0 to 1. */
4535
- color?: PBColor3 | undefined;
4536
- /** default = 250, ranges from 1 (dim) to 100,000 (very bright), expressed in Lumens for Point and Spot. */
4537
- brightness?: number | undefined;
4538
- /** default = 10, how far the light travels, expressed in meters. */
4539
- range?: number | undefined;
4540
- type?: {
4541
- $case: "point";
4542
- point: PBLightSource_Point;
4543
- } | {
4544
- $case: "spot";
4545
- spot: PBLightSource_Spot;
4546
- } | undefined;
4547
- }
4548
-
4549
- /**
4550
- * @public
4551
- */
4552
- export declare namespace PBLightSource {
4553
- export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
4554
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
4555
- }
4556
-
4557
- /**
4558
- * @public
4559
- */
4560
- export declare interface PBLightSource_Point {
4561
- /** default = ShadowType.ST_NONE The type of shadow the light source supports. */
4562
- shadow?: PBLightSource_ShadowType | undefined;
4563
- }
4564
-
4565
- /**
4566
- * @public
4567
- */
4568
- export declare namespace PBLightSource_Point {
4569
- export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
4570
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
4571
- }
4572
-
4573
- /**
4574
- * @public
4575
- */
4576
- export declare const enum PBLightSource_ShadowType {
4577
- /** ST_NONE - No shadows are cast from this LightSource. */
4578
- ST_NONE = 0,
4579
- /** ST_SOFT - More realistic type of shadow that reduces block artifacts, noise or pixelation, but requires more processing. */
4580
- ST_SOFT = 1,
4581
- /** ST_HARD - Less realistic type of shadow but more performant, uses hard edges. */
4582
- ST_HARD = 2
4583
- }
4584
-
4585
- /**
4586
- * @public
4587
- */
4588
- export declare interface PBLightSource_Spot {
4589
- /** default = 21.8. Inner angle can't be higher than outer angle, otherwise will default to same value. Min value is 0. Max value is 179. */
4590
- innerAngle?: number | undefined;
4591
- /** default = 30. Outer angle can't be lower than inner angle, otherwise will inner angle will be set to same value. Max value is 179. */
4592
- outerAngle?: number | undefined;
4593
- /** default = ShadowType.ST_NONE The type of shadow the light source supports. */
4594
- shadow?: PBLightSource_ShadowType | undefined;
4595
- /** Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window. */
4596
- shadowMaskTexture?: TextureUnion | undefined;
4597
- }
4598
-
4599
- /**
4600
- * @public
4601
- */
4602
- export declare namespace PBLightSource_Spot {
4603
- export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
4604
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
4605
- }
4606
-
4607
4501
  /**
4608
4502
  * PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
4609
4503
  * This component may hold 'repeated common.CameraTransition' transitionOverrides in the future