@dcl/playground-assets 7.8.1-14112508710.commit-8fa2c9e → 7.8.1-14131012904.commit-6157fcb

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.8.1-14112508710.commit-8fa2c9e",
4
+ "version": "7.8.1-14131012904.commit-6157fcb",
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": "8fa2c9ef443b105ba30e66043af3800f66d93aed"
38
+ "commit": "6157fcbf87f7bd79d04dc12aeaeb3b2adf5e8a9f"
39
39
  }
@@ -1309,7 +1309,6 @@ export declare const componentDefinitionByName: {
1309
1309
  "core::GltfContainer": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainer>>;
1310
1310
  "core::GltfContainerLoadingState": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBGltfContainerLoadingState>>;
1311
1311
  "core::InputModifier": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBInputModifier>>;
1312
- "core::LightSource": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBLightSource>>;
1313
1312
  "core::MainCamera": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMainCamera>>;
1314
1313
  "core::Material": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMaterial>>;
1315
1314
  "core::MeshCollider": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBMeshCollider>>;
@@ -2668,32 +2667,6 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
2668
2667
  getOrCreateMutable(entity: Entity, initialValue?: T): T;
2669
2668
  }
2670
2669
 
2671
- export declare const LightSource: LightSourceComponentDefinitionExtended;
2672
-
2673
- /**
2674
- * @public
2675
- */
2676
- export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
2677
- /**
2678
- * LightSource helper with constructor
2679
- */
2680
- Type: LightSourceHelper;
2681
- }
2682
-
2683
- /**
2684
- * @public
2685
- */
2686
- export declare interface LightSourceHelper {
2687
- /**
2688
- * @returns a Light Source type
2689
- */
2690
- Point: (point: PBLightSource_Point) => PBLightSource['type'];
2691
- /**
2692
- * @returns a Light Source type
2693
- */
2694
- Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
2695
- }
2696
-
2697
2670
  /**
2698
2671
  * User key event Listeners
2699
2672
  * @public
@@ -4569,85 +4542,6 @@ export declare namespace PBInputModifier_StandardInput {
4569
4542
  export function decode(input: _m0.Reader | Uint8Array, length?: number): PBInputModifier_StandardInput;
4570
4543
  }
4571
4544
 
4572
- /**
4573
- * @public
4574
- */
4575
- export declare interface PBLightSource {
4576
- /** default = true, whether the lightSource is active or not. */
4577
- active?: boolean | undefined;
4578
- /** 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. */
4579
- color?: PBColor3 | undefined;
4580
- /** default = 250, ranges from 1 (dim) to 100,000 (very bright), expressed in Lumens for Point and Spot. */
4581
- brightness?: number | undefined;
4582
- /** default = 10, how far the light travels, expressed in meters. */
4583
- range?: number | undefined;
4584
- type?: {
4585
- $case: "point";
4586
- point: PBLightSource_Point;
4587
- } | {
4588
- $case: "spot";
4589
- spot: PBLightSource_Spot;
4590
- } | undefined;
4591
- }
4592
-
4593
- /**
4594
- * @public
4595
- */
4596
- export declare namespace PBLightSource {
4597
- export function encode(message: PBLightSource, writer?: _m0.Writer): _m0.Writer;
4598
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource;
4599
- }
4600
-
4601
- /**
4602
- * @public
4603
- */
4604
- export declare interface PBLightSource_Point {
4605
- /** default = ShadowType.ST_NONE The type of shadow the light source supports. */
4606
- shadow?: PBLightSource_ShadowType | undefined;
4607
- }
4608
-
4609
- /**
4610
- * @public
4611
- */
4612
- export declare namespace PBLightSource_Point {
4613
- export function encode(message: PBLightSource_Point, writer?: _m0.Writer): _m0.Writer;
4614
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Point;
4615
- }
4616
-
4617
- /**
4618
- * @public
4619
- */
4620
- export declare const enum PBLightSource_ShadowType {
4621
- /** ST_NONE - No shadows are cast from this LightSource. */
4622
- ST_NONE = 0,
4623
- /** ST_SOFT - More realistic type of shadow that reduces block artifacts, noise or pixelation, but requires more processing. */
4624
- ST_SOFT = 1,
4625
- /** ST_HARD - Less realistic type of shadow but more performant, uses hard edges. */
4626
- ST_HARD = 2
4627
- }
4628
-
4629
- /**
4630
- * @public
4631
- */
4632
- export declare interface PBLightSource_Spot {
4633
- /** 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. */
4634
- innerAngle?: number | undefined;
4635
- /** 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. */
4636
- outerAngle?: number | undefined;
4637
- /** default = ShadowType.ST_NONE The type of shadow the light source supports. */
4638
- shadow?: PBLightSource_ShadowType | undefined;
4639
- /** Texture mask through which shadows are cast to simulate caustics, soft shadows, and light shapes such as light entering from a window. */
4640
- shadowMaskTexture?: TextureUnion | undefined;
4641
- }
4642
-
4643
- /**
4644
- * @public
4645
- */
4646
- export declare namespace PBLightSource_Spot {
4647
- export function encode(message: PBLightSource_Spot, writer?: _m0.Writer): _m0.Writer;
4648
- export function decode(input: _m0.Reader | Uint8Array, length?: number): PBLightSource_Spot;
4649
- }
4650
-
4651
4545
  /**
4652
4546
  * PBMainCamera.virtualCameraEntity defines which VirtualCamera entity is active at the moment.
4653
4547
  * This component may hold 'repeated common.CameraTransition' transitionOverrides in the future
@@ -5778,7 +5672,6 @@ export declare namespace PBVideoPlayer {
5778
5672
  * an 'instant' transition (like using speed/time = 0)
5779
5673
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
5780
5674
  * the holding entity transform).
5781
- * * The fov defines the Field of View of the virtual camera
5782
5675
  */
5783
5676
  /**
5784
5677
  * @public
@@ -5786,8 +5679,6 @@ export declare namespace PBVideoPlayer {
5786
5679
  export declare interface PBVirtualCamera {
5787
5680
  defaultTransition?: CameraTransition | undefined;
5788
5681
  lookAtEntity?: number | undefined;
5789
- /** default: 60 */
5790
- fov?: number | undefined;
5791
5682
  }
5792
5683
 
5793
5684
  /**
@@ -6680,6 +6571,15 @@ export declare namespace ReactEcs {
6680
6571
  }
6681
6572
  }
6682
6573
  const createElement: any;
6574
+ export type SetStateAction<T> = T | ((prevState: T) => T);
6575
+ export type Dispatch<T> = (action: SetStateAction<T>) => void;
6576
+ export type StateHook = <T>(initialState: T | (() => T)) => [T, Dispatch<T>];
6577
+ export type DependencyList = ReadonlyArray<any>;
6578
+ export type EffectCallback = () => void | (() => void | undefined);
6579
+ export type EffectHook = (effect: EffectCallback, deps?: DependencyList) => void;
6580
+ const useEffect: EffectHook;
6581
+ const useState: StateHook;
6582
+ {};
6683
6583
  }
6684
6584
 
6685
6585
  /**