@tresjs/cientos 4.0.3 → 4.1.1
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 +18 -5
- package/dist/core/abstractions/Billboard.vue.d.ts +61 -0
- package/dist/core/abstractions/CubeCamera/component.vue.d.ts +39 -0
- package/dist/core/abstractions/CubeCamera/useCubeCamera.d.ts +23 -0
- package/dist/core/abstractions/Edges.vue.d.ts +36 -0
- package/dist/core/abstractions/GradientTexture.vue.d.ts +47 -0
- package/dist/core/abstractions/Image/ImageMaterial.vue.d.ts +4 -0
- package/dist/core/abstractions/Image/ImageMaterialImpl.d.ts +8 -0
- package/dist/core/abstractions/Image/component.vue.d.ts +81 -0
- package/dist/core/abstractions/Lensflare/component.vue.d.ts +2 -2
- package/dist/core/abstractions/Levioso.vue.d.ts +17 -3
- package/dist/core/abstractions/Mask/component.vue.d.ts +40 -0
- package/dist/core/abstractions/Mask/useMask.d.ts +9 -0
- package/dist/core/abstractions/Outline/OutlineMaterialImpl.d.ts +4 -0
- package/dist/core/abstractions/Outline/component.vue.d.ts +34 -0
- package/dist/core/abstractions/PositionalAudio.vue.d.ts +1 -1
- package/dist/core/abstractions/Reflector.vue.d.ts +10 -3
- package/dist/core/abstractions/ScreenSizer.vue.d.ts +35 -0
- package/dist/core/abstractions/ScreenSpace.vue.d.ts +32 -0
- package/dist/core/abstractions/Text3D.vue.d.ts +17 -3
- package/dist/core/abstractions/index.d.ts +11 -1
- package/dist/core/abstractions/useSurfaceSampler/component.vue.d.ts +16 -2
- package/dist/core/abstractions/useSurfaceSampler/index.d.ts +756 -602
- package/dist/core/controls/CameraControls.vue.d.ts +304 -0
- package/dist/core/controls/MapControls.vue.d.ts +258 -0
- package/dist/core/controls/OrbitControls.vue.d.ts +262 -0
- package/dist/core/controls/PointerLockControls.vue.d.ts +1 -2
- package/dist/core/controls/ScrollControls.vue.d.ts +18 -4
- 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/index.d.ts +3 -3
- package/dist/core/loaders/useGLTF/index.d.ts +7 -8
- package/dist/core/materials/customShaderMaterial/index.vue.d.ts +1 -1
- package/dist/core/materials/holographicMaterial/index.vue.d.ts +1 -1
- package/dist/core/materials/index.d.ts +2 -1
- package/dist/core/materials/meshDiscardMaterial/index.vue.d.ts +4 -0
- package/dist/core/materials/meshDiscardMaterial/material.d.ts +4 -0
- package/dist/core/materials/meshGlassMaterial/index.vue.d.ts +1 -1
- package/dist/core/materials/meshGlassMaterial/material.d.ts +1 -3
- package/dist/core/materials/meshReflectionMaterial/index.vue.d.ts +1 -1
- package/dist/core/materials/meshWobbleMaterial/index.vue.d.ts +1 -1
- package/dist/core/misc/html/HTML.vue.d.ts +24 -2
- package/dist/core/shapes/Box.vue.d.ts +17 -3
- package/dist/core/shapes/CatmullRomCurve3.vue.d.ts +1 -1
- package/dist/core/shapes/Circle.vue.d.ts +17 -3
- package/dist/core/shapes/Cone.vue.d.ts +17 -3
- package/dist/core/shapes/Cylinder.vue.d.ts +17 -3
- package/dist/core/shapes/Dodecahedron.vue.d.ts +17 -3
- package/dist/core/shapes/Icosahedron.vue.d.ts +17 -3
- package/dist/core/shapes/Line2.vue.d.ts +1 -1
- package/dist/core/shapes/Octahedron.vue.d.ts +17 -3
- package/dist/core/shapes/Plane.vue.d.ts +17 -3
- package/dist/core/shapes/Ring.vue.d.ts +17 -3
- package/dist/core/shapes/RoundedBox.vue.d.ts +17 -3
- package/dist/core/shapes/Sphere.vue.d.ts +17 -3
- package/dist/core/shapes/Superformula.vue.d.ts +18 -3
- package/dist/core/shapes/Tetrahedron.vue.d.ts +17 -3
- package/dist/core/shapes/Torus.vue.d.ts +17 -3
- package/dist/core/shapes/TorusKnot.vue.d.ts +17 -3
- package/dist/core/shapes/Tube.vue.d.ts +17 -3
- package/dist/core/staging/Align.vue.d.ts +87 -0
- package/dist/core/staging/Backdrop.vue.d.ts +26 -3
- package/dist/core/staging/ContactShadows.vue.d.ts +1 -1
- package/dist/core/staging/Fit.vue.d.ts +35 -5
- package/dist/core/staging/Grid.vue.d.ts +52 -0
- package/dist/core/staging/Ocean.vue.d.ts +10 -3
- package/dist/core/staging/Precipitation.vue.d.ts +17 -16
- package/dist/core/staging/Sky.vue.d.ts +1 -1
- package/dist/core/staging/Smoke.vue.d.ts +1 -1
- package/dist/core/staging/SoftShadows.vue.d.ts +14 -0
- package/dist/core/staging/Sparkles/ShaderData.d.ts +1 -1
- package/dist/core/staging/Stars.vue.d.ts +1 -1
- package/dist/core/staging/index.d.ts +4 -1
- package/dist/core/staging/useEnvironment/{envSence.d.ts → EnvironmentScene.d.ts} +3 -3
- package/dist/core/staging/useEnvironment/component.vue.d.ts +12 -5
- package/dist/core/staging/useEnvironment/index.d.ts +14 -0
- package/dist/core/staging/useEnvironment/lightformer/index.vue.d.ts +6 -4
- package/dist/trescientos.js +15618 -15159
- package/dist/trescientos.umd.cjs +819 -517
- package/dist/utils/calculateScaleFactor.d.ts +7 -0
- package/dist/utils/shaderMaterial.d.ts +6 -0
- package/package.json +22 -22
|
@@ -115,10 +115,24 @@ export interface Text3DProps {
|
|
|
115
115
|
needUpdates?: boolean;
|
|
116
116
|
}
|
|
117
117
|
declare function __VLS_template(): {
|
|
118
|
-
|
|
118
|
+
slots: {
|
|
119
|
+
default?(_: {}): any;
|
|
120
|
+
};
|
|
121
|
+
refs: {
|
|
122
|
+
text3DRef: 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, {
|
|
123
|
+
P: {};
|
|
124
|
+
B: {};
|
|
125
|
+
D: {};
|
|
126
|
+
C: {};
|
|
127
|
+
M: {};
|
|
128
|
+
Defaults: {};
|
|
129
|
+
}, 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;
|
|
130
|
+
};
|
|
131
|
+
attrs: Partial<{}>;
|
|
119
132
|
};
|
|
133
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
120
134
|
declare const __VLS_component: import('vue').DefineComponent<Text3DProps, {
|
|
121
|
-
instance: import('vue').ShallowRef<any>;
|
|
135
|
+
instance: import('vue').ShallowRef<any, any>;
|
|
122
136
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Text3DProps> & Readonly<{}>, {
|
|
123
137
|
center: boolean;
|
|
124
138
|
height: number;
|
|
@@ -131,7 +145,7 @@ declare const __VLS_component: import('vue').DefineComponent<Text3DProps, {
|
|
|
131
145
|
bevelSegments: number;
|
|
132
146
|
needUpdates: boolean;
|
|
133
147
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
134
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
148
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
135
149
|
export default _default;
|
|
136
150
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
137
151
|
new (): {
|
|
@@ -1,15 +1,25 @@
|
|
|
1
1
|
import { default as AnimatedSprite } from './AnimatedSprite/component.vue';
|
|
2
|
+
import { default as CubeCamera } from './CubeCamera/component.vue';
|
|
3
|
+
import { default as Billboard } from './Billboard.vue';
|
|
2
4
|
import { GlobalAudio } from './GlobalAudio';
|
|
5
|
+
import { default as GradientTexture } from './GradientTexture.vue';
|
|
6
|
+
import { default as Image } from './Image/component.vue';
|
|
3
7
|
import { default as Lensflare } from './Lensflare/component.vue';
|
|
4
8
|
import { default as Levioso } from './Levioso.vue';
|
|
9
|
+
import { default as Mask } from './Mask/component.vue';
|
|
5
10
|
import { default as MouseParallax } from './MouseParallax.vue';
|
|
11
|
+
import { default as Outline } from './Outline/component.vue';
|
|
6
12
|
import { default as PositionalAudio } from './PositionalAudio.vue';
|
|
7
13
|
import { default as Reflector } from './Reflector.vue';
|
|
14
|
+
import { default as ScreenSpace } from './ScreenSpace.vue';
|
|
8
15
|
import { default as Text3D } from './Text3D.vue';
|
|
9
16
|
import { useAnimations } from './useAnimations';
|
|
17
|
+
import { useMask } from './Mask/useMask';
|
|
10
18
|
import { default as Fbo } from './useFBO/component.vue';
|
|
11
19
|
import { default as Sampler } from './useSurfaceSampler/component.vue';
|
|
20
|
+
import { default as ScreenSizer } from './ScreenSizer.vue';
|
|
21
|
+
import { default as Edges } from './Edges.vue';
|
|
12
22
|
export * from '../staging/useEnvironment';
|
|
13
23
|
export * from './useFBO/';
|
|
14
24
|
export * from './useSurfaceSampler';
|
|
15
|
-
export { AnimatedSprite, Fbo, GlobalAudio, Lensflare, Levioso, MouseParallax, PositionalAudio, Reflector, Sampler, Text3D, useAnimations, };
|
|
25
|
+
export { AnimatedSprite, Billboard, CubeCamera, Edges, Fbo, GlobalAudio, GradientTexture, Image, Lensflare, Levioso, Mask, MouseParallax, Outline, PositionalAudio, Reflector, Sampler, ScreenSizer, ScreenSpace, Text3D, useAnimations, useMask, };
|
|
@@ -1,11 +1,25 @@
|
|
|
1
1
|
import { useSurfaceSamplerProps } from '.';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
|
-
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {
|
|
7
|
+
samplerRef: 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, {
|
|
8
|
+
P: {};
|
|
9
|
+
B: {};
|
|
10
|
+
D: {};
|
|
11
|
+
C: {};
|
|
12
|
+
M: {};
|
|
13
|
+
Defaults: {};
|
|
14
|
+
}, 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;
|
|
15
|
+
};
|
|
16
|
+
attrs: Partial<{}>;
|
|
4
17
|
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
5
19
|
declare const __VLS_component: import('vue').DefineComponent<useSurfaceSamplerProps, {
|
|
6
20
|
samplerRef: import('vue').Ref<any, any>;
|
|
7
21
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<useSurfaceSamplerProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
9
23
|
export default _default;
|
|
10
24
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
11
25
|
new (): {
|