shop-components 0.0.18 → 0.0.19
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/device-viewer/index.d.ts +1 -0
- package/dist/device-viewer/scene.d.ts +3 -0
- package/dist/device-viewer/slot.d.ts +2 -0
- package/dist/sglb/index.d.ts +4 -0
- package/dist/shop-components.mjs +15607 -14222
- package/dist/shop-components.umd.js +399 -382
- package/package.json +1 -1
|
@@ -96,6 +96,9 @@ export declare class Scene3D {
|
|
|
96
96
|
generateBVH(): Promise<void>;
|
|
97
97
|
download(): void;
|
|
98
98
|
clearAMR(): void;
|
|
99
|
+
exportAMR(): Promise<ArrayBuffer | {
|
|
100
|
+
[key: string]: any;
|
|
101
|
+
}>;
|
|
99
102
|
addAMR(url: string): Promise<void>;
|
|
100
103
|
fit: () => void;
|
|
101
104
|
select(obj: string | Object3D | Object3D[]): void;
|
|
@@ -36,6 +36,7 @@ export declare class Slot extends CSS2DObject {
|
|
|
36
36
|
install(info: DeviceInfo): Promise<void>;
|
|
37
37
|
getWP: (target: import("three").Vector3) => import("three").Vector3;
|
|
38
38
|
get device(): Object3D<import("three").Object3DEventMap> | null;
|
|
39
|
+
changeName(name: string): void;
|
|
39
40
|
clearSlot(): void;
|
|
40
41
|
enable(): void;
|
|
41
42
|
disable(): void;
|
|
@@ -49,4 +50,5 @@ export declare class Slot extends CSS2DObject {
|
|
|
49
50
|
set error(hasError: boolean);
|
|
50
51
|
canInstall(c: boolean): void;
|
|
51
52
|
dispose(): void;
|
|
53
|
+
clone(recursive?: boolean): this;
|
|
52
54
|
}
|
package/dist/sglb/index.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader';
|
|
2
2
|
import { Object3D } from 'three';
|
|
3
|
+
import { DRACOExporter } from 'three/examples/jsm/exporters/DRACOExporter';
|
|
4
|
+
import { GLTFExporter } from 'three/examples/jsm/exporters/GLTFExporter';
|
|
5
|
+
export declare const gltfExporter: GLTFExporter;
|
|
3
6
|
export declare const gltfLoader: GLTFLoader;
|
|
7
|
+
export declare const dracoExporter: DRACOExporter;
|
|
4
8
|
interface SGLBContent {
|
|
5
9
|
version: number;
|
|
6
10
|
jsonDescription: any;
|