@tresjs/cientos 4.3.1 → 5.0.0-next.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 +12 -2
- package/dist/core/abstractions/Billboard.vue.d.ts +20 -2
- package/dist/core/abstractions/CubeCamera/component.vue.d.ts +12 -2
- package/dist/core/abstractions/Edges.vue.d.ts +12 -2
- package/dist/core/abstractions/GradientTexture.vue.d.ts +14 -1
- package/dist/core/abstractions/Image/ImageMaterial.vue.d.ts +3 -1
- package/dist/core/abstractions/Image/component.vue.d.ts +3 -9
- package/dist/core/abstractions/Lensflare/LensflareImpl.d.ts +23 -0
- package/dist/core/abstractions/Lensflare/component.vue.d.ts +11 -2
- package/dist/core/abstractions/Levioso.vue.d.ts +20 -14
- package/dist/core/abstractions/MarchingCubes/MarchingCube.vue.d.ts +22 -0
- package/dist/core/abstractions/MarchingCubes/MarchingCubes.vue.d.ts +35 -0
- package/dist/core/abstractions/MarchingCubes/MarchingPlane.vue.d.ts +20 -0
- package/dist/core/abstractions/MarchingCubes/const.d.ts +2 -0
- package/dist/core/abstractions/Mask/component.vue.d.ts +12 -2
- package/dist/core/abstractions/MouseParallax.vue.d.ts +11 -1
- package/dist/core/abstractions/Outline/component.vue.d.ts +11 -1
- package/dist/core/abstractions/PositionalAudio.vue.d.ts +10 -1
- package/dist/core/abstractions/Reflector.vue.d.ts +5 -2
- package/dist/core/abstractions/ScreenSizer.vue.d.ts +20 -2
- package/dist/core/abstractions/ScreenSpace.vue.d.ts +12 -2
- package/dist/core/abstractions/Text3D.vue.d.ts +2 -17
- package/dist/core/abstractions/index.d.ts +4 -1
- package/dist/core/abstractions/useAnimations.d.ts +4 -4
- package/dist/core/abstractions/useSurfaceSampler/component.vue.d.ts +12 -2
- package/dist/core/controls/CameraControls.vue.d.ts +3 -1
- package/dist/core/controls/Helper/component.vue.d.ts +17 -0
- package/dist/core/controls/Helper/useHelper.d.ts +9 -0
- package/dist/core/controls/MapControls.vue.d.ts +3 -1
- package/dist/core/controls/OrbitControls.vue.d.ts +3 -1
- package/dist/core/controls/PointerLockControls.vue.d.ts +3 -1
- package/dist/core/controls/ScrollControls.vue.d.ts +21 -16
- package/dist/core/controls/TransformControls.vue.d.ts +3 -1
- package/dist/core/controls/index.d.ts +2 -1
- package/dist/core/loaders/SVG/component.vue.d.ts +10 -1
- package/dist/core/loaders/index.d.ts +4 -1
- package/dist/core/loaders/useGLTF/component.vue.d.ts +3 -10
- package/dist/core/loaders/useGLTF/index.d.ts +38 -27
- package/dist/core/loaders/useTexture/component.vue.d.ts +5077 -0
- package/dist/core/loaders/useTexture/index.d.ts +3 -0
- package/dist/core/loaders/useTextures/index.d.ts +13 -0
- package/dist/core/materials/customShaderMaterial/index.vue.d.ts +3 -1
- package/dist/core/materials/holographicMaterial/index.vue.d.ts +7 -16
- package/dist/core/materials/index.d.ts +2 -1
- package/dist/core/materials/meshDiscardMaterial/index.vue.d.ts +3 -1
- package/dist/core/materials/meshGlassMaterial/index.vue.d.ts +3 -1
- package/dist/core/materials/meshReflectionMaterial/index.vue.d.ts +3 -1
- package/dist/core/materials/meshWobbleMaterial/index.vue.d.ts +7 -7
- package/dist/core/materials/pointMaterial/component.vue.d.ts +8 -0
- package/dist/core/materials/pointMaterial/material.d.ts +4 -0
- package/dist/core/misc/LOD.vue.d.ts +52 -0
- package/dist/core/misc/html/HTML.vue.d.ts +20 -2
- package/dist/core/misc/index.d.ts +3 -1
- package/dist/core/misc/useIntersect.d.ts +9 -0
- package/dist/core/shapes/Box.vue.d.ts +12 -2
- package/dist/core/shapes/Circle.vue.d.ts +13 -3
- package/dist/core/shapes/Cone.vue.d.ts +12 -2
- package/dist/core/shapes/CubicBezierLine.vue.d.ts +49 -0
- package/dist/core/shapes/Cylinder.vue.d.ts +12 -2
- package/dist/core/shapes/Dodecahedron.vue.d.ts +12 -2
- package/dist/core/shapes/Icosahedron.vue.d.ts +12 -2
- package/dist/core/shapes/Octahedron.vue.d.ts +12 -2
- package/dist/core/shapes/Plane.vue.d.ts +13 -3
- package/dist/core/shapes/QuadraticBezierLine.vue.d.ts +48 -0
- package/dist/core/shapes/Ring.vue.d.ts +12 -2
- package/dist/core/shapes/RoundedBox.vue.d.ts +12 -2
- package/dist/core/shapes/ScreenQuad.vue.d.ts +38 -0
- package/dist/core/shapes/Sphere.vue.d.ts +12 -2
- package/dist/core/shapes/Superformula.vue.d.ts +12 -2
- package/dist/core/shapes/Tetrahedron.vue.d.ts +12 -2
- package/dist/core/shapes/Torus.vue.d.ts +12 -2
- package/dist/core/shapes/TorusKnot.vue.d.ts +12 -2
- package/dist/core/shapes/Tube.vue.d.ts +12 -2
- package/dist/core/shapes/index.d.ts +4 -1
- package/dist/core/staging/AccumulativeShadows/ProgressiveLightMap.d.ts +35 -0
- package/dist/core/staging/AccumulativeShadows/SoftShadowMaterial.d.ts +10 -0
- package/dist/core/staging/AccumulativeShadows/component.vue.d.ts +115 -0
- package/dist/core/staging/Align.vue.d.ts +36 -6
- package/dist/core/staging/Backdrop.vue.d.ts +20 -2
- package/dist/core/staging/Bounds/Bounds.d.ts +73 -0
- package/dist/core/staging/Bounds/component.vue.d.ts +60 -0
- package/dist/core/staging/CircleShadow.vue.d.ts +27 -0
- package/dist/core/staging/Fit.vue.d.ts +28 -2
- package/dist/core/staging/Grid.vue.d.ts +11 -2
- package/dist/core/staging/Ocean.vue.d.ts +5 -2
- package/dist/core/staging/Precipitation.vue.d.ts +18 -1
- package/dist/core/staging/RandomizedLights/RandomizedLights.d.ts +29 -0
- package/dist/core/staging/RandomizedLights/component.vue.d.ts +43 -0
- package/dist/core/staging/Smoke.vue.d.ts +18 -1
- package/dist/core/staging/Stage.vue.d.ts +677 -0
- package/dist/core/staging/Stars.vue.d.ts +10 -1
- package/dist/core/staging/index.d.ts +6 -1
- package/dist/core/staging/useEnvironment/component.vue.d.ts +7 -4
- package/dist/core/staging/useEnvironment/lightformer/index.vue.d.ts +24 -13
- package/dist/trescientos.js +15333 -9636
- package/package.json +24 -24
- package/dist/composables/useLogger.d.ts +0 -8
- package/dist/core/loaders/useFBX/component.vue.d.ts +0 -45
- package/dist/core/staging/Sky.vue.d.ts +0 -46
- package/dist/core/staging/Sparkles/component.vue.d.ts +0 -168
- package/dist/trescientos.umd.cjs +0 -1721
|
@@ -48,6 +48,7 @@ export interface AnimatedSpriteProps {
|
|
|
48
48
|
depthWrite?: boolean;
|
|
49
49
|
}
|
|
50
50
|
declare function __VLS_template(): {
|
|
51
|
+
attrs: Partial<{}>;
|
|
51
52
|
slots: {
|
|
52
53
|
default?(_: {}): any;
|
|
53
54
|
};
|
|
@@ -61,7 +62,7 @@ declare function __VLS_template(): {
|
|
|
61
62
|
Defaults: {};
|
|
62
63
|
}, 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;
|
|
63
64
|
};
|
|
64
|
-
|
|
65
|
+
rootEl: any;
|
|
65
66
|
};
|
|
66
67
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
67
68
|
declare const __VLS_component: import('vue').DefineComponent<AnimatedSpriteProps, {
|
|
@@ -87,7 +88,16 @@ declare const __VLS_component: import('vue').DefineComponent<AnimatedSpriteProps
|
|
|
87
88
|
alphaTest: number;
|
|
88
89
|
depthTest: boolean;
|
|
89
90
|
depthWrite: boolean;
|
|
90
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
91
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
92
|
+
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, {
|
|
93
|
+
P: {};
|
|
94
|
+
B: {};
|
|
95
|
+
D: {};
|
|
96
|
+
C: {};
|
|
97
|
+
M: {};
|
|
98
|
+
Defaults: {};
|
|
99
|
+
}, 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;
|
|
100
|
+
}, any>;
|
|
91
101
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
92
102
|
export default _default;
|
|
93
103
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -19,6 +19,7 @@ export interface BillboardProps {
|
|
|
19
19
|
}
|
|
20
20
|
declare function update(camera?: Camera): void;
|
|
21
21
|
declare function __VLS_template(): {
|
|
22
|
+
attrs: Partial<{}>;
|
|
22
23
|
slots: {
|
|
23
24
|
default?(_: {}): any;
|
|
24
25
|
};
|
|
@@ -40,7 +41,7 @@ declare function __VLS_template(): {
|
|
|
40
41
|
Defaults: {};
|
|
41
42
|
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
42
43
|
};
|
|
43
|
-
|
|
44
|
+
rootEl: any;
|
|
44
45
|
};
|
|
45
46
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
46
47
|
declare const __VLS_component: import('vue').DefineComponent<BillboardProps, {
|
|
@@ -51,7 +52,24 @@ declare const __VLS_component: import('vue').DefineComponent<BillboardProps, {
|
|
|
51
52
|
lockX: boolean;
|
|
52
53
|
lockY: boolean;
|
|
53
54
|
lockZ: boolean;
|
|
54
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
55
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
56
|
+
outerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof 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, {
|
|
57
|
+
P: {};
|
|
58
|
+
B: {};
|
|
59
|
+
D: {};
|
|
60
|
+
C: {};
|
|
61
|
+
M: {};
|
|
62
|
+
Defaults: {};
|
|
63
|
+
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
64
|
+
innerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof 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, {
|
|
65
|
+
P: {};
|
|
66
|
+
B: {};
|
|
67
|
+
D: {};
|
|
68
|
+
C: {};
|
|
69
|
+
M: {};
|
|
70
|
+
Defaults: {};
|
|
71
|
+
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
72
|
+
}, any>;
|
|
55
73
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
56
74
|
export default _default;
|
|
57
75
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -6,6 +6,7 @@ type Props = {
|
|
|
6
6
|
frames?: MaybeRefOrGetter<number>;
|
|
7
7
|
} & CubeCameraOptions;
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
9
10
|
slots: {
|
|
10
11
|
default?(_: {}): any;
|
|
11
12
|
};
|
|
@@ -19,7 +20,7 @@ declare function __VLS_template(): {
|
|
|
19
20
|
Defaults: {};
|
|
20
21
|
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
21
22
|
};
|
|
22
|
-
|
|
23
|
+
rootEl: any;
|
|
23
24
|
};
|
|
24
25
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
25
26
|
declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
@@ -29,7 +30,16 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {
|
|
|
29
30
|
update: () => void;
|
|
30
31
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
31
32
|
frames: MaybeRefOrGetter<number>;
|
|
32
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
33
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
34
|
+
groupRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof 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, {
|
|
35
|
+
P: {};
|
|
36
|
+
B: {};
|
|
37
|
+
D: {};
|
|
38
|
+
C: {};
|
|
39
|
+
M: {};
|
|
40
|
+
Defaults: {};
|
|
41
|
+
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
42
|
+
}, any>;
|
|
33
43
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
44
|
export default _default;
|
|
35
45
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -5,6 +5,7 @@ export interface EdgesProps {
|
|
|
5
5
|
threshold?: number;
|
|
6
6
|
}
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
8
9
|
slots: {
|
|
9
10
|
default?(_: {}): any;
|
|
10
11
|
};
|
|
@@ -18,7 +19,7 @@ declare function __VLS_template(): {
|
|
|
18
19
|
Defaults: {};
|
|
19
20
|
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<LineSegments<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<LineSegments<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<LineSegments<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof LineSegments>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
20
21
|
};
|
|
21
|
-
|
|
22
|
+
rootEl: any;
|
|
22
23
|
};
|
|
23
24
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
25
|
declare const __VLS_component: import('vue').DefineComponent<EdgesProps, {
|
|
@@ -26,7 +27,16 @@ declare const __VLS_component: import('vue').DefineComponent<EdgesProps, {
|
|
|
26
27
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EdgesProps> & Readonly<{}>, {
|
|
27
28
|
color: TresColor;
|
|
28
29
|
threshold: number;
|
|
29
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
30
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
31
|
+
lineSegmentsRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<LineSegments<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<LineSegments<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<LineSegments<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof LineSegments>, "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<LineSegments<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<LineSegments<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<LineSegments<BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof LineSegments>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
39
|
+
}, any>;
|
|
30
40
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
41
|
export default _default;
|
|
32
42
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -43,5 +43,18 @@ declare const _default: import('vue').DefineComponent<Props, {
|
|
|
43
43
|
height: number;
|
|
44
44
|
innerCircleRadius: number;
|
|
45
45
|
outerCircleRadius: string | number;
|
|
46
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
46
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
47
|
+
textureRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<THREE.CanvasTexture, import('@tresjs/core').WithMathProps<THREE.CanvasTexture> & import('@tresjs/core').VueProps>>, Omit<import('@tresjs/core').InstanceProps<THREE.CanvasTexture, typeof THREE.CanvasTexture>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
48
|
+
image?: any;
|
|
49
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
50
|
+
P: {};
|
|
51
|
+
B: {};
|
|
52
|
+
D: {};
|
|
53
|
+
C: {};
|
|
54
|
+
M: {};
|
|
55
|
+
Defaults: {};
|
|
56
|
+
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<THREE.CanvasTexture, import('@tresjs/core').WithMathProps<THREE.CanvasTexture> & import('@tresjs/core').VueProps>>, Omit<import('@tresjs/core').InstanceProps<THREE.CanvasTexture, typeof THREE.CanvasTexture>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {
|
|
57
|
+
image?: any;
|
|
58
|
+
}> | null;
|
|
59
|
+
}, any>;
|
|
47
60
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
2
|
instance: import('vue').ShallowRef<any, any>;
|
|
3
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
3
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
4
|
+
materialRef: unknown;
|
|
5
|
+
}, any>;
|
|
4
6
|
export default _default;
|
|
@@ -55,20 +55,14 @@ export type ImageProps = {
|
|
|
55
55
|
url: string;
|
|
56
56
|
});
|
|
57
57
|
declare function __VLS_template(): {
|
|
58
|
+
attrs: Partial<{}>;
|
|
58
59
|
slots: {
|
|
59
60
|
default?(_: {}): any;
|
|
60
61
|
};
|
|
61
62
|
refs: {
|
|
62
|
-
imageRef:
|
|
63
|
-
P: {};
|
|
64
|
-
B: {};
|
|
65
|
-
D: {};
|
|
66
|
-
C: {};
|
|
67
|
-
M: {};
|
|
68
|
-
Defaults: {};
|
|
69
|
-
}, 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;
|
|
63
|
+
imageRef: unknown;
|
|
70
64
|
};
|
|
71
|
-
|
|
65
|
+
rootEl: any;
|
|
72
66
|
};
|
|
73
67
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
74
68
|
declare const __VLS_component: import('vue').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('vue').PublicProps>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Texture, BufferGeometry, Color, Mesh } from 'three';
|
|
2
|
+
declare class Lensflare extends Mesh {
|
|
3
|
+
static Geometry: BufferGeometry;
|
|
4
|
+
isLensflare: boolean;
|
|
5
|
+
type: string;
|
|
6
|
+
addElement(_: LensflareElement): void;
|
|
7
|
+
dispose(): void;
|
|
8
|
+
constructor();
|
|
9
|
+
}
|
|
10
|
+
declare class LensflareElement {
|
|
11
|
+
texture: Texture;
|
|
12
|
+
size: number;
|
|
13
|
+
distance: number;
|
|
14
|
+
color: Color;
|
|
15
|
+
static Shader: {
|
|
16
|
+
name: string;
|
|
17
|
+
vertexShader: string;
|
|
18
|
+
fragmentShader: string;
|
|
19
|
+
uniforms: Record<string, any>;
|
|
20
|
+
};
|
|
21
|
+
constructor(texture: Texture, size?: number, distance?: number, color?: Color);
|
|
22
|
+
}
|
|
23
|
+
export { Lensflare, LensflareElement };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Lensflare } from '
|
|
1
|
+
import { Lensflare } from './LensflareImpl';
|
|
2
2
|
import { TresColor } from '@tresjs/core';
|
|
3
3
|
import { Texture } from 'three';
|
|
4
4
|
import { LensflareElementProps, SeedProps } from '.';
|
|
@@ -47,5 +47,14 @@ declare const _default: import('vue').DefineComponent<LensflareProps, {
|
|
|
47
47
|
distance: number;
|
|
48
48
|
seed: number;
|
|
49
49
|
seedProps: SeedProps[];
|
|
50
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
50
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
51
|
+
lensflareRef: 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, {
|
|
52
|
+
P: {};
|
|
53
|
+
B: {};
|
|
54
|
+
D: {};
|
|
55
|
+
C: {};
|
|
56
|
+
M: {};
|
|
57
|
+
Defaults: {};
|
|
58
|
+
}, 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;
|
|
59
|
+
}, any>;
|
|
51
60
|
export default _default;
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
speed?: number;
|
|
3
|
+
rotationFactor?: number;
|
|
4
|
+
floatFactor?: number;
|
|
5
|
+
range?: [number, number];
|
|
6
|
+
};
|
|
1
7
|
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
2
9
|
slots: {
|
|
3
10
|
default?(_: {}): any;
|
|
4
11
|
};
|
|
@@ -12,27 +19,26 @@ declare function __VLS_template(): {
|
|
|
12
19
|
Defaults: {};
|
|
13
20
|
}, 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;
|
|
14
21
|
};
|
|
15
|
-
|
|
22
|
+
rootEl: any;
|
|
16
23
|
};
|
|
17
24
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
19
|
-
speed?: number;
|
|
20
|
-
rotationFactor?: number;
|
|
21
|
-
floatFactor?: number;
|
|
22
|
-
range?: [number, number];
|
|
23
|
-
}, {
|
|
25
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
24
26
|
instance: import('vue').ShallowRef<any, any>;
|
|
25
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
26
|
-
speed?: number;
|
|
27
|
-
rotationFactor?: number;
|
|
28
|
-
floatFactor?: number;
|
|
29
|
-
range?: [number, number];
|
|
30
|
-
}> & Readonly<{}>, {
|
|
27
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
31
28
|
speed: number;
|
|
32
29
|
rotationFactor: number;
|
|
33
30
|
floatFactor: number;
|
|
34
31
|
range: [number, number];
|
|
35
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
33
|
+
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, {
|
|
34
|
+
P: {};
|
|
35
|
+
B: {};
|
|
36
|
+
D: {};
|
|
37
|
+
C: {};
|
|
38
|
+
M: {};
|
|
39
|
+
Defaults: {};
|
|
40
|
+
}, 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;
|
|
41
|
+
}, any>;
|
|
36
42
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
37
43
|
export default _default;
|
|
38
44
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ColorRepresentation } from 'three';
|
|
2
|
+
interface MarchingCubeProps {
|
|
3
|
+
strength?: number;
|
|
4
|
+
subtract?: number;
|
|
5
|
+
color?: ColorRepresentation;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<MarchingCubeProps, {
|
|
8
|
+
instance: import('vue').ShallowRef<any, any>;
|
|
9
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MarchingCubeProps> & Readonly<{}>, {
|
|
10
|
+
strength: number;
|
|
11
|
+
subtract: number;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
13
|
+
cubeRef: 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, {
|
|
14
|
+
P: {};
|
|
15
|
+
B: {};
|
|
16
|
+
D: {};
|
|
17
|
+
C: {};
|
|
18
|
+
M: {};
|
|
19
|
+
Defaults: {};
|
|
20
|
+
}, 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;
|
|
21
|
+
}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { MarchingCubes as MarchingCubesImpl } from 'three-stdlib';
|
|
2
|
+
export interface MarchingCubesProps {
|
|
3
|
+
resolution?: number;
|
|
4
|
+
maxPolyCount?: number;
|
|
5
|
+
enableUvs?: boolean;
|
|
6
|
+
enableColors?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const api: {
|
|
9
|
+
parent: import('vue').ComputedRef<MarchingCubesImpl>;
|
|
10
|
+
};
|
|
11
|
+
export type MarchingCubesApi = typeof api;
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
attrs: Partial<{}>;
|
|
14
|
+
slots: {
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
};
|
|
17
|
+
refs: {};
|
|
18
|
+
rootEl: any;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<MarchingCubesProps, {
|
|
22
|
+
instance: import('vue').ComputedRef<MarchingCubesImpl>;
|
|
23
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MarchingCubesProps> & Readonly<{}>, {
|
|
24
|
+
resolution: number;
|
|
25
|
+
maxPolyCount: number;
|
|
26
|
+
enableUvs: boolean;
|
|
27
|
+
enableColors: boolean;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
interface MarchingPlaneProps {
|
|
2
|
+
planeType?: 'x' | 'y' | 'z';
|
|
3
|
+
strength?: number;
|
|
4
|
+
subtract?: number;
|
|
5
|
+
}
|
|
6
|
+
declare const _default: import('vue').DefineComponent<MarchingPlaneProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MarchingPlaneProps> & Readonly<{}>, {
|
|
7
|
+
strength: number;
|
|
8
|
+
subtract: number;
|
|
9
|
+
planeType: "x" | "y" | "z";
|
|
10
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
11
|
+
wallRef: 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, {
|
|
12
|
+
P: {};
|
|
13
|
+
B: {};
|
|
14
|
+
D: {};
|
|
15
|
+
C: {};
|
|
16
|
+
M: {};
|
|
17
|
+
Defaults: {};
|
|
18
|
+
}, 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;
|
|
19
|
+
}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -8,6 +8,7 @@ interface MaskProps {
|
|
|
8
8
|
depthWrite?: boolean;
|
|
9
9
|
}
|
|
10
10
|
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
11
12
|
slots: {
|
|
12
13
|
default?(_: {}): any;
|
|
13
14
|
};
|
|
@@ -21,7 +22,7 @@ declare function __VLS_template(): {
|
|
|
21
22
|
Defaults: {};
|
|
22
23
|
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<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<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
23
24
|
};
|
|
24
|
-
|
|
25
|
+
rootEl: any;
|
|
25
26
|
};
|
|
26
27
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
28
|
declare const __VLS_component: import('vue').DefineComponent<MaskProps, {
|
|
@@ -30,7 +31,16 @@ declare const __VLS_component: import('vue').DefineComponent<MaskProps, {
|
|
|
30
31
|
depthWrite: boolean;
|
|
31
32
|
id: number;
|
|
32
33
|
colorWrite: boolean;
|
|
33
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
35
|
+
meshRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<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<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof 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, {
|
|
36
|
+
P: {};
|
|
37
|
+
B: {};
|
|
38
|
+
D: {};
|
|
39
|
+
C: {};
|
|
40
|
+
M: {};
|
|
41
|
+
Defaults: {};
|
|
42
|
+
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<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<Mesh<import('three').BufferGeometry<import('three').NormalBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof Mesh>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
43
|
+
}, any>;
|
|
34
44
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
35
45
|
export default _default;
|
|
36
46
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Group } from 'three';
|
|
1
2
|
export interface MouseParallaxProps {
|
|
2
3
|
/**
|
|
3
4
|
* Whether to disable the mouse controls.
|
|
@@ -37,5 +38,14 @@ declare const _default: import('vue').DefineComponent<MouseParallaxProps, {}, {}
|
|
|
37
38
|
factor: number | [number, number];
|
|
38
39
|
ease: number | [number, number];
|
|
39
40
|
local: boolean;
|
|
40
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
41
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
42
|
+
cameraGroupRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof 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, {
|
|
43
|
+
P: {};
|
|
44
|
+
B: {};
|
|
45
|
+
D: {};
|
|
46
|
+
C: {};
|
|
47
|
+
M: {};
|
|
48
|
+
Defaults: {};
|
|
49
|
+
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
50
|
+
}, any>;
|
|
41
51
|
export default _default;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TresColor } from '@tresjs/core';
|
|
2
|
+
import { Group } from 'three';
|
|
2
3
|
interface OutlineProps {
|
|
3
4
|
/** Outline color, default: black */
|
|
4
5
|
color?: TresColor;
|
|
@@ -30,5 +31,14 @@ declare const _default: import('vue').DefineComponent<OutlineProps, {
|
|
|
30
31
|
angle: number;
|
|
31
32
|
thickness: number;
|
|
32
33
|
screenspace: boolean;
|
|
33
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
35
|
+
groupRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof 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, {
|
|
36
|
+
P: {};
|
|
37
|
+
B: {};
|
|
38
|
+
D: {};
|
|
39
|
+
C: {};
|
|
40
|
+
M: {};
|
|
41
|
+
Defaults: {};
|
|
42
|
+
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<Group<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<Group<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<Group<import('three').Object3DEventMap>, typeof Group>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
43
|
+
}, any>;
|
|
34
44
|
export default _default;
|
|
@@ -29,5 +29,14 @@ declare const _default: import('vue').DefineComponent<PositionalAudioProps, {
|
|
|
29
29
|
innerAngle: number;
|
|
30
30
|
outerAngle: number;
|
|
31
31
|
outerGain: number;
|
|
32
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
33
|
+
positionalAudioRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<PositionalAudio, import('@tresjs/core').WithMathProps<PositionalAudio> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<PositionalAudio, typeof PositionalAudio>, "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, {
|
|
34
|
+
P: {};
|
|
35
|
+
B: {};
|
|
36
|
+
D: {};
|
|
37
|
+
C: {};
|
|
38
|
+
M: {};
|
|
39
|
+
Defaults: {};
|
|
40
|
+
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<PositionalAudio, import('@tresjs/core').WithMathProps<PositionalAudio> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<PositionalAudio, typeof PositionalAudio>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
41
|
+
}, any>;
|
|
33
42
|
export default _default;
|
|
@@ -57,13 +57,14 @@ export interface ReflectorProps {
|
|
|
57
57
|
shader?: object;
|
|
58
58
|
}
|
|
59
59
|
declare function __VLS_template(): {
|
|
60
|
+
attrs: Partial<{}>;
|
|
60
61
|
slots: {
|
|
61
62
|
default?(_: {}): any;
|
|
62
63
|
};
|
|
63
64
|
refs: {
|
|
64
65
|
reflectorRef: unknown;
|
|
65
66
|
};
|
|
66
|
-
|
|
67
|
+
rootEl: any;
|
|
67
68
|
};
|
|
68
69
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
69
70
|
declare const __VLS_component: import('vue').DefineComponent<ReflectorProps, {
|
|
@@ -75,7 +76,9 @@ declare const __VLS_component: import('vue').DefineComponent<ReflectorProps, {
|
|
|
75
76
|
clipBias: number;
|
|
76
77
|
multisample: number;
|
|
77
78
|
shader: object;
|
|
78
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
79
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
80
|
+
reflectorRef: unknown;
|
|
81
|
+
}, any>;
|
|
79
82
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
80
83
|
export default _default;
|
|
81
84
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
2
3
|
slots: {
|
|
3
4
|
default?(_: {}): any;
|
|
4
5
|
};
|
|
@@ -20,12 +21,29 @@ declare function __VLS_template(): {
|
|
|
20
21
|
Defaults: {};
|
|
21
22
|
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
22
23
|
};
|
|
23
|
-
|
|
24
|
+
rootEl: any;
|
|
24
25
|
};
|
|
25
26
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
27
|
declare const __VLS_component: import('vue').DefineComponent<{}, {
|
|
27
28
|
instance: import('vue').ShallowRef<any, any>;
|
|
28
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
29
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
30
|
+
outerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "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, {
|
|
31
|
+
P: {};
|
|
32
|
+
B: {};
|
|
33
|
+
D: {};
|
|
34
|
+
C: {};
|
|
35
|
+
M: {};
|
|
36
|
+
Defaults: {};
|
|
37
|
+
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
38
|
+
innerRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "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, {
|
|
39
|
+
P: {};
|
|
40
|
+
B: {};
|
|
41
|
+
D: {};
|
|
42
|
+
C: {};
|
|
43
|
+
M: {};
|
|
44
|
+
Defaults: {};
|
|
45
|
+
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Object3D<import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Object3D<import('three').Object3DEventMap>> & import('@tresjs/core').VueProps & Partial<import('@tresjs/core').EventHandlers>>>, Omit<import('@tresjs/core').InstanceProps<import('three').Object3D<import('three').Object3DEventMap>, typeof import('three').Object3D>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
46
|
+
}, any>;
|
|
29
47
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
48
|
export default _default;
|
|
31
49
|
type __VLS_WithTemplateSlots<T, S> = T & {
|