@tresjs/cientos 3.8.0 → 3.9.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/GlobalAudio.d.ts +1 -1
- package/dist/core/abstractions/Lensflare/RandUtils.d.ts +2 -2
- package/dist/core/abstractions/Lensflare/component.vue.d.ts +11 -10
- package/dist/core/abstractions/Lensflare/constants.d.ts +2 -1
- package/dist/core/abstractions/Lensflare/index.d.ts +5 -4
- package/dist/core/abstractions/Levioso.vue.d.ts +5 -5
- package/dist/core/abstractions/MouseParallax.vue.d.ts +16 -5
- package/dist/core/abstractions/PositionalAudio.vue.d.ts +69 -0
- package/dist/core/abstractions/Reflector.vue.d.ts +6 -5
- package/dist/core/abstractions/Text3D.vue.d.ts +3 -3
- package/dist/core/abstractions/index.d.ts +10 -8
- package/dist/core/abstractions/useAnimations.d.ts +4 -4
- package/dist/core/abstractions/useFBO/component.vue.d.ts +6 -5
- package/dist/core/abstractions/useFBO/index.d.ts +4 -4
- package/dist/core/abstractions/useSurfaceSampler/component.vue.d.ts +5 -4
- package/dist/core/abstractions/useSurfaceSampler/index.d.ts +6 -6
- package/dist/core/controls/CameraControls.vue.d.ts +3214 -3049
- package/dist/core/controls/KeyboardControls.vue.d.ts +13 -13
- package/dist/core/controls/MapControls.vue.d.ts +4 -3
- package/dist/core/controls/OrbitControls.vue.d.ts +5158 -5016
- package/dist/core/controls/PointerLockControls.vue.d.ts +6 -5
- package/dist/core/controls/ScrollControls.vue.d.ts +8 -8
- package/dist/core/controls/TransformControls.vue.d.ts +6 -4
- package/dist/core/controls/index.d.ts +9 -8
- package/dist/core/directives/index.d.ts +1 -0
- package/dist/core/directives/vAlwaysLookAt.d.ts +2 -1
- package/dist/core/directives/vLightHelper.d.ts +3 -1
- package/dist/core/loaders/SVG/component.vue.d.ts +13 -12
- package/dist/core/loaders/index.d.ts +4 -3
- package/dist/core/loaders/useFBX/component.vue.d.ts +5 -5
- package/dist/core/loaders/useFBX/index.d.ts +2 -1
- package/dist/core/loaders/useGLTF/component.vue.d.ts +8 -8
- package/dist/core/loaders/useProgress.d.ts +2 -1
- package/dist/core/loaders/useVideoTexture.d.ts +1 -0
- package/dist/core/materials/blurPass.d.ts +2 -1
- package/dist/core/materials/convolutionMaterial.d.ts +1 -0
- package/dist/core/materials/customShaderMaterial/index.vue.d.ts +3 -3
- package/dist/core/materials/holographicMaterial/HolographicMaterialParameters.d.ts +41 -0
- package/dist/core/materials/holographicMaterial/index.vue.d.ts +86 -0
- package/dist/core/materials/holographicMaterial/material.d.ts +27 -0
- package/dist/core/materials/index.d.ts +7 -5
- package/dist/core/materials/meshGlassMaterial/index.vue.d.ts +3 -3
- package/dist/core/materials/meshGlassMaterial/material.d.ts +2 -2
- package/dist/core/materials/meshReflectionMaterial/index.vue.d.ts +4 -3
- package/dist/core/materials/meshReflectionMaterial/material.d.ts +2 -2
- package/dist/core/materials/meshWobbleMaterial/index.vue.d.ts +2 -2
- package/dist/core/materials/meshWobbleMaterial/material.d.ts +2 -2
- package/dist/core/misc/BakeShadows.d.ts +1 -1
- package/dist/core/misc/Stats.d.ts +2 -2
- package/dist/core/misc/StatsGl.d.ts +1 -1
- package/dist/core/misc/html/HTML.vue.d.ts +7 -6
- package/dist/core/misc/html/utils.d.ts +3 -3
- package/dist/core/misc/index.d.ts +2 -1
- package/dist/core/misc/useGLTFExporter.d.ts +2 -1
- package/dist/core/misc/useTweakPane/index.d.ts +3 -2
- package/dist/core/shapes/Box.vue.d.ts +7 -6
- package/dist/core/shapes/CatmullRomCurve3.vue.d.ts +4 -3
- package/dist/core/shapes/Circle.vue.d.ts +7 -6
- package/dist/core/shapes/Cone.vue.d.ts +7 -6
- package/dist/core/shapes/Dodecahedron.vue.d.ts +7 -6
- package/dist/core/shapes/Icosahedron.vue.d.ts +7 -6
- package/dist/core/shapes/Line2.vue.d.ts +5 -4
- package/dist/core/shapes/Octahedron.vue.d.ts +7 -6
- package/dist/core/shapes/Plane.vue.d.ts +7 -6
- package/dist/core/shapes/Ring.vue.d.ts +7 -6
- package/dist/core/shapes/RoundedBox.vue.d.ts +59 -0
- package/dist/core/shapes/Sphere.vue.d.ts +7 -6
- package/dist/core/shapes/Superformula.vue.d.ts +21 -20
- package/dist/core/shapes/Tetrahedron.vue.d.ts +7 -6
- package/dist/core/shapes/Torus.vue.d.ts +7 -6
- package/dist/core/shapes/TorusKnot.vue.d.ts +7 -6
- package/dist/core/shapes/Tube.vue.d.ts +8 -8
- package/dist/core/shapes/index.d.ts +19 -17
- package/dist/core/staging/Backdrop.vue.d.ts +2 -2
- package/dist/core/staging/Fit.vue.d.ts +56 -0
- package/dist/core/staging/Ocean.vue.d.ts +164 -0
- package/dist/core/staging/Precipitation.vue.d.ts +6 -5
- package/dist/core/staging/Sky.vue.d.ts +8 -2
- package/dist/core/staging/Smoke.vue.d.ts +6 -5
- package/dist/core/staging/Sparkles/ShaderData.d.ts +4 -3
- package/dist/core/staging/Sparkles/ShaderDataBuilder.d.ts +4 -4
- package/dist/core/staging/Sparkles/component.vue.d.ts +17 -17
- package/dist/core/staging/Sparkles/useEmptyDataTexture.d.ts +1 -0
- package/dist/core/staging/Stars.vue.d.ts +4 -4
- package/dist/core/staging/index.d.ts +13 -9
- package/dist/core/staging/useEnvironment/component.vue.d.ts +62 -0
- package/dist/core/staging/useEnvironment/const.d.ts +28 -0
- package/dist/core/staging/useEnvironment/envSence.d.ts +9 -0
- package/dist/core/staging/useEnvironment/index.d.ts +5 -3
- package/dist/core/staging/useEnvironment/lightformer/index.vue.d.ts +56 -0
- package/dist/trescientos.js +5946 -5098
- package/dist/trescientos.umd.cjs +301 -82
- package/dist/utils/Gradient.d.ts +3 -2
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/types.d.ts +4 -0
- package/package.json +29 -26
- package/dist/core/loaders/useGLTF/index.d.ts +0 -36
|
@@ -5,7 +5,7 @@ export interface KeyboardControlsProps {
|
|
|
5
5
|
* @default '[w, W]'
|
|
6
6
|
* @memberof KeyboardControlsProps
|
|
7
7
|
*
|
|
8
|
-
|
|
8
|
+
*/
|
|
9
9
|
forward?: string[] | string;
|
|
10
10
|
/**
|
|
11
11
|
* Keys to go back.
|
|
@@ -13,7 +13,7 @@ export interface KeyboardControlsProps {
|
|
|
13
13
|
* @default '[s, S]'
|
|
14
14
|
* @memberof KeyboardControlsProps
|
|
15
15
|
*
|
|
16
|
-
|
|
16
|
+
*/
|
|
17
17
|
back?: string[] | string;
|
|
18
18
|
/**
|
|
19
19
|
* Keys to go left.
|
|
@@ -21,7 +21,7 @@ export interface KeyboardControlsProps {
|
|
|
21
21
|
* @default '[a, A]'
|
|
22
22
|
* @memberof KeyboardControlsProps
|
|
23
23
|
*
|
|
24
|
-
|
|
24
|
+
*/
|
|
25
25
|
left?: string[] | string;
|
|
26
26
|
/**
|
|
27
27
|
* Keys to go right.
|
|
@@ -29,7 +29,7 @@ export interface KeyboardControlsProps {
|
|
|
29
29
|
* @default '[d, D]'
|
|
30
30
|
* @memberof KeyboardControlsProps
|
|
31
31
|
*
|
|
32
|
-
|
|
32
|
+
*/
|
|
33
33
|
right?: string[] | string;
|
|
34
34
|
/**
|
|
35
35
|
* Key to jump (only with PointerLockControls).
|
|
@@ -37,7 +37,7 @@ export interface KeyboardControlsProps {
|
|
|
37
37
|
* @default 'space'
|
|
38
38
|
* @memberof KeyboardControlsProps
|
|
39
39
|
*
|
|
40
|
-
|
|
40
|
+
*/
|
|
41
41
|
jump?: string[] | string;
|
|
42
42
|
/**
|
|
43
43
|
* Default gravity number for jump.
|
|
@@ -45,7 +45,7 @@ export interface KeyboardControlsProps {
|
|
|
45
45
|
* @default 9.8
|
|
46
46
|
* @memberof KeyboardControlsProps
|
|
47
47
|
*
|
|
48
|
-
|
|
48
|
+
*/
|
|
49
49
|
gravity?: number;
|
|
50
50
|
/**
|
|
51
51
|
* Speed movement.
|
|
@@ -53,7 +53,7 @@ export interface KeyboardControlsProps {
|
|
|
53
53
|
* @default 0.1
|
|
54
54
|
* @memberof KeyboardControlsProps
|
|
55
55
|
*
|
|
56
|
-
|
|
56
|
+
*/
|
|
57
57
|
moveSpeed?: number;
|
|
58
58
|
/**
|
|
59
59
|
* Activate/deactivate headBobbing effect (only with PointerLockControls).
|
|
@@ -61,7 +61,7 @@ export interface KeyboardControlsProps {
|
|
|
61
61
|
* @default false
|
|
62
62
|
* @memberof KeyboardControlsProps
|
|
63
63
|
*
|
|
64
|
-
|
|
64
|
+
*/
|
|
65
65
|
headBobbing?: boolean;
|
|
66
66
|
/**
|
|
67
67
|
* Indicates if the forward movement is in the Z axis or Y axis.
|
|
@@ -69,10 +69,10 @@ export interface KeyboardControlsProps {
|
|
|
69
69
|
* @default false
|
|
70
70
|
* @memberof KeyboardControlsProps
|
|
71
71
|
*
|
|
72
|
-
|
|
72
|
+
*/
|
|
73
73
|
is2D?: boolean;
|
|
74
74
|
}
|
|
75
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
75
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<KeyboardControlsProps>, {
|
|
76
76
|
forward: () => string[];
|
|
77
77
|
back: () => string[];
|
|
78
78
|
left: () => string[];
|
|
@@ -82,7 +82,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
82
82
|
moveSpeed: number;
|
|
83
83
|
headBobbing: boolean;
|
|
84
84
|
is2D: boolean;
|
|
85
|
-
}>, {}, unknown, {}, {}, import(
|
|
85
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<KeyboardControlsProps>, {
|
|
86
86
|
forward: () => string[];
|
|
87
87
|
back: () => string[];
|
|
88
88
|
left: () => string[];
|
|
@@ -93,10 +93,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
93
93
|
headBobbing: boolean;
|
|
94
94
|
is2D: boolean;
|
|
95
95
|
}>>>, {
|
|
96
|
-
forward: string | string[];
|
|
97
|
-
back: string | string[];
|
|
98
96
|
left: string | string[];
|
|
99
97
|
right: string | string[];
|
|
98
|
+
forward: string | string[];
|
|
99
|
+
back: string | string[];
|
|
100
100
|
jump: string | string[];
|
|
101
101
|
gravity: number;
|
|
102
102
|
moveSpeed: number;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Camera } from 'three';
|
|
2
|
+
|
|
2
3
|
export interface MapControlsProps {
|
|
3
4
|
/**
|
|
4
5
|
* Whether to make this the default controls.
|
|
@@ -26,9 +27,9 @@ export interface MapControlsProps {
|
|
|
26
27
|
*/
|
|
27
28
|
domElement?: HTMLElement;
|
|
28
29
|
}
|
|
29
|
-
declare const _default: import(
|
|
30
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MapControlsProps>, {
|
|
30
31
|
makeDefault: boolean;
|
|
31
|
-
}>, {}, unknown, {}, {}, import(
|
|
32
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MapControlsProps>, {
|
|
32
33
|
makeDefault: boolean;
|
|
33
34
|
}>>>, {
|
|
34
35
|
makeDefault: boolean;
|