@tresjs/cientos 4.3.0 → 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 +25 -25
- 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
|
@@ -75,5 +75,14 @@ declare const _default: import('vue').DefineComponent<StarsProps, {
|
|
|
75
75
|
alphaMap: null;
|
|
76
76
|
size: number;
|
|
77
77
|
sizeAttenuation: boolean;
|
|
78
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
78
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
79
|
+
starsRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Points<import('three').BufferGeometry<import('three').NormalOrGLBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Points<import('three').BufferGeometry<import('three').NormalOrGLBufferAttributes>, 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').Points<import('three').BufferGeometry<import('three').NormalOrGLBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Points>, "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, {
|
|
80
|
+
P: {};
|
|
81
|
+
B: {};
|
|
82
|
+
D: {};
|
|
83
|
+
C: {};
|
|
84
|
+
M: {};
|
|
85
|
+
Defaults: {};
|
|
86
|
+
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<import('three').Points<import('three').BufferGeometry<import('three').NormalOrGLBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, import('@tresjs/core').WithMathProps<import('three').Points<import('three').BufferGeometry<import('three').NormalOrGLBufferAttributes>, 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').Points<import('three').BufferGeometry<import('three').NormalOrGLBufferAttributes>, import('three').Material | import('three').Material[], import('three').Object3DEventMap>, typeof import('three').Points>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
87
|
+
}, any>;
|
|
79
88
|
export default _default;
|
|
@@ -1,15 +1,20 @@
|
|
|
1
|
+
import { default as AccumulativeShadows } from './AccumulativeShadows/component.vue';
|
|
1
2
|
import { default as Align } from './Align.vue';
|
|
2
3
|
import { default as Backdrop } from './Backdrop.vue';
|
|
4
|
+
import { default as Bounds } from './Bounds/component.vue';
|
|
3
5
|
import { default as ContactShadows } from './ContactShadows.vue';
|
|
4
6
|
import { default as Fit } from './Fit.vue';
|
|
5
7
|
import { default as Grid } from './Grid.vue';
|
|
6
8
|
import { default as Ocean } from './Ocean.vue';
|
|
7
9
|
import { default as Precipitation } from './Precipitation.vue';
|
|
10
|
+
import { default as CircleShadow } from './CircleShadow.vue';
|
|
11
|
+
import { default as RandomizedLights } from './RandomizedLights/component.vue';
|
|
8
12
|
import { default as Sky } from './Sky.vue';
|
|
9
13
|
import { default as Smoke } from './Smoke.vue';
|
|
10
14
|
import { default as SoftShadows } from './SoftShadows.vue';
|
|
11
15
|
import { default as Sparkles } from './Sparkles/component.vue';
|
|
16
|
+
import { default as Stage } from './Stage.vue';
|
|
12
17
|
import { default as Stars } from './Stars.vue';
|
|
13
18
|
import { default as Environment } from './useEnvironment/component.vue';
|
|
14
19
|
import { default as Lightformer } from './useEnvironment/lightformer/index.vue';
|
|
15
|
-
export { Align, Backdrop, ContactShadows, Environment, Fit, Grid, Lightformer, Ocean, Precipitation, Sky, Smoke, SoftShadows, Sparkles, Stars, };
|
|
20
|
+
export { AccumulativeShadows, Align, Backdrop, Bounds, CircleShadow, ContactShadows, Environment, Fit, Grid, Lightformer, Ocean, Precipitation, RandomizedLights, Sky, Smoke, SoftShadows, Sparkles, Stage, Stars, };
|
|
@@ -2,30 +2,33 @@ import { CubeTexture, Texture } from 'three';
|
|
|
2
2
|
import { Ref } from 'vue';
|
|
3
3
|
import { EnvironmentOptions } from './const';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
5
6
|
slots: {
|
|
6
7
|
default?(_: {}): any;
|
|
7
8
|
};
|
|
8
9
|
refs: {
|
|
9
10
|
environmentScene: unknown;
|
|
10
11
|
};
|
|
11
|
-
|
|
12
|
+
rootEl: any;
|
|
12
13
|
};
|
|
13
14
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
15
|
declare const __VLS_component: import('vue').DefineComponent<EnvironmentOptions, {
|
|
15
16
|
texture: Ref<Texture | CubeTexture | null, Texture | CubeTexture | null>;
|
|
16
17
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<EnvironmentOptions> & Readonly<{}>, {
|
|
17
18
|
path: string;
|
|
18
|
-
near: number;
|
|
19
|
-
far: number;
|
|
20
19
|
backgroundIntensity: number;
|
|
21
20
|
background: boolean | string;
|
|
22
21
|
environmentIntensity: number;
|
|
22
|
+
near: number;
|
|
23
|
+
far: number;
|
|
23
24
|
blur: number;
|
|
24
25
|
resolution: number;
|
|
25
26
|
frames: number;
|
|
26
27
|
preset: import('./const').EnvironmentPresetsType;
|
|
27
28
|
files: string | string[];
|
|
28
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
29
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
30
|
+
environmentScene: unknown;
|
|
31
|
+
}, any>;
|
|
29
32
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
33
|
export default _default;
|
|
31
34
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,26 +1,37 @@
|
|
|
1
|
-
import { Texture } from 'three';
|
|
2
|
-
|
|
1
|
+
import { MeshBasicMaterial, Texture } from 'three';
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
args?: any[];
|
|
4
|
-
form?:
|
|
4
|
+
form?: 'circle' | 'ring' | 'rect' | any;
|
|
5
5
|
toneMapped?: boolean;
|
|
6
6
|
map?: Texture;
|
|
7
7
|
intensity?: number;
|
|
8
8
|
color?: any;
|
|
9
|
-
}
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
10
11
|
mesh: import('vue').Ref<any, any>;
|
|
11
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
12
|
-
args?: any[];
|
|
13
|
-
form?: "circle" | "ring" | "rect" | any;
|
|
14
|
-
toneMapped?: boolean;
|
|
15
|
-
map?: Texture;
|
|
16
|
-
intensity?: number;
|
|
17
|
-
color?: any;
|
|
18
|
-
}> & Readonly<{}>, {
|
|
12
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
13
|
map: Texture;
|
|
20
14
|
color: any;
|
|
21
15
|
args: any[];
|
|
22
16
|
toneMapped: boolean;
|
|
23
17
|
intensity: number;
|
|
24
18
|
form: "circle" | "ring" | "rect" | any;
|
|
25
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
20
|
+
mesh: 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, {
|
|
21
|
+
P: {};
|
|
22
|
+
B: {};
|
|
23
|
+
D: {};
|
|
24
|
+
C: {};
|
|
25
|
+
M: {};
|
|
26
|
+
Defaults: {};
|
|
27
|
+
}, 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;
|
|
28
|
+
material: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<MeshBasicMaterial, import('@tresjs/core').WithMathProps<MeshBasicMaterial> & import('@tresjs/core').VueProps>>, Omit<import('@tresjs/core').InstanceProps<MeshBasicMaterial, typeof MeshBasicMaterial>, "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, {
|
|
29
|
+
P: {};
|
|
30
|
+
B: {};
|
|
31
|
+
D: {};
|
|
32
|
+
C: {};
|
|
33
|
+
M: {};
|
|
34
|
+
Defaults: {};
|
|
35
|
+
}, Readonly<import('@tresjs/core').Mutable<import('@tresjs/core').Overwrite<Partial<import('@tresjs/core').Overwrite<MeshBasicMaterial, import('@tresjs/core').WithMathProps<MeshBasicMaterial> & import('@tresjs/core').VueProps>>, Omit<import('@tresjs/core').InstanceProps<MeshBasicMaterial, typeof MeshBasicMaterial>, "object">>>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | null;
|
|
36
|
+
}, any>;
|
|
26
37
|
export default _default;
|