@tresjs/cientos 3.3.0-next.0 → 3.4.0

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.
Files changed (58) hide show
  1. package/package.json +2 -1
  2. package/dist/composables/useLogger.d.ts +0 -8
  3. package/dist/core/abstractions/Levioso.vue.d.ts +0 -52
  4. package/dist/core/abstractions/MouseParallax.vue.d.ts +0 -58
  5. package/dist/core/abstractions/Text3D.vue.d.ts +0 -234
  6. package/dist/core/abstractions/index.d.ts +0 -6
  7. package/dist/core/abstractions/useAnimations.d.ts +0 -18
  8. package/dist/core/controls/CameraControls.vue.d.ts +0 -9641
  9. package/dist/core/controls/KeyboardControls.vue.d.ts +0 -167
  10. package/dist/core/controls/MapControls.vue.d.ts +0 -54
  11. package/dist/core/controls/OrbitControls.vue.d.ts +0 -456
  12. package/dist/core/controls/PointerLockControls.vue.d.ts +0 -75
  13. package/dist/core/controls/ScrollControls.vue.d.ts +0 -101
  14. package/dist/core/controls/TransformControls.vue.d.ts +0 -124
  15. package/dist/core/controls/index.d.ts +0 -8
  16. package/dist/core/index.d.ts +0 -7
  17. package/dist/core/loaders/SVG/component.vue.d.ts +0 -68
  18. package/dist/core/loaders/index.d.ts +0 -8
  19. package/dist/core/loaders/useFBX/component.vue.d.ts +0 -24
  20. package/dist/core/loaders/useFBX/index.d.ts +0 -9
  21. package/dist/core/loaders/useGLTF/component.vue.d.ts +0 -65
  22. package/dist/core/loaders/useGLTF/index.d.ts +0 -36
  23. package/dist/core/loaders/useProgress.d.ts +0 -6
  24. package/dist/core/loaders/useVideoTexture.d.ts +0 -28
  25. package/dist/core/materials/index.d.ts +0 -3
  26. package/dist/core/materials/meshGlassMaterial/index.vue.d.ts +0 -4
  27. package/dist/core/materials/meshGlassMaterial/material.d.ts +0 -31
  28. package/dist/core/materials/meshWobbleMaterial/index.vue.d.ts +0 -23
  29. package/dist/core/materials/meshWobbleMaterial/material.d.ts +0 -16
  30. package/dist/core/misc/Stats.d.ts +0 -1
  31. package/dist/core/misc/index.d.ts +0 -3
  32. package/dist/core/misc/useTweakPane/index.d.ts +0 -10
  33. package/dist/core/shapes/Box.vue.d.ts +0 -53
  34. package/dist/core/shapes/Circle.vue.d.ts +0 -52
  35. package/dist/core/shapes/Cone.vue.d.ts +0 -52
  36. package/dist/core/shapes/Dodecahedron.vue.d.ts +0 -52
  37. package/dist/core/shapes/Icosahedron.vue.d.ts +0 -52
  38. package/dist/core/shapes/Octahedron.vue.d.ts +0 -52
  39. package/dist/core/shapes/Plane.vue.d.ts +0 -52
  40. package/dist/core/shapes/Ring.vue.d.ts +0 -52
  41. package/dist/core/shapes/Sphere.vue.d.ts +0 -53
  42. package/dist/core/shapes/Tetrahedron.vue.d.ts +0 -52
  43. package/dist/core/shapes/Torus.vue.d.ts +0 -52
  44. package/dist/core/shapes/TorusKnot.vue.d.ts +0 -52
  45. package/dist/core/shapes/Tube.vue.d.ts +0 -53
  46. package/dist/core/shapes/index.d.ts +0 -14
  47. package/dist/core/staging/Backdrop.vue.d.ts +0 -44
  48. package/dist/core/staging/Precipitation.vue.d.ts +0 -226
  49. package/dist/core/staging/Smoke.vue.d.ts +0 -146
  50. package/dist/core/staging/Stars.vue.d.ts +0 -145
  51. package/dist/core/staging/index.d.ts +0 -7
  52. package/dist/core/staging/useEnvironment/component.d.ts +0 -2
  53. package/dist/core/staging/useEnvironment/const.d.ts +0 -47
  54. package/dist/core/staging/useEnvironment/index.d.ts +0 -17
  55. package/dist/index.d.ts +0 -1
  56. package/dist/trescientos.js +0 -9994
  57. package/dist/trescientos.umd.cjs +0 -95
  58. package/dist/utils/index.d.ts +0 -20
