@dcl/sdk 7.0.0-2910409620.commit-f5c436b → 7.0.0-2922539882.commit-9deab4c

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.
@@ -248,6 +248,8 @@ export declare namespace Components {
248
248
  /** @public */
249
249
  const Material: ComponentDefinition<ISchema<PBMaterial>>;
250
250
  /** @public */
251
+ const MeshRenderer: ComponentDefinition<ISchema<PBMeshRenderer>>;
252
+ /** @public */
251
253
  const NFTShape: ComponentDefinition<ISchema<PBNFTShape>>;
252
254
  /** @public */
253
255
  const OnPointerDown: ComponentDefinition<ISchema<PBOnPointerDown>>;
@@ -265,6 +267,8 @@ export declare namespace Components {
265
267
  const SphereShape: ComponentDefinition<ISchema<PBSphereShape>>;
266
268
  /** @public */
267
269
  const TextShape: ComponentDefinition<ISchema<PBTextShape>>;
270
+ /** @public */
271
+ const UiText: ComponentDefinition<ISchema<PBUiText>>;
268
272
  }
269
273
 
270
274
  /**
@@ -460,6 +464,7 @@ declare function defineLibraryComponents({ defineComponentFromSchema }: Pick<IEn
460
464
  CylinderShape: ComponentDefinition<ISchema<PBCylinderShape>>;
461
465
  GLTFShape: ComponentDefinition<ISchema<PBGLTFShape>>;
462
466
  Material: ComponentDefinition<ISchema<PBMaterial>>;
467
+ MeshRenderer: ComponentDefinition<ISchema<PBMeshRenderer>>;
463
468
  NFTShape: ComponentDefinition<ISchema<PBNFTShape>>;
464
469
  OnPointerDown: ComponentDefinition<ISchema<PBOnPointerDown>>;
465
470
  OnPointerDownResult: ComponentDefinition<ISchema<PBOnPointerDownResult>>;
@@ -469,6 +474,7 @@ declare function defineLibraryComponents({ defineComponentFromSchema }: Pick<IEn
469
474
  PointerLock: ComponentDefinition<ISchema<PBPointerLock>>;
470
475
  SphereShape: ComponentDefinition<ISchema<PBSphereShape>>;
471
476
  TextShape: ComponentDefinition<ISchema<PBTextShape>>;
477
+ UiText: ComponentDefinition<ISchema<PBUiText>>;
472
478
  };
473
479
 
474
480
  /**
@@ -1411,6 +1417,9 @@ declare namespace Matrix {
1411
1417
  function toggleProjectionMatrixHandInPlace(self: MutableMatrix): void;
1412
1418
  }
1413
1419
 
1420
+ /** @public */
1421
+ export declare const MeshRenderer: ComponentDefinition<ISchema<PBMeshRenderer>>;
1422
+
1414
1423
  /** @public */
1415
1424
  export declare const NFTShape: ComponentDefinition<ISchema<PBNFTShape>>;
1416
1425
 
@@ -1597,6 +1606,31 @@ declare interface PBMaterial_Texture {
1597
1606
  filterMode?: FilterMode | undefined;
1598
1607
  }
1599
1608
 
1609
+ declare interface PBMeshRenderer {
1610
+ box: PBMeshRenderer_BoxMesh | undefined;
1611
+ sphere: PBMeshRenderer_SphereMesh | undefined;
1612
+ cylinder: PBMeshRenderer_CylinderMesh | undefined;
1613
+ plane: PBMeshRenderer_PlaneMesh | undefined;
1614
+ }
1615
+
1616
+ declare interface PBMeshRenderer_BoxMesh {
1617
+ uvs: number[];
1618
+ }
1619
+
1620
+ declare interface PBMeshRenderer_CylinderMesh {
1621
+ /** default=1.0 */
1622
+ radiusTop?: number | undefined;
1623
+ /** default=1.0 */
1624
+ radiusBottom?: number | undefined;
1625
+ }
1626
+
1627
+ declare interface PBMeshRenderer_PlaneMesh {
1628
+ uvs: number[];
1629
+ }
1630
+
1631
+ declare interface PBMeshRenderer_SphereMesh {
1632
+ }
1633
+
1600
1634
  declare interface PBNFTShape {
1601
1635
  /** @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 */
1602
1636
  withCollisions?: boolean | undefined;
@@ -1714,6 +1748,11 @@ declare interface PBTextShape {
1714
1748
  textColor?: Color3 | undefined;
1715
1749
  }
1716
1750
 
1751
+ declare interface PBUiText {
1752
+ text: string;
1753
+ textColor: Color3 | undefined;
1754
+ }
1755
+
1717
1756
  /**
1718
1757
  * Represens a plane by the equation ax + by + cz + d = 0
1719
1758
  * @public
@@ -2130,6 +2169,9 @@ export declare type TransportMessage = Omit<ReceiveMessage, 'data'>;
2130
2169
 
2131
2170
  declare type Uint32 = number;
2132
2171
 
2172
+ /** @public */
2173
+ export declare const UiText: ComponentDefinition<ISchema<PBUiText>>;
2174
+
2133
2175
  /**
2134
2176
  * @public
2135
2177
  */