@dcl/sdk 7.0.0-3138450135.commit-b55c337 → 7.0.0-3161135633.commit-7f143e3
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 +5 -10
- package/dist/ecs7/index.js +15 -33
- package/dist/ecs7/index.min.js +1 -1
- package/dist/ecs7/index.min.js.map +1 -1
- package/dist/ecs7/proto-definitions/GltfContainer.proto +12 -0
- package/package.json +4 -4
- package/types/ecs7/index.d.ts +5 -10
- package/dist/ecs7/proto-definitions/GLTFShape.proto +0 -14
package/dist/ecs7/index.d.ts
CHANGED
@@ -234,7 +234,7 @@ export declare namespace Components {
|
|
234
234
|
/** @public */
|
235
235
|
const CylinderShape: ComponentDefinition<ISchema<PBCylinderShape>, PBCylinderShape>;
|
236
236
|
/** @public */
|
237
|
-
const
|
237
|
+
const GltfContainer: ComponentDefinition<ISchema<PBGltfContainer>, PBGltfContainer>;
|
238
238
|
/** @public */
|
239
239
|
const Material: ComponentDefinition<ISchema<PBMaterial>, PBMaterial>;
|
240
240
|
/** @public */
|
@@ -483,7 +483,7 @@ declare function defineSdkComponents(engine: PreEngine): {
|
|
483
483
|
CameraMode: ComponentDefinition<ISchema<PBCameraMode>, PBCameraMode>;
|
484
484
|
CameraModeArea: ComponentDefinition<ISchema<PBCameraModeArea>, PBCameraModeArea>;
|
485
485
|
CylinderShape: ComponentDefinition<ISchema<PBCylinderShape>, PBCylinderShape>;
|
486
|
-
|
486
|
+
GltfContainer: ComponentDefinition<ISchema<PBGltfContainer>, PBGltfContainer>;
|
487
487
|
Material: ComponentDefinition<ISchema<PBMaterial>, PBMaterial>;
|
488
488
|
NFTShape: ComponentDefinition<ISchema<PBNFTShape>, PBNFTShape>;
|
489
489
|
OnPointerDown: ComponentDefinition<ISchema<PBOnPointerDown>, PBOnPointerDown>;
|
@@ -555,7 +555,7 @@ declare const enum Font {
|
|
555
555
|
}
|
556
556
|
|
557
557
|
/** @public */
|
558
|
-
export declare const
|
558
|
+
export declare const GltfContainer: ComponentDefinition<ISchema<PBGltfContainer>, PBGltfContainer>;
|
559
559
|
|
560
560
|
/**
|
561
561
|
* @public
|
@@ -1896,13 +1896,8 @@ declare interface PBCylinderShape {
|
|
1896
1896
|
radiusBottom?: number | undefined;
|
1897
1897
|
}
|
1898
1898
|
|
1899
|
-
declare interface
|
1900
|
-
/**
|
1901
|
-
withCollisions?: boolean | undefined;
|
1902
|
-
/** @deprecated use MeshCollider instead https://github.com/decentraland/sdk/issues/366 */
|
1903
|
-
isPointerBlocker?: boolean | undefined;
|
1904
|
-
/** @deprecated use HiddenComponent instead https://github.com/decentraland/sdk/issues/353 */
|
1905
|
-
visible?: boolean | undefined;
|
1899
|
+
declare interface PBGltfContainer {
|
1900
|
+
/** which file to load */
|
1906
1901
|
src: string;
|
1907
1902
|
}
|
1908
1903
|
|