@tresjs/cientos 3.5.1 → 3.7.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/Lensflare/component.vue.d.ts +77 -60
- package/dist/core/abstractions/Levioso.vue.d.ts +39 -38
- package/dist/core/abstractions/MouseParallax.vue.d.ts +26 -27
- package/dist/core/abstractions/Reflector.vue.d.ts +107 -0
- package/dist/core/abstractions/Text3D.vue.d.ts +42 -99
- package/dist/core/abstractions/index.d.ts +4 -1
- package/dist/core/abstractions/useFBO/component.vue.d.ts +26 -32
- package/dist/core/abstractions/useSurfaceSampler/component.vue.d.ts +21 -0
- package/dist/core/abstractions/useSurfaceSampler/index.d.ts +614 -0
- package/dist/core/controls/CameraControls.vue.d.ts +853 -303
- package/dist/core/controls/KeyboardControls.vue.d.ts +38 -75
- package/dist/core/controls/MapControls.vue.d.ts +22 -23
- package/dist/core/controls/OrbitControls.vue.d.ts +741 -634
- package/dist/core/controls/PointerLockControls.vue.d.ts +25 -30
- package/dist/core/controls/ScrollControls.vue.d.ts +43 -44
- package/dist/core/controls/TransformControls.vue.d.ts +37 -94
- package/dist/core/loaders/SVG/component.vue.d.ts +117 -60
- package/dist/core/loaders/useFBX/component.vue.d.ts +14 -11
- package/dist/core/loaders/useGLTF/component.vue.d.ts +33 -28
- package/dist/core/materials/customShaderMaterial/index.vue.d.ts +22 -0
- package/dist/core/materials/index.d.ts +2 -1
- package/dist/core/materials/meshWobbleMaterial/index.vue.d.ts +30 -19
- package/dist/core/misc/html/HTML.vue.d.ts +36 -103
- package/dist/core/shapes/Box.vue.d.ts +25 -20
- package/dist/core/shapes/CatmullRomCurve3.vue.d.ts +46 -103
- package/dist/core/shapes/Circle.vue.d.ts +25 -20
- package/dist/core/shapes/Cone.vue.d.ts +25 -20
- package/dist/core/shapes/Dodecahedron.vue.d.ts +25 -20
- package/dist/core/shapes/Icosahedron.vue.d.ts +25 -20
- package/dist/core/shapes/Line2.vue.d.ts +40 -91
- package/dist/core/shapes/Octahedron.vue.d.ts +25 -20
- package/dist/core/shapes/Plane.vue.d.ts +25 -20
- package/dist/core/shapes/Ring.vue.d.ts +25 -20
- package/dist/core/shapes/Sphere.vue.d.ts +25 -20
- package/dist/core/shapes/Superformula.vue.d.ts +85 -0
- package/dist/core/shapes/Tetrahedron.vue.d.ts +25 -20
- package/dist/core/shapes/Torus.vue.d.ts +25 -20
- package/dist/core/shapes/TorusKnot.vue.d.ts +25 -20
- package/dist/core/shapes/Tube.vue.d.ts +25 -20
- package/dist/core/shapes/index.d.ts +2 -1
- package/dist/core/staging/Backdrop.vue.d.ts +26 -27
- package/dist/core/staging/Precipitation.vue.d.ts +43 -104
- package/dist/core/staging/Sky.vue.d.ts +56 -59
- package/dist/core/staging/Smoke.vue.d.ts +37 -68
- package/dist/core/staging/Sparkles/ShaderData.d.ts +37 -0
- package/dist/core/staging/Sparkles/ShaderDataBuilder.d.ts +43 -0
- package/dist/core/staging/Sparkles/component.vue.d.ts +245 -0
- package/dist/core/staging/Sparkles/useEmptyDataTexture.d.ts +2 -0
- package/dist/core/staging/Stars.vue.d.ts +39 -70
- package/dist/core/staging/index.d.ts +4 -3
- package/dist/trescientos.js +8315 -5304
- package/dist/trescientos.umd.cjs +294 -20
- package/dist/utils/Gradient.d.ts +11 -0
- package/package.json +25 -23
|
@@ -72,81 +72,27 @@ export interface KeyboardControlsProps {
|
|
|
72
72
|
**/
|
|
73
73
|
is2D?: boolean;
|
|
74
74
|
}
|
|
75
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
76
|
-
forward:
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
gravity: {
|
|
97
|
-
type: import("vue").PropType<number>;
|
|
98
|
-
default: number;
|
|
99
|
-
};
|
|
100
|
-
moveSpeed: {
|
|
101
|
-
type: import("vue").PropType<number>;
|
|
102
|
-
default: number;
|
|
103
|
-
};
|
|
104
|
-
headBobbing: {
|
|
105
|
-
type: import("vue").PropType<boolean>;
|
|
106
|
-
default: boolean;
|
|
107
|
-
};
|
|
108
|
-
is2D: {
|
|
109
|
-
type: import("vue").PropType<boolean>;
|
|
110
|
-
default: boolean;
|
|
111
|
-
};
|
|
112
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
113
|
-
forward: {
|
|
114
|
-
type: import("vue").PropType<string | string[]>;
|
|
115
|
-
default: () => string[];
|
|
116
|
-
};
|
|
117
|
-
back: {
|
|
118
|
-
type: import("vue").PropType<string | string[]>;
|
|
119
|
-
default: () => string[];
|
|
120
|
-
};
|
|
121
|
-
left: {
|
|
122
|
-
type: import("vue").PropType<string | string[]>;
|
|
123
|
-
default: () => string[];
|
|
124
|
-
};
|
|
125
|
-
right: {
|
|
126
|
-
type: import("vue").PropType<string | string[]>;
|
|
127
|
-
default: () => string[];
|
|
128
|
-
};
|
|
129
|
-
jump: {
|
|
130
|
-
type: import("vue").PropType<string | string[]>;
|
|
131
|
-
default: () => string[];
|
|
132
|
-
};
|
|
133
|
-
gravity: {
|
|
134
|
-
type: import("vue").PropType<number>;
|
|
135
|
-
default: number;
|
|
136
|
-
};
|
|
137
|
-
moveSpeed: {
|
|
138
|
-
type: import("vue").PropType<number>;
|
|
139
|
-
default: number;
|
|
140
|
-
};
|
|
141
|
-
headBobbing: {
|
|
142
|
-
type: import("vue").PropType<boolean>;
|
|
143
|
-
default: boolean;
|
|
144
|
-
};
|
|
145
|
-
is2D: {
|
|
146
|
-
type: import("vue").PropType<boolean>;
|
|
147
|
-
default: boolean;
|
|
148
|
-
};
|
|
149
|
-
}>>, {
|
|
75
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<KeyboardControlsProps>, {
|
|
76
|
+
forward: () => string[];
|
|
77
|
+
back: () => string[];
|
|
78
|
+
left: () => string[];
|
|
79
|
+
right: () => string[];
|
|
80
|
+
jump: () => string[];
|
|
81
|
+
gravity: number;
|
|
82
|
+
moveSpeed: number;
|
|
83
|
+
headBobbing: boolean;
|
|
84
|
+
is2D: boolean;
|
|
85
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<KeyboardControlsProps>, {
|
|
86
|
+
forward: () => string[];
|
|
87
|
+
back: () => string[];
|
|
88
|
+
left: () => string[];
|
|
89
|
+
right: () => string[];
|
|
90
|
+
jump: () => string[];
|
|
91
|
+
gravity: number;
|
|
92
|
+
moveSpeed: number;
|
|
93
|
+
headBobbing: boolean;
|
|
94
|
+
is2D: boolean;
|
|
95
|
+
}>>>, {
|
|
150
96
|
forward: string | string[];
|
|
151
97
|
back: string | string[];
|
|
152
98
|
left: string | string[];
|
|
@@ -160,6 +106,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
160
106
|
default?(_: {}): any;
|
|
161
107
|
}>;
|
|
162
108
|
export default _default;
|
|
109
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
110
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
111
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
112
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
113
|
+
} : {
|
|
114
|
+
type: import('vue').PropType<T[K]>;
|
|
115
|
+
required: true;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
type __VLS_WithDefaults<P, D> = {
|
|
119
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
120
|
+
default: D[K];
|
|
121
|
+
}> : P[K];
|
|
122
|
+
};
|
|
123
|
+
type __VLS_Prettify<T> = {
|
|
124
|
+
[K in keyof T]: T[K];
|
|
125
|
+
} & {};
|
|
163
126
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
164
127
|
new (): {
|
|
165
128
|
$slots: S;
|
|
@@ -26,29 +26,28 @@ export interface MapControlsProps {
|
|
|
26
26
|
*/
|
|
27
27
|
domElement?: HTMLElement;
|
|
28
28
|
}
|
|
29
|
-
declare const _default: import("vue").DefineComponent<{
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
type: import("vue").PropType<boolean>;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
|
-
domElement: {
|
|
38
|
-
type: import("vue").PropType<HTMLElement>;
|
|
39
|
-
};
|
|
40
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
-
camera: {
|
|
42
|
-
type: import("vue").PropType<Camera>;
|
|
43
|
-
};
|
|
44
|
-
makeDefault: {
|
|
45
|
-
type: import("vue").PropType<boolean>;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
domElement: {
|
|
49
|
-
type: import("vue").PropType<HTMLElement>;
|
|
50
|
-
};
|
|
51
|
-
}>>, {
|
|
29
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MapControlsProps>, {
|
|
30
|
+
makeDefault: boolean;
|
|
31
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MapControlsProps>, {
|
|
32
|
+
makeDefault: boolean;
|
|
33
|
+
}>>>, {
|
|
52
34
|
makeDefault: boolean;
|
|
53
35
|
}, {}>;
|
|
54
36
|
export default _default;
|
|
37
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
39
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
+
} : {
|
|
42
|
+
type: import('vue').PropType<T[K]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
type __VLS_WithDefaults<P, D> = {
|
|
47
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
48
|
+
default: D[K];
|
|
49
|
+
}> : P[K];
|
|
50
|
+
};
|
|
51
|
+
type __VLS_Prettify<T> = {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} & {};
|