@dcl/sdk 7.0.0-3220317770.commit-748a07b → 7.0.0-3229738194.commit-4629198

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.
@@ -244,14 +244,6 @@ export declare namespace Components {
244
244
  /** @public */
245
245
  const NFTShape: ComponentDefinition<ISchema<PBNFTShape>, PBNFTShape>;
246
246
  /** @public */
247
- const OnPointerDown: ComponentDefinition<ISchema<PBOnPointerDown>, PBOnPointerDown>;
248
- /** @public */
249
- const OnPointerDownResult: ComponentDefinition<ISchema<PBOnPointerDownResult>, PBOnPointerDownResult>;
250
- /** @public */
251
- const OnPointerUp: ComponentDefinition<ISchema<PBOnPointerUp>, PBOnPointerUp>;
252
- /** @public */
253
- const OnPointerUpResult: ComponentDefinition<ISchema<PBOnPointerUpResult>, PBOnPointerUpResult>;
254
- /** @public */
255
247
  const PointerEvents: ComponentDefinition<ISchema<PBPointerEvents>, PBPointerEvents>;
256
248
  /** @public */
257
249
  const PointerEventsResult: ComponentDefinition<ISchema<PBPointerEventsResult>, PBPointerEventsResult>;
@@ -264,7 +256,7 @@ export declare namespace Components {
264
256
  /** @public */
265
257
  const TextShape: ComponentDefinition<ISchema<PBTextShape>, PBTextShape>;
266
258
  /** @public */
267
- const UiStyles: ComponentDefinition<ISchema<PBUiStyles>, PBUiStyles>;
259
+ const UiBackground: ComponentDefinition<ISchema<PBUiBackground>, PBUiBackground>;
268
260
  /** @public */
269
261
  const UiText: ComponentDefinition<ISchema<PBUiText>, PBUiText>;
270
262
  /** @public */
@@ -477,17 +469,13 @@ declare function defineSdkComponents(engine: PreEngine): {
477
469
  GltfContainer: ComponentDefinition<ISchema<PBGltfContainer>, PBGltfContainer>;
478
470
  Material: ComponentDefinition<ISchema<PBMaterial>, PBMaterial>;
479
471
  NFTShape: ComponentDefinition<ISchema<PBNFTShape>, PBNFTShape>;
480
- OnPointerDown: ComponentDefinition<ISchema<PBOnPointerDown>, PBOnPointerDown>;
481
- OnPointerDownResult: ComponentDefinition<ISchema<PBOnPointerDownResult>, PBOnPointerDownResult>;
482
- OnPointerUp: ComponentDefinition<ISchema<PBOnPointerUp>, PBOnPointerUp>;
483
- OnPointerUpResult: ComponentDefinition<ISchema<PBOnPointerUpResult>, PBOnPointerUpResult>;
484
472
  PointerEvents: ComponentDefinition<ISchema<PBPointerEvents>, PBPointerEvents>;
485
473
  PointerEventsResult: ComponentDefinition<ISchema<PBPointerEventsResult>, PBPointerEventsResult>;
486
474
  PointerLock: ComponentDefinition<ISchema<PBPointerLock>, PBPointerLock>;
487
475
  Raycast: ComponentDefinition<ISchema<PBRaycast>, PBRaycast>;
488
476
  RaycastResult: ComponentDefinition<ISchema<PBRaycastResult>, PBRaycastResult>;
489
477
  TextShape: ComponentDefinition<ISchema<PBTextShape>, PBTextShape>;
490
- UiStyles: ComponentDefinition<ISchema<PBUiStyles>, PBUiStyles>;
478
+ UiBackground: ComponentDefinition<ISchema<PBUiBackground>, PBUiBackground>;
491
479
  UiText: ComponentDefinition<ISchema<PBUiText>, PBUiText>;
492
480
  UiTransform: ComponentDefinition<ISchema<PBUiTransform>, PBUiTransform>;
493
481
  VisibilityComponent: ComponentDefinition<ISchema<PBVisibilityComponent>, PBVisibilityComponent>;
@@ -1758,18 +1746,6 @@ export declare const onPlayerExpressionObservable: Observable<{
1758
1746
  expressionId: string;
1759
1747
  }>;
1760
1748
 
1761
- /** @public */
1762
- export declare const OnPointerDown: ComponentDefinition<ISchema<PBOnPointerDown>, PBOnPointerDown>;
1763
-
1764
- /** @public */
1765
- export declare const OnPointerDownResult: ComponentDefinition<ISchema<PBOnPointerDownResult>, PBOnPointerDownResult>;
1766
-
1767
- /** @public */
1768
- export declare const OnPointerUp: ComponentDefinition<ISchema<PBOnPointerUp>, PBOnPointerUp>;
1769
-
1770
- /** @public */
1771
- export declare const OnPointerUpResult: ComponentDefinition<ISchema<PBOnPointerUpResult>, PBOnPointerUpResult>;
1772
-
1773
1749
  /**
1774
1750
  * @public
1775
1751
  * @deprecated This function is an inheritance of ECS6, it's here temporary for the feature parity, please read the news and docs to know how handle when it's removed.
@@ -2028,50 +2004,6 @@ declare const enum PBNFTShape_PictureFrameStyle {
2028
2004
  UNRECOGNIZED = -1
2029
2005
  }
2030
2006
 
2031
- declare interface PBOnPointerDown {
2032
- /** default=ActionButton.ANY */
2033
- button?: ActionButton | undefined;
2034
- /** default='Interact' */
2035
- hoverText?: string | undefined;
2036
- /** default=10 */
2037
- maxDistance?: number | undefined;
2038
- /** default=true */
2039
- showFeedback?: boolean | undefined;
2040
- }
2041
-
2042
- declare interface PBOnPointerDownResult {
2043
- button: ActionButton;
2044
- meshName: string;
2045
- origin: Vector3_2 | undefined;
2046
- direction: Vector3_2 | undefined;
2047
- point: Vector3_2 | undefined;
2048
- normal: Vector3_2 | undefined;
2049
- distance: number;
2050
- timestamp: number;
2051
- }
2052
-
2053
- declare interface PBOnPointerUp {
2054
- /** default=ActionButton.ANY */
2055
- button?: ActionButton | undefined;
2056
- /** default='Interact' */
2057
- hoverText?: string | undefined;
2058
- /** default=10 */
2059
- maxDistance?: number | undefined;
2060
- /** default=true */
2061
- showFeedback?: boolean | undefined;
2062
- }
2063
-
2064
- declare interface PBOnPointerUpResult {
2065
- button: ActionButton;
2066
- meshName: string;
2067
- origin: Vector3_2 | undefined;
2068
- direction: Vector3_2 | undefined;
2069
- point: Vector3_2 | undefined;
2070
- normal: Vector3_2 | undefined;
2071
- distance: number;
2072
- timestamp: number;
2073
- }
2074
-
2075
2007
  declare interface PBPointerEvents {
2076
2008
  pointerEvents: PBPointerEvents_Entry[];
2077
2009
  }
@@ -2166,7 +2098,7 @@ declare interface PBTextShape {
2166
2098
  textColor?: Color3 | undefined;
2167
2099
  }
2168
2100
 
2169
- declare interface PBUiStyles {
2101
+ declare interface PBUiBackground {
2170
2102
  /** default=(0.0, 0.0, 0.0, 0.0) */
2171
2103
  backgroundColor?: Color4 | undefined;
2172
2104
  }
@@ -2753,10 +2685,10 @@ export declare type Transport = {
2753
2685
 
2754
2686
  export declare type TransportMessage = Omit<ReceiveMessage, 'data'>;
2755
2687
 
2756
- declare type Uint32 = number;
2757
-
2758
2688
  /** @public */
2759
- export declare const UiStyles: ComponentDefinition<ISchema<PBUiStyles>, PBUiStyles>;
2689
+ export declare const UiBackground: ComponentDefinition<ISchema<PBUiBackground>, PBUiBackground>;
2690
+
2691
+ declare type Uint32 = number;
2760
2692
 
2761
2693
  /** @public */
2762
2694
  export declare const UiText: ComponentDefinition<ISchema<PBUiText>, PBUiText>;