@tresjs/cientos 3.7.0 → 3.8.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/README.md +7 -6
- package/dist/core/abstractions/GlobalAudio.d.ts +1 -1
- package/dist/core/abstractions/Lensflare/component.vue.d.ts +1 -1
- package/dist/core/abstractions/Levioso.vue.d.ts +1 -1
- package/dist/core/abstractions/MouseParallax.vue.d.ts +1 -1
- package/dist/core/abstractions/Reflector.vue.d.ts +1 -1
- package/dist/core/abstractions/Text3D.vue.d.ts +1 -1
- package/dist/core/abstractions/useFBO/component.vue.d.ts +1 -1
- package/dist/core/abstractions/useSurfaceSampler/component.vue.d.ts +1 -1
- package/dist/core/abstractions/useSurfaceSampler/index.d.ts +6 -0
- package/dist/core/controls/CameraControls.vue.d.ts +957 -1032
- package/dist/core/controls/KeyboardControls.vue.d.ts +1 -1
- package/dist/core/controls/MapControls.vue.d.ts +1 -1
- package/dist/core/controls/OrbitControls.vue.d.ts +891 -961
- package/dist/core/controls/PointerLockControls.vue.d.ts +1 -1
- package/dist/core/controls/ScrollControls.vue.d.ts +1 -1
- package/dist/core/controls/TransformControls.vue.d.ts +1 -1
- package/dist/core/loaders/SVG/component.vue.d.ts +1 -1
- package/dist/core/loaders/useFBX/component.vue.d.ts +44 -3
- package/dist/core/loaders/useGLTF/component.vue.d.ts +31 -1
- package/dist/core/loaders/useGLTF/index.d.ts +1 -1
- package/dist/core/materials/blurPass.d.ts +22 -0
- package/dist/core/materials/convolutionMaterial.d.ts +7 -0
- package/dist/core/materials/customShaderMaterial/index.vue.d.ts +2 -2
- package/dist/core/materials/index.d.ts +2 -1
- package/dist/core/materials/meshGlassMaterial/index.vue.d.ts +1 -1
- package/dist/core/materials/meshReflectionMaterial/index.vue.d.ts +74 -0
- package/dist/core/materials/meshReflectionMaterial/material.d.ts +51 -0
- package/dist/core/materials/meshWobbleMaterial/index.vue.d.ts +1 -1
- package/dist/core/misc/BakeShadows.d.ts +1 -0
- package/dist/core/misc/Stats.d.ts +1 -1
- package/dist/core/misc/StatsGl.d.ts +1 -1
- package/dist/core/misc/html/HTML.vue.d.ts +2 -2
- package/dist/core/misc/index.d.ts +3 -1
- package/dist/core/misc/useGLTFExporter.d.ts +12 -0
- package/dist/core/shapes/Box.vue.d.ts +1 -1
- package/dist/core/shapes/CatmullRomCurve3.vue.d.ts +1 -1
- package/dist/core/shapes/Circle.vue.d.ts +1 -1
- package/dist/core/shapes/Cone.vue.d.ts +1 -1
- package/dist/core/shapes/Dodecahedron.vue.d.ts +1 -1
- package/dist/core/shapes/Icosahedron.vue.d.ts +1 -1
- package/dist/core/shapes/Line2.vue.d.ts +1 -1
- package/dist/core/shapes/Octahedron.vue.d.ts +1 -1
- package/dist/core/shapes/Plane.vue.d.ts +1 -1
- package/dist/core/shapes/Ring.vue.d.ts +1 -1
- package/dist/core/shapes/Sphere.vue.d.ts +1 -1
- package/dist/core/shapes/Superformula.vue.d.ts +1 -1
- package/dist/core/shapes/Tetrahedron.vue.d.ts +1 -1
- package/dist/core/shapes/Torus.vue.d.ts +1 -1
- package/dist/core/shapes/TorusKnot.vue.d.ts +1 -1
- package/dist/core/shapes/Tube.vue.d.ts +1 -1
- package/dist/core/staging/Backdrop.vue.d.ts +1 -1
- package/dist/core/staging/Precipitation.vue.d.ts +1 -1
- package/dist/core/staging/Sky.vue.d.ts +1 -1
- package/dist/core/staging/Smoke.vue.d.ts +1 -1
- package/dist/core/staging/Sparkles/ShaderData.d.ts +1 -1
- package/dist/core/staging/Sparkles/component.vue.d.ts +3 -3
- package/dist/core/staging/Stars.vue.d.ts +1 -1
- package/dist/trescientos.js +7534 -5774
- package/dist/trescientos.umd.cjs +259 -115
- package/dist/utils/constants.d.ts +1 -0
- package/package.json +23 -23
|
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
37
37
|
elevation: number;
|
|
38
38
|
azimuth: number;
|
|
39
39
|
distance: number;
|
|
40
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
40
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SkyProps>, {
|
|
41
41
|
turbidity: number;
|
|
42
42
|
rayleigh: number;
|
|
43
43
|
mieCoefficient: number;
|
|
@@ -76,7 +76,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
76
76
|
depthTest: boolean;
|
|
77
77
|
}>, {
|
|
78
78
|
value: import("vue").ShallowRef<any>;
|
|
79
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
79
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SmokeProps>, {
|
|
80
80
|
opacity: number;
|
|
81
81
|
speed: number;
|
|
82
82
|
width: number;
|
|
@@ -7,7 +7,7 @@ export declare class ShaderData {
|
|
|
7
7
|
private resolution;
|
|
8
8
|
constructor(entries: ShaderDataEntry<any>[], resolution: number);
|
|
9
9
|
useTexture(): {
|
|
10
|
-
texture:
|
|
10
|
+
texture: import("vue").ShallowRef<DataTexture>;
|
|
11
11
|
dispose: () => void;
|
|
12
12
|
yFor: Record<string, number>;
|
|
13
13
|
};
|
|
@@ -164,7 +164,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
164
164
|
blending: 2;
|
|
165
165
|
transparent: boolean;
|
|
166
166
|
depthWrite: boolean;
|
|
167
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
167
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SparkleProps>, {
|
|
168
168
|
map: string;
|
|
169
169
|
geometry: undefined;
|
|
170
170
|
directionalLight: undefined;
|
|
@@ -214,8 +214,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
214
214
|
surfaceDistance: number;
|
|
215
215
|
sequenceColor: Gradient<import("three").ColorRepresentation | [r: number, g: number, b: number]>;
|
|
216
216
|
sequenceAlpha: Gradient<number>;
|
|
217
|
-
sequenceOffset:
|
|
218
|
-
sequenceNoise:
|
|
217
|
+
sequenceOffset: any;
|
|
218
|
+
sequenceNoise: any;
|
|
219
219
|
sequenceSize: Gradient<number>;
|
|
220
220
|
sequenceSurfaceDistance: Gradient<number>;
|
|
221
221
|
mixColor: number;
|
|
@@ -75,7 +75,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
75
75
|
radius: number;
|
|
76
76
|
}>, {
|
|
77
77
|
value: import("vue").ShallowRef<any>;
|
|
78
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
78
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<StarsProps>, {
|
|
79
79
|
size: number;
|
|
80
80
|
sizeAttenuation: boolean;
|
|
81
81
|
transparent: boolean;
|