@dcl/sdk 7.0.0-2965783764.commit-18f9e1c → 7.0.0-2966684214.commit-a567432
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/ecs7/index.d.ts
CHANGED
@@ -229,6 +229,8 @@ export declare namespace Components {
|
|
229
229
|
/** @public */
|
230
230
|
const Material: ComponentDefinition<ISchema<PBMaterial>, PBMaterial>;
|
231
231
|
/** @public */
|
232
|
+
const MeshCollider: ComponentDefinition<ISchema<PBMeshCollider>, PBMeshCollider>;
|
233
|
+
/** @public */
|
232
234
|
const MeshRenderer: ComponentDefinition<ISchema<PBMeshRenderer>, Partial<PBMeshRenderer>>;
|
233
235
|
/** @public */
|
234
236
|
const NFTShape: ComponentDefinition<ISchema<PBNFTShape>, PBNFTShape>;
|
@@ -452,6 +454,7 @@ declare function defineSdkComponents(engine: PreEngine): {
|
|
452
454
|
CylinderShape: ComponentDefinition<ISchema<PBCylinderShape>, PBCylinderShape>;
|
453
455
|
GLTFShape: ComponentDefinition<ISchema<PBGLTFShape>, PBGLTFShape>;
|
454
456
|
Material: ComponentDefinition<ISchema<PBMaterial>, PBMaterial>;
|
457
|
+
MeshCollider: ComponentDefinition<ISchema<PBMeshCollider>, PBMeshCollider>;
|
455
458
|
NFTShape: ComponentDefinition<ISchema<PBNFTShape>, PBNFTShape>;
|
456
459
|
OnPointerDown: ComponentDefinition<ISchema<PBOnPointerDown>, PBOnPointerDown>;
|
457
460
|
OnPointerDownResult: ComponentDefinition<ISchema<PBOnPointerDownResult>, PBOnPointerDownResult>;
|
@@ -1402,6 +1405,9 @@ declare namespace Matrix {
|
|
1402
1405
|
function toggleProjectionMatrixHandInPlace(self: MutableMatrix): void;
|
1403
1406
|
}
|
1404
1407
|
|
1408
|
+
/** @public */
|
1409
|
+
export declare const MeshCollider: ComponentDefinition<ISchema<PBMeshCollider>, PBMeshCollider>;
|
1410
|
+
|
1405
1411
|
/** @public */
|
1406
1412
|
export declare const MeshRenderer: ComponentDefinition<ISchema<PBMeshRenderer>, Partial<PBMeshRenderer>>;
|
1407
1413
|
|
@@ -1591,6 +1597,31 @@ declare interface PBMaterial_Texture {
|
|
1591
1597
|
filterMode?: FilterMode | undefined;
|
1592
1598
|
}
|
1593
1599
|
|
1600
|
+
declare interface PBMeshCollider {
|
1601
|
+
/** default = ColliderLayer.Physics | ColliderLayer.Pointer */
|
1602
|
+
collisionMask?: number | undefined;
|
1603
|
+
box: PBMeshCollider_BoxMesh | undefined;
|
1604
|
+
sphere: PBMeshCollider_SphereMesh | undefined;
|
1605
|
+
cylinder: PBMeshCollider_CylinderMesh | undefined;
|
1606
|
+
plane: PBMeshCollider_PlaneMesh | undefined;
|
1607
|
+
}
|
1608
|
+
|
1609
|
+
declare interface PBMeshCollider_BoxMesh {
|
1610
|
+
}
|
1611
|
+
|
1612
|
+
declare interface PBMeshCollider_CylinderMesh {
|
1613
|
+
/** default=1.0 */
|
1614
|
+
radiusTop?: number | undefined;
|
1615
|
+
/** default=1.0 */
|
1616
|
+
radiusBottom?: number | undefined;
|
1617
|
+
}
|
1618
|
+
|
1619
|
+
declare interface PBMeshCollider_PlaneMesh {
|
1620
|
+
}
|
1621
|
+
|
1622
|
+
declare interface PBMeshCollider_SphereMesh {
|
1623
|
+
}
|
1624
|
+
|
1594
1625
|
declare interface PBMeshRenderer {
|
1595
1626
|
box: PBMeshRenderer_BoxMesh | undefined;
|
1596
1627
|
sphere: PBMeshRenderer_SphereMesh | undefined;
|