@dcl/playground-assets 7.9.4-16820196581.commit-2495603 → 7.9.4-16874339680.commit-0b18702

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
@@ -2681,8 +2681,31 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
2681
2681
  getOrCreateMutable(entity: Entity, initialValue?: T): T;
2682
2682
  }
2683
2683
 
2684
- /** @public */
2685
- export declare const LightSource: LastWriteWinElementSetComponentDefinition<PBLightSource>;
2684
+ export declare const LightSource: LightSourceComponentDefinitionExtended;
2685
+
2686
+ /**
2687
+ * @public
2688
+ */
2689
+ export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
2690
+ /**
2691
+ * LightSource helper with constructor
2692
+ */
2693
+ Type: LightSourceHelper;
2694
+ }
2695
+
2696
+ /**
2697
+ * @public
2698
+ */
2699
+ export declare interface LightSourceHelper {
2700
+ /**
2701
+ * @returns a Light Source type
2702
+ */
2703
+ Point: (point: PBLightSource_Point) => PBLightSource['type'];
2704
+ /**
2705
+ * @returns a Light Source type
2706
+ */
2707
+ Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
2708
+ }
2686
2709
 
2687
2710
  /**
2688
2711
  * User key event Listeners
package/dist/beta.d.ts CHANGED
@@ -2672,8 +2672,31 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
2672
2672
  getOrCreateMutable(entity: Entity, initialValue?: T): T;
2673
2673
  }
2674
2674
 
2675
- /** @public */
2676
- export declare const LightSource: LastWriteWinElementSetComponentDefinition<PBLightSource>;
2675
+ export declare const LightSource: LightSourceComponentDefinitionExtended;
2676
+
2677
+ /**
2678
+ * @public
2679
+ */
2680
+ export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
2681
+ /**
2682
+ * LightSource helper with constructor
2683
+ */
2684
+ Type: LightSourceHelper;
2685
+ }
2686
+
2687
+ /**
2688
+ * @public
2689
+ */
2690
+ export declare interface LightSourceHelper {
2691
+ /**
2692
+ * @returns a Light Source type
2693
+ */
2694
+ Point: (point: PBLightSource_Point) => PBLightSource['type'];
2695
+ /**
2696
+ * @returns a Light Source type
2697
+ */
2698
+ Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
2699
+ }
2677
2700
 
2678
2701
  /**
2679
2702
  * User key event Listeners
@@ -2672,8 +2672,31 @@ export declare interface LastWriteWinElementSetComponentDefinition<T> extends Ba
2672
2672
  getOrCreateMutable(entity: Entity, initialValue?: T): T;
2673
2673
  }
2674
2674
 
2675
- /** @public */
2676
- export declare const LightSource: LastWriteWinElementSetComponentDefinition<PBLightSource>;
2675
+ export declare const LightSource: LightSourceComponentDefinitionExtended;
2676
+
2677
+ /**
2678
+ * @public
2679
+ */
2680
+ export declare interface LightSourceComponentDefinitionExtended extends LastWriteWinElementSetComponentDefinition<PBLightSource> {
2681
+ /**
2682
+ * LightSource helper with constructor
2683
+ */
2684
+ Type: LightSourceHelper;
2685
+ }
2686
+
2687
+ /**
2688
+ * @public
2689
+ */
2690
+ export declare interface LightSourceHelper {
2691
+ /**
2692
+ * @returns a Light Source type
2693
+ */
2694
+ Point: (point: PBLightSource_Point) => PBLightSource['type'];
2695
+ /**
2696
+ * @returns a Light Source type
2697
+ */
2698
+ Spot: (spot: PBLightSource_Spot) => PBLightSource['type'];
2699
+ }
2677
2700
 
2678
2701
  /**
2679
2702
  * User key event Listeners