@tresjs/cientos 4.0.2 → 4.1.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.
- package/dist/core/abstractions/AnimatedSprite/component.vue.d.ts +27 -56
- package/dist/core/abstractions/Billboard.vue.d.ts +61 -0
- package/dist/core/abstractions/CubeCamera/component.vue.d.ts +39 -0
- package/dist/core/abstractions/CubeCamera/useCubeCamera.d.ts +23 -0
- package/dist/core/abstractions/Edges.vue.d.ts +36 -0
- package/dist/core/abstractions/GlobalAudio.d.ts +1 -1
- package/dist/core/abstractions/GradientTexture.vue.d.ts +47 -0
- package/dist/core/abstractions/Image/ImageMaterial.vue.d.ts +4 -0
- package/dist/core/abstractions/Image/ImageMaterialImpl.d.ts +8 -0
- package/dist/core/abstractions/Image/component.vue.d.ts +81 -0
- package/dist/core/abstractions/Lensflare/component.vue.d.ts +9 -44
- package/dist/core/abstractions/Lensflare/index.d.ts +1 -1
- package/dist/core/abstractions/Levioso.vue.d.ts +22 -35
- package/dist/core/abstractions/Mask/component.vue.d.ts +40 -0
- package/dist/core/abstractions/Mask/useMask.d.ts +9 -0
- package/dist/core/abstractions/MouseParallax.vue.d.ts +2 -29
- package/dist/core/abstractions/Outline/OutlineMaterialImpl.d.ts +4 -0
- package/dist/core/abstractions/Outline/component.vue.d.ts +34 -0
- package/dist/core/abstractions/PositionalAudio.vue.d.ts +7 -42
- package/dist/core/abstractions/Reflector.vue.d.ts +14 -38
- package/dist/core/abstractions/ScreenSizer.vue.d.ts +35 -0
- package/dist/core/abstractions/ScreenSpace.vue.d.ts +32 -0
- package/dist/core/abstractions/Text3D.vue.d.ts +20 -46
- package/dist/core/abstractions/index.d.ts +19 -9
- package/dist/core/abstractions/useAnimations.d.ts +1 -1
- package/dist/core/abstractions/useFBO/component.vue.d.ts +4 -29
- package/dist/core/abstractions/useFBO/index.d.ts +2 -2
- package/dist/core/abstractions/useSurfaceSampler/component.vue.d.ts +19 -14
- package/dist/core/abstractions/useSurfaceSampler/index.d.ts +1059 -299
- package/dist/core/controls/CameraControls.vue.d.ts +18 -10095
- package/dist/core/controls/KeyboardControls.vue.d.ts +6 -29
- package/dist/core/controls/MapControls.vue.d.ts +15 -8925
- package/dist/core/controls/OrbitControls.vue.d.ts +20 -8940
- package/dist/core/controls/PointerLockControls.vue.d.ts +6 -28
- package/dist/core/controls/ScrollControls.vue.d.ts +24 -39
- package/dist/core/controls/TransformControls.vue.d.ts +8 -43
- package/dist/core/controls/index.d.ts +5 -5
- package/dist/core/index.d.ts +2 -2
- package/dist/core/loaders/SVG/component.vue.d.ts +4 -29
- package/dist/core/loaders/index.d.ts +3 -3
- package/dist/core/loaders/useFBX/component.vue.d.ts +6 -29
- package/dist/core/loaders/useFBX/index.d.ts +3 -3
- package/dist/core/loaders/useGLTF/component.vue.d.ts +6 -33
- package/dist/core/loaders/useGLTF/index.d.ts +8 -9
- package/dist/core/materials/customShaderMaterial/index.vue.d.ts +3 -12
- package/dist/core/materials/holographicMaterial/index.vue.d.ts +6 -47
- package/dist/core/materials/index.d.ts +5 -4
- package/dist/core/materials/meshDiscardMaterial/index.vue.d.ts +4 -0
- package/dist/core/materials/meshDiscardMaterial/material.d.ts +4 -0
- package/dist/core/materials/meshGlassMaterial/index.vue.d.ts +2 -2
- package/dist/core/materials/meshGlassMaterial/material.d.ts +1 -3
- package/dist/core/materials/meshReflectionMaterial/BlurPass.d.ts +1 -1
- package/dist/core/materials/meshReflectionMaterial/index.vue.d.ts +16 -109
- package/dist/core/materials/meshReflectionMaterial/material.d.ts +1 -1
- package/dist/core/materials/meshWobbleMaterial/index.vue.d.ts +6 -29
- package/dist/core/materials/meshWobbleMaterial/material.d.ts +1 -1
- package/dist/core/misc/BakeShadows.d.ts +1 -1
- package/dist/core/misc/Stats.d.ts +4 -4
- package/dist/core/misc/StatsGl.d.ts +1 -1
- package/dist/core/misc/html/HTML.vue.d.ts +30 -42
- package/dist/core/misc/html/utils.d.ts +1 -1
- package/dist/core/misc/index.d.ts +3 -3
- package/dist/core/shapes/Box.vue.d.ts +20 -29
- package/dist/core/shapes/CatmullRomCurve3.vue.d.ts +6 -33
- package/dist/core/shapes/Circle.vue.d.ts +20 -29
- package/dist/core/shapes/Cone.vue.d.ts +20 -29
- package/dist/core/shapes/Cylinder.vue.d.ts +20 -29
- package/dist/core/shapes/Dodecahedron.vue.d.ts +20 -29
- package/dist/core/shapes/Icosahedron.vue.d.ts +20 -29
- package/dist/core/shapes/Line2.vue.d.ts +6 -45
- package/dist/core/shapes/Octahedron.vue.d.ts +20 -29
- package/dist/core/shapes/Plane.vue.d.ts +20 -29
- package/dist/core/shapes/Ring.vue.d.ts +20 -29
- package/dist/core/shapes/RoundedBox.vue.d.ts +20 -29
- package/dist/core/shapes/Sphere.vue.d.ts +20 -29
- package/dist/core/shapes/Superformula.vue.d.ts +21 -39
- package/dist/core/shapes/Tetrahedron.vue.d.ts +20 -29
- package/dist/core/shapes/Torus.vue.d.ts +20 -29
- package/dist/core/shapes/TorusKnot.vue.d.ts +20 -29
- package/dist/core/shapes/Tube.vue.d.ts +21 -30
- package/dist/core/shapes/index.d.ts +1 -1
- package/dist/core/staging/Align.vue.d.ts +87 -0
- package/dist/core/staging/Backdrop.vue.d.ts +29 -31
- package/dist/core/staging/ContactShadows.vue.d.ts +7 -50
- package/dist/core/staging/Fit.vue.d.ts +37 -30
- package/dist/core/staging/Grid.vue.d.ts +52 -0
- package/dist/core/staging/Ocean.vue.d.ts +15 -50
- package/dist/core/staging/Precipitation.vue.d.ts +22 -62
- package/dist/core/staging/Sky.vue.d.ts +4 -37
- package/dist/core/staging/Smoke.vue.d.ts +6 -41
- package/dist/core/staging/SoftShadows.vue.d.ts +14 -0
- package/dist/core/staging/Sparkles/ShaderData.d.ts +1 -1
- package/dist/core/staging/Sparkles/ShaderDataBuilder.d.ts +1 -1
- package/dist/core/staging/Sparkles/component.vue.d.ts +9 -86
- package/dist/core/staging/Stars.vue.d.ts +5 -40
- package/dist/core/staging/index.d.ts +7 -4
- package/dist/core/staging/useEnvironment/{envSence.d.ts → EnvironmentScene.d.ts} +3 -3
- package/dist/core/staging/useEnvironment/component.vue.d.ts +15 -45
- package/dist/core/staging/useEnvironment/index.d.ts +14 -0
- package/dist/core/staging/useEnvironment/lightformer/index.vue.d.ts +10 -39
- package/dist/trescientos.js +15288 -14829
- package/dist/trescientos.umd.cjs +1064 -762
- package/dist/utils/calculateScaleFactor.d.ts +7 -0
- package/dist/utils/shaderMaterial.d.ts +6 -0
- package/package.json +28 -26
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Euler, Vector2, Texture } from 'three';
|
|
2
2
|
import { TresColor } from '@tresjs/core';
|
|
3
3
|
export interface MeshReflectionMaterialProps {
|
|
4
4
|
/** Length in pixels of one side of the square reflective textures. */
|
|
@@ -67,94 +67,30 @@ export interface MeshReflectionMaterialProps {
|
|
|
67
67
|
flatShading?: boolean;
|
|
68
68
|
fog?: boolean;
|
|
69
69
|
}
|
|
70
|
-
declare const _default: import('vue').DefineComponent<
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
sharpDepthEdgeMax: number;
|
|
76
|
-
sharpDepthScale: number;
|
|
77
|
-
sharpDepthBias: number;
|
|
78
|
-
blurMixSmooth: number;
|
|
79
|
-
blurMixRough: number;
|
|
80
|
-
blurDepthEdgeMin: number;
|
|
81
|
-
blurDepthEdgeMax: number;
|
|
82
|
-
blurDepthScale: number;
|
|
83
|
-
blurDepthBias: number;
|
|
84
|
-
blurSize: () => number[];
|
|
85
|
-
distortion: number;
|
|
86
|
-
reflectorOffset: number;
|
|
87
|
-
color: () => Color;
|
|
88
|
-
roughness: number;
|
|
89
|
-
roughnessMap: null;
|
|
90
|
-
metalness: number;
|
|
70
|
+
declare const _default: import('vue').DefineComponent<MeshReflectionMaterialProps, {
|
|
71
|
+
instance: import('vue').ShallowRef<any, any>;
|
|
72
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MeshReflectionMaterialProps> & Readonly<{}>, {
|
|
73
|
+
color: TresColor;
|
|
74
|
+
fog: boolean;
|
|
91
75
|
lightMapIntensity: number;
|
|
92
76
|
aoMapIntensity: number;
|
|
93
|
-
|
|
94
|
-
emissiveIntensity: number;
|
|
95
|
-
bumpScale: number;
|
|
96
|
-
normalMapType: 0;
|
|
97
|
-
normalScale: () => Vector2;
|
|
98
|
-
displacementScale: number;
|
|
99
|
-
displacementBias: number;
|
|
100
|
-
envMapRotation: () => Euler;
|
|
101
|
-
envMapIntensity: number;
|
|
77
|
+
envMapRotation: Euler;
|
|
102
78
|
wireframe: boolean;
|
|
103
79
|
wireframeLinewidth: number;
|
|
104
80
|
wireframeLinecap: string;
|
|
105
81
|
wireframeLinejoin: string;
|
|
82
|
+
displacementScale: number;
|
|
83
|
+
displacementBias: number;
|
|
84
|
+
bumpScale: number;
|
|
85
|
+
emissive: TresColor;
|
|
86
|
+
emissiveIntensity: number;
|
|
106
87
|
flatShading: boolean;
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
instance: import('vue').ShallowRef<any>;
|
|
110
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<MeshReflectionMaterialProps>, {
|
|
111
|
-
resolution: number;
|
|
112
|
-
mix: number;
|
|
113
|
-
sharpMix: number;
|
|
114
|
-
sharpDepthEdgeMin: number;
|
|
115
|
-
sharpDepthEdgeMax: number;
|
|
116
|
-
sharpDepthScale: number;
|
|
117
|
-
sharpDepthBias: number;
|
|
118
|
-
blurMixSmooth: number;
|
|
119
|
-
blurMixRough: number;
|
|
120
|
-
blurDepthEdgeMin: number;
|
|
121
|
-
blurDepthEdgeMax: number;
|
|
122
|
-
blurDepthScale: number;
|
|
123
|
-
blurDepthBias: number;
|
|
124
|
-
blurSize: () => number[];
|
|
125
|
-
distortion: number;
|
|
126
|
-
reflectorOffset: number;
|
|
127
|
-
color: () => Color;
|
|
88
|
+
normalMapType: number;
|
|
89
|
+
normalScale: Vector2;
|
|
128
90
|
roughness: number;
|
|
129
|
-
roughnessMap: null;
|
|
130
91
|
metalness: number;
|
|
131
|
-
|
|
132
|
-
aoMapIntensity: number;
|
|
133
|
-
emissive: () => Color;
|
|
134
|
-
emissiveIntensity: number;
|
|
135
|
-
bumpScale: number;
|
|
136
|
-
normalMapType: 0;
|
|
137
|
-
normalScale: () => Vector2;
|
|
138
|
-
displacementScale: number;
|
|
139
|
-
displacementBias: number;
|
|
140
|
-
envMapRotation: () => Euler;
|
|
92
|
+
roughnessMap: Texture | null;
|
|
141
93
|
envMapIntensity: number;
|
|
142
|
-
wireframe: boolean;
|
|
143
|
-
wireframeLinewidth: number;
|
|
144
|
-
wireframeLinecap: string;
|
|
145
|
-
wireframeLinejoin: string;
|
|
146
|
-
flatShading: boolean;
|
|
147
|
-
fog: boolean;
|
|
148
|
-
}>>>, {
|
|
149
|
-
color: TresColor;
|
|
150
|
-
fog: boolean;
|
|
151
|
-
lightMapIntensity: number;
|
|
152
|
-
aoMapIntensity: number;
|
|
153
|
-
envMapRotation: Euler;
|
|
154
|
-
wireframe: boolean;
|
|
155
|
-
wireframeLinewidth: number;
|
|
156
|
-
wireframeLinecap: string;
|
|
157
|
-
wireframeLinejoin: string;
|
|
158
94
|
resolution: number;
|
|
159
95
|
mix: number;
|
|
160
96
|
sharpMix: number;
|
|
@@ -171,34 +107,5 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
171
107
|
blurSize: [number, number] | number;
|
|
172
108
|
distortion: number;
|
|
173
109
|
reflectorOffset: number;
|
|
174
|
-
|
|
175
|
-
metalness: number;
|
|
176
|
-
emissive: TresColor;
|
|
177
|
-
emissiveIntensity: number;
|
|
178
|
-
bumpScale: number;
|
|
179
|
-
normalMapType: number;
|
|
180
|
-
normalScale: Vector2;
|
|
181
|
-
displacementScale: number;
|
|
182
|
-
displacementBias: number;
|
|
183
|
-
roughnessMap: Texture | null;
|
|
184
|
-
envMapIntensity: number;
|
|
185
|
-
flatShading: boolean;
|
|
186
|
-
}, {}>;
|
|
110
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
187
111
|
export default _default;
|
|
188
|
-
type __VLS_WithDefaults<P, D> = {
|
|
189
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
190
|
-
default: D[K];
|
|
191
|
-
}> : P[K];
|
|
192
|
-
};
|
|
193
|
-
type __VLS_Prettify<T> = {
|
|
194
|
-
[K in keyof T]: T[K];
|
|
195
|
-
} & {};
|
|
196
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
197
|
-
type __VLS_TypePropsToOption<T> = {
|
|
198
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
199
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
200
|
-
} : {
|
|
201
|
-
type: import('vue').PropType<T[K]>;
|
|
202
|
-
required: true;
|
|
203
|
-
};
|
|
204
|
-
};
|
|
@@ -1,36 +1,13 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{
|
|
2
2
|
speed?: number;
|
|
3
3
|
factor?: number;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}>, {
|
|
8
|
-
instance: import('vue').ShallowRef<any>;
|
|
9
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
4
|
+
}, {
|
|
5
|
+
instance: import('vue').ShallowRef<any, any>;
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
10
7
|
speed?: number;
|
|
11
8
|
factor?: number;
|
|
12
|
-
}>, {
|
|
13
|
-
speed: number;
|
|
14
|
-
factor: number;
|
|
15
|
-
}>>>, {
|
|
9
|
+
}> & Readonly<{}>, {
|
|
16
10
|
speed: number;
|
|
17
11
|
factor: number;
|
|
18
|
-
}, {}>;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
13
|
export default _default;
|
|
20
|
-
type __VLS_WithDefaults<P, D> = {
|
|
21
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
22
|
-
default: D[K];
|
|
23
|
-
}> : P[K];
|
|
24
|
-
};
|
|
25
|
-
type __VLS_Prettify<T> = {
|
|
26
|
-
[K in keyof T]: T[K];
|
|
27
|
-
} & {};
|
|
28
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
-
type __VLS_TypePropsToOption<T> = {
|
|
30
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
-
} : {
|
|
33
|
-
type: import('vue').PropType<T[K]>;
|
|
34
|
-
required: true;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const BakeShadows: import('vue').DefineComponent<{}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').
|
|
1
|
+
export declare const BakeShadows: import('vue').DefineComponent<{}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export declare const Stats: import('vue').DefineComponent<{
|
|
1
|
+
export declare const Stats: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
showPanel: {
|
|
3
3
|
type: NumberConstructor;
|
|
4
4
|
default: number;
|
|
5
5
|
};
|
|
6
|
-
}
|
|
6
|
+
}>, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
7
7
|
showPanel: {
|
|
8
8
|
type: NumberConstructor;
|
|
9
9
|
default: number;
|
|
10
10
|
};
|
|
11
|
-
}
|
|
11
|
+
}>> & Readonly<{}>, {
|
|
12
12
|
showPanel: number;
|
|
13
|
-
}, {}>;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -7,4 +7,4 @@ export interface StatsGlProps {
|
|
|
7
7
|
minimal?: boolean;
|
|
8
8
|
mode?: number;
|
|
9
9
|
}
|
|
10
|
-
export declare const StatsGl: import('vue').DefineComponent<StatsGlProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StatsGlProps>, {}, {}>;
|
|
10
|
+
export declare const StatsGl: import('vue').DefineComponent<StatsGlProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StatsGlProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PlaneGeometry } from 'three';
|
|
2
1
|
import { TresObject3D } from '@tresjs/core';
|
|
3
2
|
import { Mutable } from '@vueuse/core';
|
|
4
3
|
export interface HTMLProps {
|
|
@@ -18,30 +17,36 @@ export interface HTMLProps {
|
|
|
18
17
|
occlude?: TresObject3D | null | (TresObject3D | null)[] | boolean | 'raycast' | 'blending';
|
|
19
18
|
}
|
|
20
19
|
type PointerEventsProperties = 'auto' | 'none' | 'visiblePainted' | 'visibleFill' | 'visibleStroke' | 'visible' | 'painted' | 'fill' | 'stroke' | 'all' | 'inherit';
|
|
21
|
-
declare function __VLS_template():
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
20
|
+
declare function __VLS_template(): {
|
|
21
|
+
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
22
|
+
refs: {
|
|
23
|
+
groupRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Group<import('three').Object3DEventMap>, typeof import('three').Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
24
|
+
P: {};
|
|
25
|
+
B: {};
|
|
26
|
+
D: {};
|
|
27
|
+
C: {};
|
|
28
|
+
M: {};
|
|
29
|
+
Defaults: {};
|
|
30
|
+
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Group<import('three').Object3DEventMap>, typeof import('three').Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
31
|
+
meshRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
32
|
+
P: {};
|
|
33
|
+
B: {};
|
|
34
|
+
D: {};
|
|
35
|
+
C: {};
|
|
36
|
+
M: {};
|
|
37
|
+
Defaults: {};
|
|
38
|
+
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
39
|
+
};
|
|
40
|
+
attrs: Partial<{}>;
|
|
41
|
+
};
|
|
42
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
43
|
+
declare const __VLS_component: import('vue').DefineComponent<HTMLProps, {
|
|
44
|
+
instance: import('vue').Ref<TresObject3D | undefined, TresObject3D | undefined>;
|
|
45
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
33
46
|
onOcclude: (...args: any[]) => void;
|
|
34
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
35
|
-
geometry: PlaneGeometry;
|
|
36
|
-
zIndexRange: () => number[];
|
|
37
|
-
as: string;
|
|
38
|
-
transform: boolean;
|
|
39
|
-
eps: number;
|
|
40
|
-
pointerEvents: string;
|
|
41
|
-
sprite: boolean;
|
|
42
|
-
}>>> & {
|
|
47
|
+
}, string, import('vue').PublicProps, Readonly<HTMLProps> & Readonly<{
|
|
43
48
|
onOnOcclude?: ((...args: any[]) => any) | undefined;
|
|
44
|
-
}
|
|
49
|
+
}>, {
|
|
45
50
|
sprite: boolean;
|
|
46
51
|
geometry: any;
|
|
47
52
|
transform: boolean;
|
|
@@ -49,28 +54,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<
|
|
|
49
54
|
eps: number;
|
|
50
55
|
pointerEvents: PointerEventsProperties;
|
|
51
56
|
zIndexRange: Array<number>;
|
|
52
|
-
}, {}>;
|
|
53
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
57
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
58
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
54
59
|
export default _default;
|
|
55
|
-
type __VLS_WithDefaults<P, D> = {
|
|
56
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
57
|
-
default: D[K];
|
|
58
|
-
}> : P[K];
|
|
59
|
-
};
|
|
60
|
-
type __VLS_Prettify<T> = {
|
|
61
|
-
[K in keyof T]: T[K];
|
|
62
|
-
} & {};
|
|
63
60
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
64
61
|
new (): {
|
|
65
62
|
$slots: S;
|
|
66
63
|
};
|
|
67
64
|
};
|
|
68
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
69
|
-
type __VLS_TypePropsToOption<T> = {
|
|
70
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
71
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
72
|
-
} : {
|
|
73
|
-
type: import('vue').PropType<T[K]>;
|
|
74
|
-
required: true;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { Vector3, Matrix4, Raycaster } from 'three';
|
|
1
2
|
import { TresCamera, TresObject3D } from '@tresjs/core';
|
|
2
|
-
import { Matrix4, Raycaster, Vector3 } from 'three';
|
|
3
3
|
export declare const v1: Vector3;
|
|
4
4
|
export declare const v2: Vector3;
|
|
5
5
|
export declare const v3: Vector3;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Stats } from './Stats';
|
|
2
|
-
import { StatsGl } from './StatsGl';
|
|
3
1
|
import { BakeShadows } from './BakeShadows';
|
|
4
2
|
import { default as Html } from './html/HTML.vue';
|
|
3
|
+
import { Stats } from './Stats';
|
|
4
|
+
import { StatsGl } from './StatsGl';
|
|
5
5
|
import { useGLTFExporter } from './useGLTFExporter';
|
|
6
|
-
export { Html, Stats, StatsGl,
|
|
6
|
+
export { BakeShadows, Html, Stats, StatsGl, useGLTFExporter };
|
|
@@ -20,41 +20,32 @@ export interface BoxProps {
|
|
|
20
20
|
color?: TresColor;
|
|
21
21
|
}
|
|
22
22
|
declare function __VLS_template(): {
|
|
23
|
-
|
|
23
|
+
slots: {
|
|
24
|
+
default?(_: {}): any;
|
|
25
|
+
};
|
|
26
|
+
refs: {
|
|
27
|
+
boxRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
28
|
+
P: {};
|
|
29
|
+
B: {};
|
|
30
|
+
D: {};
|
|
31
|
+
C: {};
|
|
32
|
+
M: {};
|
|
33
|
+
Defaults: {};
|
|
34
|
+
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
35
|
+
};
|
|
36
|
+
attrs: Partial<{}>;
|
|
24
37
|
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}>, {
|
|
29
|
-
instance: import('vue').ShallowRef<any>;
|
|
30
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BoxProps>, {
|
|
31
|
-
args: () => number[];
|
|
32
|
-
color: string;
|
|
33
|
-
}>>>, {
|
|
38
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
39
|
+
declare const __VLS_component: import('vue').DefineComponent<BoxProps, {
|
|
40
|
+
instance: import('vue').ShallowRef<any, any>;
|
|
41
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BoxProps> & Readonly<{}>, {
|
|
34
42
|
color: TresColor;
|
|
35
43
|
args: ConstructorParameters<typeof BoxGeometry>;
|
|
36
|
-
}, {}>;
|
|
37
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
44
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
45
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
38
46
|
export default _default;
|
|
39
|
-
type __VLS_WithDefaults<P, D> = {
|
|
40
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
-
default: D[K];
|
|
42
|
-
}> : P[K];
|
|
43
|
-
};
|
|
44
|
-
type __VLS_Prettify<T> = {
|
|
45
|
-
[K in keyof T]: T[K];
|
|
46
|
-
} & {};
|
|
47
47
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
48
48
|
new (): {
|
|
49
49
|
$slots: S;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
53
|
-
type __VLS_TypePropsToOption<T> = {
|
|
54
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
55
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
56
|
-
} : {
|
|
57
|
-
type: import('vue').PropType<T[K]>;
|
|
58
|
-
required: true;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TresColor } from '@tresjs/core';
|
|
2
1
|
import { Vector3 } from 'three';
|
|
2
|
+
import { TresColor } from '@tresjs/core';
|
|
3
3
|
type CurveType = 'centripetal' | 'chordal' | 'catmullrom';
|
|
4
4
|
type Points = Array<Vector3 | [number, number, number]>;
|
|
5
5
|
interface CatmullRomCurve3Props {
|
|
@@ -19,39 +19,12 @@ interface CatmullRomCurve3Props {
|
|
|
19
19
|
gapSize?: number;
|
|
20
20
|
worldUnits?: boolean;
|
|
21
21
|
}
|
|
22
|
-
declare const _default: import('vue').DefineComponent<
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
curveType: string;
|
|
26
|
-
tension: number;
|
|
27
|
-
}>, {
|
|
28
|
-
instance: import('vue').ShallowRef<any>;
|
|
29
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CatmullRomCurve3Props>, {
|
|
30
|
-
segments: number;
|
|
31
|
-
closed: boolean;
|
|
32
|
-
curveType: string;
|
|
33
|
-
tension: number;
|
|
34
|
-
}>>>, {
|
|
35
|
-
segments: number;
|
|
22
|
+
declare const _default: import('vue').DefineComponent<CatmullRomCurve3Props, {
|
|
23
|
+
instance: import('vue').ShallowRef<any, any>;
|
|
24
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CatmullRomCurve3Props> & Readonly<{}>, {
|
|
36
25
|
closed: boolean;
|
|
37
26
|
curveType: CurveType;
|
|
38
27
|
tension: number;
|
|
39
|
-
|
|
28
|
+
segments: number;
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
40
30
|
export default _default;
|
|
41
|
-
type __VLS_WithDefaults<P, D> = {
|
|
42
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
43
|
-
default: D[K];
|
|
44
|
-
}> : P[K];
|
|
45
|
-
};
|
|
46
|
-
type __VLS_Prettify<T> = {
|
|
47
|
-
[K in keyof T]: T[K];
|
|
48
|
-
} & {};
|
|
49
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
-
type __VLS_TypePropsToOption<T> = {
|
|
51
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
-
} : {
|
|
54
|
-
type: import('vue').PropType<T[K]>;
|
|
55
|
-
required: true;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
@@ -19,41 +19,32 @@ export interface CircleProps {
|
|
|
19
19
|
color?: TresColor;
|
|
20
20
|
}
|
|
21
21
|
declare function __VLS_template(): {
|
|
22
|
-
|
|
22
|
+
slots: {
|
|
23
|
+
default?(_: {}): any;
|
|
24
|
+
};
|
|
25
|
+
refs: {
|
|
26
|
+
circleRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
27
|
+
P: {};
|
|
28
|
+
B: {};
|
|
29
|
+
D: {};
|
|
30
|
+
C: {};
|
|
31
|
+
M: {};
|
|
32
|
+
Defaults: {};
|
|
33
|
+
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
34
|
+
};
|
|
35
|
+
attrs: Partial<{}>;
|
|
23
36
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}>, {
|
|
28
|
-
instance: import('vue').ShallowRef<any>;
|
|
29
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CircleProps>, {
|
|
30
|
-
args: () => number[];
|
|
31
|
-
color: string;
|
|
32
|
-
}>>>, {
|
|
37
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
38
|
+
declare const __VLS_component: import('vue').DefineComponent<CircleProps, {
|
|
39
|
+
instance: import('vue').ShallowRef<any, any>;
|
|
40
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CircleProps> & Readonly<{}>, {
|
|
33
41
|
color: TresColor;
|
|
34
42
|
args: ConstructorParameters<typeof CircleGeometry>;
|
|
35
|
-
}, {}>;
|
|
36
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
43
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
44
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
37
45
|
export default _default;
|
|
38
|
-
type __VLS_WithDefaults<P, D> = {
|
|
39
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
|
-
default: D[K];
|
|
41
|
-
}> : P[K];
|
|
42
|
-
};
|
|
43
|
-
type __VLS_Prettify<T> = {
|
|
44
|
-
[K in keyof T]: T[K];
|
|
45
|
-
} & {};
|
|
46
46
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
47
|
new (): {
|
|
48
48
|
$slots: S;
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
|
-
type __VLS_TypePropsToOption<T> = {
|
|
53
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
54
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
55
|
-
} : {
|
|
56
|
-
type: import('vue').PropType<T[K]>;
|
|
57
|
-
required: true;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
@@ -19,41 +19,32 @@ export interface ConeProps {
|
|
|
19
19
|
color?: TresColor;
|
|
20
20
|
}
|
|
21
21
|
declare function __VLS_template(): {
|
|
22
|
-
|
|
22
|
+
slots: {
|
|
23
|
+
default?(_: {}): any;
|
|
24
|
+
};
|
|
25
|
+
refs: {
|
|
26
|
+
coneRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
27
|
+
P: {};
|
|
28
|
+
B: {};
|
|
29
|
+
D: {};
|
|
30
|
+
C: {};
|
|
31
|
+
M: {};
|
|
32
|
+
Defaults: {};
|
|
33
|
+
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
34
|
+
};
|
|
35
|
+
attrs: Partial<{}>;
|
|
23
36
|
};
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}>, {
|
|
28
|
-
instance: import('vue').ShallowRef<any>;
|
|
29
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ConeProps>, {
|
|
30
|
-
args: () => (number | boolean)[];
|
|
31
|
-
color: string;
|
|
32
|
-
}>>>, {
|
|
37
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
38
|
+
declare const __VLS_component: import('vue').DefineComponent<ConeProps, {
|
|
39
|
+
instance: import('vue').ShallowRef<any, any>;
|
|
40
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ConeProps> & Readonly<{}>, {
|
|
33
41
|
color: TresColor;
|
|
34
42
|
args: ConstructorParameters<typeof ConeGeometry>;
|
|
35
|
-
}, {}>;
|
|
36
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
43
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
44
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
37
45
|
export default _default;
|
|
38
|
-
type __VLS_WithDefaults<P, D> = {
|
|
39
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
40
|
-
default: D[K];
|
|
41
|
-
}> : P[K];
|
|
42
|
-
};
|
|
43
|
-
type __VLS_Prettify<T> = {
|
|
44
|
-
[K in keyof T]: T[K];
|
|
45
|
-
} & {};
|
|
46
46
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
47
47
|
new (): {
|
|
48
48
|
$slots: S;
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
52
|
-
type __VLS_TypePropsToOption<T> = {
|
|
53
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
54
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
55
|
-
} : {
|
|
56
|
-
type: import('vue').PropType<T[K]>;
|
|
57
|
-
required: true;
|
|
58
|
-
};
|
|
59
|
-
};
|