@tresjs/cientos 1.8.0 → 2.0.0-alpha.1
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/README.md +44 -0
- package/dist/core/Box.vue.d.ts +20 -1
- package/dist/core/Circle.vue.d.ts +19 -1
- package/dist/core/Cone.vue.d.ts +24 -6
- package/dist/core/Dodecahedron.vue.d.ts +19 -1
- package/dist/core/Icosahedron.vue.d.ts +19 -1
- package/dist/core/Octahedron.vue.d.ts +19 -1
- package/dist/core/OrbitControls.vue.d.ts +44 -0
- package/dist/core/Plane.vue.d.ts +19 -1
- package/dist/core/Ring.vue.d.ts +19 -1
- package/dist/core/Sphere.vue.d.ts +20 -1
- package/dist/core/Tetrahedron.vue.d.ts +19 -1
- package/dist/core/Text3D.vue.d.ts +93 -2
- package/dist/core/Torus.vue.d.ts +19 -1
- package/dist/core/TorusKnot.vue.d.ts +19 -1
- package/dist/core/Tube.vue.d.ts +21 -3
- package/dist/core/useEnvironment/component.d.ts +2 -36
- package/dist/core/useEnvironment/const.d.ts +3 -0
- package/dist/core/useFBX/component.d.ts +11 -11
- package/dist/core/useGLTF/component.d.ts +22 -24
- package/dist/core/usePamCameraMouse/component.d.ts +19 -26
- package/dist/trescientos.js +3100 -3159
- package/dist/trescientos.umd.cjs +8 -8
- package/package.json +27 -17
- package/dist/composables/useLogger.d.ts +0 -8
- package/dist/vite-env.d.ts +0 -3
|
@@ -1,35 +1,33 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface GLTFModelProps {
|
|
2
2
|
/**
|
|
3
|
+
*
|
|
3
4
|
* The path to the GLTF file.
|
|
4
5
|
*
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
* Whether to use Draco compression.
|
|
6
|
+
* @type {string}
|
|
7
|
+
* @required
|
|
8
|
+
* @memberof GLTFModelProps
|
|
9
9
|
*
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
**/
|
|
11
|
+
path: string;
|
|
12
12
|
/**
|
|
13
|
-
* The path to the Draco decoder.
|
|
14
13
|
*
|
|
15
|
-
*/
|
|
16
|
-
decoderPath: StringConstructor;
|
|
17
|
-
}, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
-
/**
|
|
19
|
-
* The path to the GLTF file.
|
|
20
|
-
*
|
|
21
|
-
*/
|
|
22
|
-
path: StringConstructor;
|
|
23
|
-
/**
|
|
24
14
|
* Whether to use Draco compression.
|
|
25
15
|
*
|
|
26
|
-
|
|
27
|
-
|
|
16
|
+
* @type {boolean}
|
|
17
|
+
* @default false
|
|
18
|
+
* @memberof GLTFModelProps
|
|
19
|
+
*
|
|
20
|
+
**/
|
|
21
|
+
draco?: boolean;
|
|
28
22
|
/**
|
|
23
|
+
*
|
|
29
24
|
* The path to the Draco decoder.
|
|
30
25
|
*
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @default 'https://www.gstatic.com/draco/versioned/decoders/1.4.1/'
|
|
28
|
+
* @memberof GLTFModelProps
|
|
29
|
+
*
|
|
30
|
+
**/
|
|
31
|
+
decoderPath?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare const GLTFModel: import("vue").DefineComponent<GLTFModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<GLTFModelProps>, {}>;
|
|
@@ -1,26 +1,19 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
required: false;
|
|
21
|
-
default: number;
|
|
22
|
-
};
|
|
23
|
-
}>>, {
|
|
24
|
-
disabled: boolean;
|
|
25
|
-
factor: number;
|
|
26
|
-
}>;
|
|
1
|
+
export interface PamCameraMouseProps {
|
|
2
|
+
/**
|
|
3
|
+
* Whether to disable the mouse controls.
|
|
4
|
+
* @type {boolean}
|
|
5
|
+
* @default false
|
|
6
|
+
* @memberof PamCameraMouseProps
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* The factor to multiply the mouse movement by.
|
|
12
|
+
* @type {number}
|
|
13
|
+
* @default 5
|
|
14
|
+
* @memberof PamCameraMouseProps
|
|
15
|
+
*
|
|
16
|
+
**/
|
|
17
|
+
factor?: number;
|
|
18
|
+
}
|
|
19
|
+
export declare const PamCameraMouse: import("vue").DefineComponent<PamCameraMouseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<PamCameraMouseProps>, {}>;
|