@@ -1,75 +0,0 @@
1
- import type { Camera } from 'three';
2
- export interface PointerLockControlsProps {
3
- /**
4
- * Whether to make this the default controls.
5
- *
6
- * @default false
7
- * @type {boolean}
8
- * @memberof PointerLockControlsProps
9
- * @see https://threejs.org/docs/index.html?q=pointe#examples/en/controls/PointerLockControls
10
- */
11
- makeDefault?: boolean;
12
- /**
13
- * The camera to control.
14
- *
15
- * @default false
16
- * @type {boolean}
17
- * @memberof PointerLockControlsProps
18
- * @see https://threejs.org/docs/index.html?q=pointe#examples/en/controls/PointerLockControls
19
- */
20
- camera?: Camera;
21
- /**
22
- * The dom element to listen to.
23
- *
24
- * @type {HTMLElement}
25
- * @memberof PointerLockControlsProps
26
- * @see https://threejs.org/docs/index.html?q=pointe#examples/en/controls/PointerLockControls
27
- */
28
- domElement?: HTMLElement;
29
- /**
30
- * The trigger id.
31
- *
32
- * @type {string}
33
- * @memberof PointerLockControlsProps
34
- * @see https://threejs.org/docs/index.html?q=pointe#examples/en/controls/PointerLockControls
35
- */
36
- selector?: string;
37
- }
38
- declare const _default: import("vue").DefineComponent<{
39
- camera: {
40
- type: import("vue").PropType<Camera>;
41
- };
42
- makeDefault: {
43
- type: import("vue").PropType<boolean>;
44
- default: boolean;
45
- };
46
- domElement: {
47
- type: import("vue").PropType<HTMLElement>;
48
- };
49
- selector: {
50
- type: import("vue").PropType<string>;
51
- };
52
- }, {
53
- value: import("vue").Ref<(import("three").EventDispatcher<import("three").Event> & {
54
- enabled: boolean;
55
- }) | null>;
56
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "isLock"[], "isLock", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
57
- camera: {
58
- type: import("vue").PropType<Camera>;
59
- };
60
- makeDefault: {
61
- type: import("vue").PropType<boolean>;
62
- default: boolean;
63
- };
64
- domElement: {
65
- type: import("vue").PropType<HTMLElement>;
66
- };
67
- selector: {
68
- type: import("vue").PropType<string>;
69
- };
70
- }>> & {
71
- onIsLock?: ((...args: any[]) => any) | undefined;
72
- }, {
73
- makeDefault: boolean;
74
- }, {}>;
75
- export default _default;
@@ -1,101 +0,0 @@
1
- export interface ScrollControlsProps {
2
- /**
3
- * The scroll size.
4
- *
5
- * @type {Number}
6
- * @default 4
7
- * @memberof ScrollControlsProps
8
- */
9
- pages?: number;
10
- /**
11
- * The distance to move the camera.
12
- *
13
- * @type {Number}
14
- * @default 4
15
- * @memberof ScrollControlsProps
16
- */
17
- distance?: number;
18
- /**
19
- * The smooth factor of the scrolling.
20
- *
21
- * @type {Number}
22
- * @default 0.5
23
- * @memberof ScrollControlsProps
24
- */
25
- smoothScroll?: number;
26
- /**
27
- * Whether the scroll is horizontal or vertical.
28
- *
29
- * @type {Boolean}
30
- * @default false
31
- * @memberof ScrollControlsProps
32
- */
33
- horizontal?: boolean;
34
- /**
35
- * Whether to use the HTML scroll.
36
- *
37
- * @type {Boolean}
38
- * @default false
39
- * @memberof ScrollControlsProps
40
- */
41
- htmlScroll?: boolean;
42
- }
43
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
44
- distance: {
45
- type: import("vue").PropType<number>;
46
- default: number;
47
- };
48
- pages: {
49
- type: import("vue").PropType<number>;
50
- default: number;
51
- };
52
- smoothScroll: {
53
- type: import("vue").PropType<number>;
54
- default: number;
55
- };
56
- horizontal: {
57
- type: import("vue").PropType<boolean>;
58
- default: boolean;
59
- };
60
- htmlScroll: {
61
- type: import("vue").PropType<boolean>;
62
- default: boolean;
63
- };
64
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
65
- distance: {
66
- type: import("vue").PropType<number>;
67
- default: number;
68
- };
69
- pages: {
70
- type: import("vue").PropType<number>;
71
- default: number;
72
- };
73
- smoothScroll: {
74
- type: import("vue").PropType<number>;
75
- default: number;
76
- };
77
- horizontal: {
78
- type: import("vue").PropType<boolean>;
79
- default: boolean;
80
- };
81
- htmlScroll: {
82
- type: import("vue").PropType<boolean>;
83
- default: boolean;
84
- };
85
- }>> & {
86
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
87
- }, {
88
- distance: number;
89
- pages: number;
90
- smoothScroll: number;
91
- horizontal: boolean;
92
- htmlScroll: boolean;
93
- }, {}>, {
94
- default?(_: {}): any;
95
- }>;
96
- export default _default;
97
- type __VLS_WithTemplateSlots<T, S> = T & {
98
- new (): {
99
- $slots: S;
100
- };
101
- };
@@ -1,124 +0,0 @@
1
- import type { Object3D, Event } from 'three';
2
- export interface TransformControlsProps {
3
- object: Object3D;
4
- mode?: string;
5
- enabled?: boolean;
6
- axis?: 'X' | 'Y' | 'Z' | 'XY' | 'YZ' | 'XZ' | 'XYZ';
7
- translationSnap?: number;
8
- rotationSnap?: number;
9
- scaleSnap?: number;
10
- space?: 'local' | 'world';
11
- size?: number;
12
- showX?: boolean;
13
- showY?: boolean;
14
- showZ?: boolean;
15
- }
16
- declare const _default: import("vue").DefineComponent<{
17
- object: {
18
- type: import("vue").PropType<Object3D<Event>>;
19
- required: true;
20
- };
21
- size: {
22
- type: import("vue").PropType<number>;
23
- default: number;
24
- };
25
- enabled: {
26
- type: import("vue").PropType<boolean>;
27
- default: boolean;
28
- };
29
- mode: {
30
- type: import("vue").PropType<string>;
31
- default: string;
32
- };
33
- axis: {
34
- type: import("vue").PropType<"XYZ" | "X" | "Y" | "Z" | "XY" | "YZ" | "XZ">;
35
- default: string;
36
- };
37
- translationSnap: {
38
- type: import("vue").PropType<number>;
39
- };
40
- rotationSnap: {
41
- type: import("vue").PropType<number>;
42
- };
43
- scaleSnap: {
44
- type: import("vue").PropType<number>;
45
- };
46
- space: {
47
- type: import("vue").PropType<"local" | "world">;
48
- default: string;
49
- };
50
- showX: {
51
- type: import("vue").PropType<boolean>;
52
- default: boolean;
53
- };
54
- showY: {
55
- type: import("vue").PropType<boolean>;
56
- default: boolean;
57
- };
58
- showZ: {
59
- type: import("vue").PropType<boolean>;
60
- default: boolean;
61
- };
62
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "dragging" | "mouseDown" | "mouseUp" | "objectChange")[], "change" | "dragging" | "mouseDown" | "mouseUp" | "objectChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
63
- object: {
64
- type: import("vue").PropType<Object3D<Event>>;
65
- required: true;
66
- };
67
- size: {
68
- type: import("vue").PropType<number>;
69
- default: number;
70
- };
71
- enabled: {
72
- type: import("vue").PropType<boolean>;
73
- default: boolean;
74
- };
75
- mode: {
76
- type: import("vue").PropType<string>;
77
- default: string;
78
- };
79
- axis: {
80
- type: import("vue").PropType<"XYZ" | "X" | "Y" | "Z" | "XY" | "YZ" | "XZ">;
81
- default: string;
82
- };
83
- translationSnap: {
84
- type: import("vue").PropType<number>;
85
- };
86
- rotationSnap: {
87
- type: import("vue").PropType<number>;
88
- };
89
- scaleSnap: {
90
- type: import("vue").PropType<number>;
91
- };
92
- space: {
93
- type: import("vue").PropType<"local" | "world">;
94
- default: string;
95
- };
96
- showX: {
97
- type: import("vue").PropType<boolean>;
98
- default: boolean;
99
- };
100
- showY: {
101
- type: import("vue").PropType<boolean>;
102
- default: boolean;
103
- };
104
- showZ: {
105
- type: import("vue").PropType<boolean>;
106
- default: boolean;
107
- };
108
- }>> & {
109
- onChange?: ((...args: any[]) => any) | undefined;
110
- onDragging?: ((...args: any[]) => any) | undefined;
111
- onMouseDown?: ((...args: any[]) => any) | undefined;
112
- onMouseUp?: ((...args: any[]) => any) | undefined;
113
- onObjectChange?: ((...args: any[]) => any) | undefined;
114
- }, {
115
- size: number;
116
- enabled: boolean;
117
- mode: string;
118
- axis: "XYZ" | "X" | "Y" | "Z" | "XY" | "YZ" | "XZ";
119
- space: "local" | "world";
120
- showX: boolean;
121
- showY: boolean;
122
- showZ: boolean;
123
- }, {}>;
124
- export default _default;
@@ -1,8 +0,0 @@
1
- import OrbitControls from './OrbitControls.vue';
2
- import KeyboardControls from './KeyboardControls.vue';
3
- import TransformControls from './TransformControls.vue';
4
- import PointerLockControls from './PointerLockControls.vue';
5
- import MapControls from './MapControls.vue';
6
- import ScrollControls from './ScrollControls.vue';
7
- import CameraControls from './CameraControls.vue';
8
- export { OrbitControls, TransformControls, PointerLockControls, MapControls, KeyboardControls, ScrollControls, CameraControls, };
@@ -1,7 +0,0 @@
1
- export * from './abstractions';
2
- export * from './loaders';
3
- export * from './controls';
4
- export * from './materials';
5
- export * from './shapes';
6
- export * from './staging';
7
- export * from './misc';
@@ -1,68 +0,0 @@
1
- import type { TresOptions } from '@tresjs/core';
2
- import type { MeshBasicMaterialParameters } from 'three';
3
- declare const _default: import("vue").DefineComponent<{
4
- src: {
5
- type: import("vue").PropType<string>;
6
- required: true;
7
- };
8
- skipStrokes: {
9
- type: import("vue").PropType<boolean>;
10
- default: boolean;
11
- };
12
- skipFills: {
13
- type: import("vue").PropType<boolean>;
14
- default: boolean;
15
- };
16
- fillMaterial: {
17
- type: import("vue").PropType<MeshBasicMaterialParameters>;
18
- };
19
- strokeMaterial: {
20
- type: import("vue").PropType<MeshBasicMaterialParameters>;
21
- };
22
- fillMeshProps: {
23
- type: import("vue").PropType<TresOptions>;
24
- };
25
- strokeMeshProps: {
26
- type: import("vue").PropType<TresOptions>;
27
- };
28
- depth: {
29
- type: import("vue").PropType<number | "flat" | "renderOrder" | "offsetZ">;
30
- default: string;
31
- };
32
- }, {
33
- value: import("vue").ShallowRef<any>;
34
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
35
- src: {
36
- type: import("vue").PropType<string>;
37
- required: true;
38
- };
39
- skipStrokes: {
40
- type: import("vue").PropType<boolean>;
41
- default: boolean;
42
- };
43
- skipFills: {
44
- type: import("vue").PropType<boolean>;
45
- default: boolean;
46
- };
47
- fillMaterial: {
48
- type: import("vue").PropType<MeshBasicMaterialParameters>;
49
- };
50
- strokeMaterial: {
51
- type: import("vue").PropType<MeshBasicMaterialParameters>;
52
- };
53
- fillMeshProps: {
54
- type: import("vue").PropType<TresOptions>;
55
- };
56
- strokeMeshProps: {
57
- type: import("vue").PropType<TresOptions>;
58
- };
59
- depth: {
60
- type: import("vue").PropType<number | "flat" | "renderOrder" | "offsetZ">;
61
- default: string;
62
- };
63
- }>>, {
64
- skipStrokes: boolean;
65
- skipFills: boolean;
66
- depth: number | "flat" | "renderOrder" | "offsetZ";
67
- }, {}>;
68
- export default _default;
@@ -1,8 +0,0 @@
1
- import GLTFModel from './useGLTF/component.vue';
2
- import FBXModel from './useFBX/component.vue';
3
- import SVG from './SVG/component.vue';
4
- import { useProgress } from './useProgress';
5
- import { useVideoTexture } from './useVideoTexture';
6
- export * from './useGLTF';
7
- export * from './useFBX';
8
- export { FBXModel, GLTFModel, SVG, useProgress, useVideoTexture };
@@ -1,24 +0,0 @@
1
- export interface FBXModelProps {
2
- /**
3
- * Path to the FBX file.
4
- *
5
- * @type {string}
6
- * @memberof FBXModelProps
7
- * @required
8
- */
9
- path: string;
10
- }
11
- declare const _default: import("vue").DefineComponent<{
12
- path: {
13
- type: import("vue").PropType<string>;
14
- required: true;
15
- };
16
- }, {
17
- value: import("vue").Ref<any>;
18
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
19
- path: {
20
- type: import("vue").PropType<string>;
21
- required: true;
22
- };
23
- }>>, {}, {}>;
24
- export default _default;
@@ -1,9 +0,0 @@
1
- import type { Object3D } from 'three';
2
- /**
3
- * Loads an FBX file and returns a THREE.Object3D.
4
- *
5
- * @export
6
- * @param {(string | string[])} path
7
- * @return {*} {Promise<Object3D>}
8
- */
9
- export declare function useFBX(path: string | string[]): Promise<Object3D>;
@@ -1,65 +0,0 @@
1
- export interface GLTFModelProps {
2
- /**
3
- *
4
- * The path to the GLTF file.
5
- *
6
- * @type {string}
7
- * @required
8
- * @memberof GLTFModelProps
9
- *
10
- **/
11
- path: string;
12
- /**
13
- *
14
- * Whether to use Draco compression.
15
- *
16
- * @type {boolean}
17
- * @default false
18
- * @memberof GLTFModelProps
19
- *
20
- **/
21
- draco?: boolean;
22
- /**
23
- *
24
- * The path to the Draco decoder.
25
- *
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
- declare const _default: import("vue").DefineComponent<{
34
- path: {
35
- type: import("vue").PropType<string>;
36
- required: true;
37
- };
38
- draco: {
39
- type: import("vue").PropType<boolean>;
40
- default: boolean;
41
- };
42
- decoderPath: {
43
- type: import("vue").PropType<string>;
44
- default: string;
45
- };
46
- }, {
47
- value: import("vue").Ref<any>;
48
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
49
- path: {
50
- type: import("vue").PropType<string>;
51
- required: true;
52
- };
53
- draco: {
54
- type: import("vue").PropType<boolean>;
55
- default: boolean;
56
- };
57
- decoderPath: {
58
- type: import("vue").PropType<string>;
59
- default: string;
60
- };
61
- }>>, {
62
- draco: boolean;
63
- decoderPath: string;
64
- }, {}>;
65
- export default _default;
@@ -1,36 +0,0 @@
1
- import { GLTFLoader } from 'three-stdlib';
2
- import type { TresObject3D } from '@tresjs/core';
3
- export interface GLTFLoaderOptions {
4
- /**
5
- * Whether to use Draco compression.
6
- *
7
- * @type {boolean}
8
- * @memberof GLTFLoaderOptions
9
- */
10
- draco?: boolean;
11
- /**
12
- * The path to the Draco decoder.
13
- *
14
- * @type {string}
15
- * @memberof GLTFLoaderOptions
16
- */
17
- decoderPath?: string;
18
- }
19
- export interface GLTFResult {
20
- animations: Array<THREE.AnimationClip>;
21
- nodes: Record<string, TresObject3D>;
22
- materials: Record<string, THREE.Material>;
23
- scene: THREE.Scene;
24
- }
25
- /**
26
- * Loads a GLTF file and returns a THREE.Object3D.
27
- *
28
- * @export
29
- * @param {(string | string[])} path
30
- * @param {GLTFLoaderOptions} [options={
31
- * draco: false,
32
- * }]
33
- * @param {(loader: GLTFLoader) => void} [extendLoader]
34
- * @return {*} {Promise<GLTFResult>}
35
- */
36
- export declare function useGLTF(path: string | string[], options?: GLTFLoaderOptions, extendLoader?: (loader: GLTFLoader) => void): Promise<GLTFResult>;
@@ -1,6 +0,0 @@
1
- import type { Ref } from 'vue';
2
- export declare function useProgress(): Promise<{
3
- hasFinishLoading: Ref<boolean>;
4
- progress: Ref<number>;
5
- items: Ref<string[]>;
6
- }>;
@@ -1,28 +0,0 @@
1
- import { VideoTexture } from 'three';
2
- interface VideoTextureProps extends HTMLVideoElement {
3
- unsuspend?: 'canplay' | 'canplaythrough' | 'loadstart' | 'loadedmetadata';
4
- start?: boolean;
5
- }
6
- /**
7
- * Composable for loading video textures.
8
- *
9
- * ```ts
10
- * import { ref } from 'vue'
11
- * import { useVideoTexture } from '@tresjs/cientos'
12
- * import MyVideo from 'MyVideo.mp4'
13
- *
14
- * const texture = ref()
15
- * texture.value = await useVideoTexture(MyVideo)
16
- * ```
17
- * Then you can use the texture in your material.
18
- *
19
- * ```vue
20
- * <TresMeshBasicMaterial :map="texture" />
21
- * ```
22
- * @see https://threejs.org/docs/index.html?q=video#api/en/textures/VideoTexture
23
- * @export
24
- * @param {HTMLVideoElement} src
25
- * @return {VideoTexture} {VideoTexture}
26
- */
27
- export declare function useVideoTexture(src: string | MediaStream, options?: Partial<VideoTextureProps>): Promise<void | VideoTexture>;
28
- export {};
@@ -1,3 +0,0 @@
1
- import MeshWobbleMaterial from './meshWobbleMaterial/index.vue';
2
- import MeshGlassMaterial from './meshGlassMaterial/index.vue';
3
- export { MeshWobbleMaterial, MeshGlassMaterial };
@@ -1,4 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {
2
- MeshGlassMaterialClass: import("vue").ShallowRef<any>;
3
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
4
- export default _default;
@@ -1,31 +0,0 @@
1
- import type { MeshStandardMaterialParameters } from 'three';
2
- import { MeshStandardMaterial } from 'three';
3
- import { Vector2 } from 'three/src/math/Vector2.js';
4
- import { Color } from 'three/src/math/Color.js';
5
- declare class MeshGlassMaterial extends MeshStandardMaterial {
6
- isMeshPhysicalMaterial: boolean;
7
- clearcoatMap: null;
8
- clearcoatRoughness: number;
9
- clearcoatRoughnessMap: null;
10
- clearcoatNormalScale: Vector2;
11
- clearcoatNormalMap: null;
12
- ior: number;
13
- transmissionMap: null;
14
- thickness: number;
15
- thicknessMap: null;
16
- attenuationDistance: number;
17
- attenuationColor: Color;
18
- specularIntensity: number;
19
- specularIntensityMap: null;
20
- specularColor: Color;
21
- specularColorMap: null;
22
- _clearcoat: number;
23
- _transmission: number;
24
- constructor(parameters?: MeshStandardMaterialParameters);
25
- get clearcoat(): number;
26
- set clearcoat(value: number);
27
- get transmission(): number;
28
- set transmission(value: number);
29
- copy(source: any): this;
30
- }
31
- export default MeshGlassMaterial;
@@ -1,23 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- speed: {
3
- type: import("vue").PropType<number>;
4
- default: number;
5
- };
6
- factor: {
7
- type: import("vue").PropType<number>;
8
- default: number;
9
- };
10
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
- speed: {
12
- type: import("vue").PropType<number>;
13
- default: number;
14
- };
15
- factor: {
16
- type: import("vue").PropType<number>;
17
- default: number;
18
- };
19
- }>>, {
20
- speed: number;
21
- factor: number;
22
- }, {}>;
23
- export default _default;
@@ -1,16 +0,0 @@
1
- import type { MeshStandardMaterialParameters, Shader } from 'three';
2
- import { MeshStandardMaterial } from 'three';
3
- interface Uniform<T> {
4
- value: T;
5
- }
6
- export declare class WobbleMaterialImpl extends MeshStandardMaterial {
7
- _time: Uniform<number>;
8
- _factor: Uniform<number>;
9
- constructor(parameters?: MeshStandardMaterialParameters);
10
- onBeforeCompile(shader: Shader): void;
11
- get time(): number;
12
- set time(v: number);
13
- get factor(): number;
14
- set factor(v: number);
15
- }
16
- export {};
@@ -1 +0,0 @@
1
- export declare const stats: (showPanel?: number) => null;
@@ -1,3 +0,0 @@
1
- import { useTweakPane } from './useTweakPane';
2
- import { stats } from './Stats';
3
- export { useTweakPane, stats };
@@ -1,10 +0,0 @@
1
- import { Pane } from 'tweakpane';
2
- type TweakPane = Pane & {
3
- addBlade(blade: any): void;
4
- addInput(blade: any): void;
5
- };
6
- export declare const useTweakPane: (selector?: string) => {
7
- pane: TweakPane;
8
- disposeTweakPane: () => void;
9
- };
10
- export {};