three-stdlib 2.35.8 → 2.35.9
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/_polyfill/constants.d.cts +1 -1
- package/_polyfill/constants.d.ts +1 -1
- package/_polyfill/uv1.d.cts +1 -1
- package/_polyfill/uv1.d.ts +1 -1
- package/controls/ArcballControls.d.cts +1 -1
- package/controls/ArcballControls.d.ts +1 -1
- package/controls/DeviceOrientationControls.d.cts +1 -1
- package/controls/DeviceOrientationControls.d.ts +1 -1
- package/controls/DragControls.d.cts +1 -1
- package/controls/DragControls.d.ts +1 -1
- package/controls/EventDispatcher.d.cts +1 -1
- package/controls/EventDispatcher.d.ts +1 -1
- package/controls/FirstPersonControls.d.cts +1 -1
- package/controls/FirstPersonControls.d.ts +1 -1
- package/controls/FlyControls.d.cts +1 -1
- package/controls/FlyControls.d.ts +1 -1
- package/controls/OrbitControls.d.cts +1 -1
- package/controls/OrbitControls.d.ts +1 -1
- package/controls/PointerLockControls.d.cts +1 -1
- package/controls/PointerLockControls.d.ts +1 -1
- package/controls/TrackballControls.d.cts +1 -1
- package/controls/TrackballControls.d.ts +1 -1
- package/controls/TransformControls.d.cts +1 -1
- package/controls/TransformControls.d.ts +1 -1
- package/controls/experimental/CameraControls.d.cts +2 -2
- package/controls/experimental/CameraControls.d.ts +2 -2
- package/csm/CSMFrustum.d.cts +1 -1
- package/csm/CSMFrustum.d.ts +1 -1
- package/environments/RoomEnvironment.d.cts +1 -1
- package/environments/RoomEnvironment.d.ts +1 -1
- package/exporters/ColladaExporter.d.cts +1 -1
- package/exporters/ColladaExporter.d.ts +1 -1
- package/exporters/DRACOExporter.d.cts +1 -1
- package/exporters/DRACOExporter.d.ts +1 -1
- package/exporters/GLTFExporter.d.cts +3 -3
- package/exporters/GLTFExporter.d.ts +3 -3
- package/exporters/MMDExporter.d.cts +1 -1
- package/exporters/MMDExporter.d.ts +1 -1
- package/exporters/OBJExporter.d.cts +1 -1
- package/exporters/OBJExporter.d.ts +1 -1
- package/exporters/PLYExporter.d.cts +1 -1
- package/exporters/PLYExporter.d.ts +1 -1
- package/exporters/STLExporter.d.cts +1 -1
- package/exporters/STLExporter.d.ts +1 -1
- package/exporters/USDZExporter.d.cts +1 -1
- package/exporters/USDZExporter.d.ts +1 -1
- package/geometries/ParametricGeometries.d.cts +1 -1
- package/geometries/ParametricGeometries.d.ts +1 -1
- package/geometries/ParametricGeometry.d.cts +1 -1
- package/geometries/ParametricGeometry.d.ts +1 -1
- package/geometries/TextGeometry.d.cts +2 -2
- package/geometries/TextGeometry.d.ts +2 -2
- package/helpers/RaycasterHelper.d.cts +1 -1
- package/helpers/RaycasterHelper.d.ts +1 -1
- package/index.d.cts +262 -262
- package/index.d.ts +262 -262
- package/libs/MeshoptDecoder.d.cts +1 -1
- package/libs/MeshoptDecoder.d.ts +1 -1
- package/libs/MotionControllers.d.cts +1 -1
- package/libs/MotionControllers.d.ts +1 -1
- package/libs/zstddec.d.cts +1 -1
- package/libs/zstddec.d.ts +1 -1
- package/lights/LightProbeGenerator.d.cts +1 -1
- package/lights/LightProbeGenerator.d.ts +1 -1
- package/lights/RectAreaLightUniformsLib.d.cts +1 -1
- package/lights/RectAreaLightUniformsLib.d.ts +1 -1
- package/loaders/FontLoader.d.cts +3 -3
- package/loaders/FontLoader.d.ts +3 -3
- package/math/ColorConverter.d.cts +1 -1
- package/math/ColorConverter.d.ts +1 -1
- package/math/SimplexNoise.d.cts +1 -1
- package/math/SimplexNoise.d.ts +1 -1
- package/misc/Timer.d.cts +1 -1
- package/misc/Timer.d.ts +1 -1
- package/misc/WebGL.d.cts +5 -5
- package/misc/WebGL.d.ts +5 -5
- package/modifiers/CurveModifier.d.cts +6 -6
- package/modifiers/CurveModifier.d.ts +6 -6
- package/modifiers/EdgeSplitModifier.d.cts +1 -1
- package/modifiers/EdgeSplitModifier.d.ts +1 -1
- package/modifiers/SimplifyModifier.d.cts +1 -1
- package/modifiers/SimplifyModifier.d.ts +1 -1
- package/modifiers/TessellateModifier.d.cts +1 -1
- package/modifiers/TessellateModifier.d.ts +1 -1
- package/objects/BatchedMesh.d.cts +1 -1
- package/objects/BatchedMesh.d.ts +1 -1
- package/objects/GroundProjectedEnv.d.cts +1 -1
- package/objects/GroundProjectedEnv.d.ts +1 -1
- package/objects/ReflectorRTT.d.cts +1 -1
- package/objects/ReflectorRTT.d.ts +1 -1
- package/objects/Sky.d.cts +1 -1
- package/objects/Sky.d.ts +1 -1
- package/package.json +1 -1
- package/postprocessing/AfterimagePass.d.cts +1 -1
- package/postprocessing/AfterimagePass.d.ts +1 -1
- package/postprocessing/BloomPass.d.cts +1 -1
- package/postprocessing/BloomPass.d.ts +1 -1
- package/postprocessing/BokehPass.d.cts +1 -1
- package/postprocessing/BokehPass.d.ts +1 -1
- package/postprocessing/ClearPass.d.cts +1 -1
- package/postprocessing/ClearPass.d.ts +1 -1
- package/postprocessing/DotScreenPass.d.cts +1 -1
- package/postprocessing/DotScreenPass.d.ts +1 -1
- package/postprocessing/EffectComposer.d.cts +1 -1
- package/postprocessing/EffectComposer.d.ts +1 -1
- package/postprocessing/FilmPass.d.cts +1 -1
- package/postprocessing/FilmPass.d.ts +1 -1
- package/postprocessing/GlitchPass.d.cts +1 -1
- package/postprocessing/GlitchPass.d.ts +1 -1
- package/postprocessing/HalftonePass.d.cts +1 -1
- package/postprocessing/HalftonePass.d.ts +1 -1
- package/postprocessing/MaskPass.d.cts +1 -1
- package/postprocessing/MaskPass.d.ts +1 -1
- package/postprocessing/OutlinePass.d.cts +1 -1
- package/postprocessing/OutlinePass.d.ts +1 -1
- package/postprocessing/Pass.d.cts +1 -1
- package/postprocessing/Pass.d.ts +1 -1
- package/postprocessing/RenderPass.d.cts +1 -1
- package/postprocessing/RenderPass.d.ts +1 -1
- package/postprocessing/ShaderPass.d.cts +1 -1
- package/postprocessing/ShaderPass.d.ts +1 -1
- package/postprocessing/WaterPass.d.cts +1 -1
- package/postprocessing/WaterPass.d.ts +1 -1
- package/shaders/ACESFilmicToneMappingShader.d.cts +1 -1
- package/shaders/ACESFilmicToneMappingShader.d.ts +1 -1
- package/shaders/AfterimageShader.d.cts +1 -1
- package/shaders/AfterimageShader.d.ts +1 -1
- package/shaders/BasicShader.d.cts +1 -1
- package/shaders/BasicShader.d.ts +1 -1
- package/shaders/BleachBypassShader.d.cts +1 -1
- package/shaders/BleachBypassShader.d.ts +1 -1
- package/shaders/BlendShader.d.cts +1 -1
- package/shaders/BlendShader.d.ts +1 -1
- package/shaders/BokehShader.d.cts +1 -1
- package/shaders/BokehShader.d.ts +1 -1
- package/shaders/BokehShader2.d.cts +2 -2
- package/shaders/BokehShader2.d.ts +2 -2
- package/shaders/BrightnessContrastShader.d.cts +1 -1
- package/shaders/BrightnessContrastShader.d.ts +1 -1
- package/shaders/ColorCorrectionShader.d.cts +1 -1
- package/shaders/ColorCorrectionShader.d.ts +1 -1
- package/shaders/ColorifyShader.d.cts +1 -1
- package/shaders/ColorifyShader.d.ts +1 -1
- package/shaders/ConvolutionShader.d.cts +1 -1
- package/shaders/ConvolutionShader.d.ts +1 -1
- package/shaders/CopyShader.d.cts +1 -1
- package/shaders/CopyShader.d.ts +1 -1
- package/shaders/DOFMipMapShader.d.cts +1 -1
- package/shaders/DOFMipMapShader.d.ts +1 -1
- package/shaders/DepthLimitedBlurShader.d.cts +2 -2
- package/shaders/DepthLimitedBlurShader.d.ts +2 -2
- package/shaders/DigitalGlitch.d.cts +1 -1
- package/shaders/DigitalGlitch.d.ts +1 -1
- package/shaders/DotScreenShader.d.cts +1 -1
- package/shaders/DotScreenShader.d.ts +1 -1
- package/shaders/FXAAShader.d.cts +1 -1
- package/shaders/FXAAShader.d.ts +1 -1
- package/shaders/FilmShader.d.cts +1 -1
- package/shaders/FilmShader.d.ts +1 -1
- package/shaders/FocusShader.d.cts +1 -1
- package/shaders/FocusShader.d.ts +1 -1
- package/shaders/FreiChenShader.d.cts +1 -1
- package/shaders/FreiChenShader.d.ts +1 -1
- package/shaders/FresnelShader.d.cts +1 -1
- package/shaders/FresnelShader.d.ts +1 -1
- package/shaders/GammaCorrectionShader.d.cts +1 -1
- package/shaders/GammaCorrectionShader.d.ts +1 -1
- package/shaders/GodRaysShader.d.cts +4 -4
- package/shaders/GodRaysShader.d.ts +4 -4
- package/shaders/HalftoneShader.d.cts +1 -1
- package/shaders/HalftoneShader.d.ts +1 -1
- package/shaders/HorizontalBlurShader.d.cts +1 -1
- package/shaders/HorizontalBlurShader.d.ts +1 -1
- package/shaders/HorizontalTiltShiftShader.d.cts +1 -1
- package/shaders/HorizontalTiltShiftShader.d.ts +1 -1
- package/shaders/HueSaturationShader.d.cts +1 -1
- package/shaders/HueSaturationShader.d.ts +1 -1
- package/shaders/KaleidoShader.d.cts +1 -1
- package/shaders/KaleidoShader.d.ts +1 -1
- package/shaders/LuminosityHighPassShader.d.cts +1 -1
- package/shaders/LuminosityHighPassShader.d.ts +1 -1
- package/shaders/LuminosityShader.d.cts +1 -1
- package/shaders/LuminosityShader.d.ts +1 -1
- package/shaders/MirrorShader.d.cts +1 -1
- package/shaders/MirrorShader.d.ts +1 -1
- package/shaders/NormalMapShader.d.cts +1 -1
- package/shaders/NormalMapShader.d.ts +1 -1
- package/shaders/ParallaxShader.d.cts +1 -1
- package/shaders/ParallaxShader.d.ts +1 -1
- package/shaders/PixelShader.d.cts +1 -1
- package/shaders/PixelShader.d.ts +1 -1
- package/shaders/RGBShiftShader.d.cts +1 -1
- package/shaders/RGBShiftShader.d.ts +1 -1
- package/shaders/SAOShader.d.cts +1 -1
- package/shaders/SAOShader.d.ts +1 -1
- package/shaders/SMAAShader.d.cts +3 -3
- package/shaders/SMAAShader.d.ts +3 -3
- package/shaders/SSAOShader.d.cts +3 -3
- package/shaders/SSAOShader.d.ts +3 -3
- package/shaders/SSRShader.d.cts +3 -3
- package/shaders/SSRShader.d.ts +3 -3
- package/shaders/SepiaShader.d.cts +1 -1
- package/shaders/SepiaShader.d.ts +1 -1
- package/shaders/SobelOperatorShader.d.cts +1 -1
- package/shaders/SobelOperatorShader.d.ts +1 -1
- package/shaders/SubsurfaceScatteringShader.d.cts +1 -1
- package/shaders/SubsurfaceScatteringShader.d.ts +1 -1
- package/shaders/TechnicolorShader.d.cts +1 -1
- package/shaders/TechnicolorShader.d.ts +1 -1
- package/shaders/ToneMapShader.d.cts +1 -1
- package/shaders/ToneMapShader.d.ts +1 -1
- package/shaders/ToonShader.d.cts +4 -4
- package/shaders/ToonShader.d.ts +4 -4
- package/shaders/TriangleBlurShader.d.cts +1 -1
- package/shaders/TriangleBlurShader.d.ts +1 -1
- package/shaders/UnpackDepthRGBAShader.d.cts +1 -1
- package/shaders/UnpackDepthRGBAShader.d.ts +1 -1
- package/shaders/VerticalBlurShader.d.cts +1 -1
- package/shaders/VerticalBlurShader.d.ts +1 -1
- package/shaders/VerticalTiltShiftShader.d.cts +1 -1
- package/shaders/VerticalTiltShiftShader.d.ts +1 -1
- package/shaders/VignetteShader.d.cts +1 -1
- package/shaders/VignetteShader.d.ts +1 -1
- package/shaders/VolumeShader.d.cts +1 -1
- package/shaders/VolumeShader.d.ts +1 -1
- package/shaders/WaterRefractionShader.d.cts +1 -1
- package/shaders/WaterRefractionShader.d.ts +1 -1
- package/textures/FlakesTexture.d.cts +1 -1
- package/textures/FlakesTexture.d.ts +1 -1
- package/types/helpers.d.cts +1 -1
- package/types/helpers.d.ts +1 -1
- package/types/shared.d.cts +1 -1
- package/types/shared.d.ts +1 -1
- package/utils/BufferGeometryUtils.d.cts +8 -8
- package/utils/BufferGeometryUtils.d.ts +8 -8
- package/utils/GeometryCompressionUtils.d.cts +1 -1
- package/utils/GeometryCompressionUtils.d.ts +1 -1
- package/utils/GeometryUtils.d.cts +1 -1
- package/utils/GeometryUtils.d.ts +1 -1
- package/utils/LDrawUtils.d.cts +1 -1
- package/utils/LDrawUtils.d.ts +1 -1
- package/utils/SceneUtils.d.cts +1 -1
- package/utils/SceneUtils.d.ts +1 -1
- package/utils/SkeletonUtils.d.cts +1 -1
- package/utils/SkeletonUtils.d.ts +1 -1
- package/webxr/ARButton.d.cts +1 -1
- package/webxr/ARButton.d.ts +1 -1
- package/webxr/OculusHandModel.d.cts +1 -1
- package/webxr/OculusHandModel.d.ts +1 -1
- package/webxr/VRButton.d.cts +1 -1
- package/webxr/VRButton.d.ts +1 -1
- package/webxr/XRControllerModelFactory.d.cts +1 -1
- package/webxr/XRControllerModelFactory.d.ts +1 -1
- package/webxr/XRHandMeshModel.d.cts +1 -1
- package/webxr/XRHandMeshModel.d.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version: number;
|
|
1
|
+
export type declare const version: number;
|
package/_polyfill/constants.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version: number;
|
|
1
|
+
export type declare const version: number;
|
package/_polyfill/uv1.d.cts
CHANGED
package/_polyfill/uv1.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface Event<TEventType extends string = string, TTarget = unknown> {
|
|
|
13
13
|
readonly target: TTarget;
|
|
14
14
|
}
|
|
15
15
|
export type EventListener<TEventData, TEventType extends string, TTarget> = (event: TEventData & Event<TEventType, TTarget>) => void;
|
|
16
|
-
export declare class EventDispatcher<TEventMap extends {} = {}> {
|
|
16
|
+
export type declare class EventDispatcher<TEventMap extends {} = {}> {
|
|
17
17
|
private _listeners;
|
|
18
18
|
/**
|
|
19
19
|
* Adds a listener to an event type.
|
|
@@ -13,7 +13,7 @@ export interface Event<TEventType extends string = string, TTarget = unknown> {
|
|
|
13
13
|
readonly target: TTarget;
|
|
14
14
|
}
|
|
15
15
|
export type EventListener<TEventData, TEventType extends string, TTarget> = (event: TEventData & Event<TEventType, TTarget>) => void;
|
|
16
|
-
export declare class EventDispatcher<TEventMap extends {} = {}> {
|
|
16
|
+
export type declare class EventDispatcher<TEventMap extends {} = {}> {
|
|
17
17
|
private _listeners;
|
|
18
18
|
/**
|
|
19
19
|
* Adds a listener to an event type.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Vector3, Camera } from 'three';
|
|
2
2
|
import type { EventDispatcher } from './EventDispatcher.d.cts';
|
|
3
|
-
export declare class FirstPersonControls extends EventDispatcher<{}> {
|
|
3
|
+
export type declare class FirstPersonControls extends EventDispatcher<{}> {
|
|
4
4
|
object: Camera;
|
|
5
5
|
domElement?: HTMLElement | null;
|
|
6
6
|
enabled: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Vector3, Camera } from 'three';
|
|
2
2
|
import type { EventDispatcher } from './EventDispatcher.d.ts';
|
|
3
|
-
export declare class FirstPersonControls extends EventDispatcher<{}> {
|
|
3
|
+
export type declare class FirstPersonControls extends EventDispatcher<{}> {
|
|
4
4
|
object: Camera;
|
|
5
5
|
domElement?: HTMLElement | null;
|
|
6
6
|
enabled: boolean;
|
|
@@ -71,4 +71,4 @@ declare class OrbitControls extends EventDispatcher<StandardControlsEventMap> {
|
|
|
71
71
|
declare class MapControls extends OrbitControls {
|
|
72
72
|
constructor(object: PerspectiveCamera | OrthographicCamera, domElement?: HTMLElement);
|
|
73
73
|
}
|
|
74
|
-
export {
|
|
74
|
+
export type { OrbitControls, MapControls };
|
|
@@ -71,4 +71,4 @@ declare class OrbitControls extends EventDispatcher<StandardControlsEventMap> {
|
|
|
71
71
|
declare class MapControls extends OrbitControls {
|
|
72
72
|
constructor(object: PerspectiveCamera | OrthographicCamera, domElement?: HTMLElement);
|
|
73
73
|
}
|
|
74
|
-
export {
|
|
74
|
+
export type { OrbitControls, MapControls };
|
|
@@ -148,4 +148,4 @@ declare class TransformControlsPlane extends Mesh<PlaneGeometry, MeshBasicMateri
|
|
|
148
148
|
private space;
|
|
149
149
|
updateMatrixWorld: () => void;
|
|
150
150
|
}
|
|
151
|
-
export {
|
|
151
|
+
export type { TransformControls, TransformControlsGizmo, TransformControlsPlane };
|
|
@@ -148,4 +148,4 @@ declare class TransformControlsPlane extends Mesh<PlaneGeometry, MeshBasicMateri
|
|
|
148
148
|
private space;
|
|
149
149
|
updateMatrixWorld: () => void;
|
|
150
150
|
}
|
|
151
|
-
export {
|
|
151
|
+
export type { TransformControls, TransformControlsGizmo, TransformControlsPlane };
|
|
@@ -3,7 +3,7 @@ import type { EventDispatcher } from '../EventDispatcher.d.cts';
|
|
|
3
3
|
export type CHANGE_EVENT = {
|
|
4
4
|
type: 'change' | 'start' | 'end';
|
|
5
5
|
};
|
|
6
|
-
export declare const STATE: {
|
|
6
|
+
export type declare const STATE: {
|
|
7
7
|
NONE: number;
|
|
8
8
|
ROTATE: number;
|
|
9
9
|
DOLLY: number;
|
|
@@ -210,4 +210,4 @@ declare class TrackballControlsExp extends CameraControls {
|
|
|
210
210
|
};
|
|
211
211
|
constructor(object: PerspectiveCamera | OrthographicCamera, domElement: HTMLElement);
|
|
212
212
|
}
|
|
213
|
-
export {
|
|
213
|
+
export type { CameraControls, OrbitControlsExp, MapControlsExp, TrackballControlsExp };
|
|
@@ -3,7 +3,7 @@ import type { EventDispatcher } from '../EventDispatcher.d.ts';
|
|
|
3
3
|
export type CHANGE_EVENT = {
|
|
4
4
|
type: 'change' | 'start' | 'end';
|
|
5
5
|
};
|
|
6
|
-
export declare const STATE: {
|
|
6
|
+
export type declare const STATE: {
|
|
7
7
|
NONE: number;
|
|
8
8
|
ROTATE: number;
|
|
9
9
|
DOLLY: number;
|
|
@@ -210,4 +210,4 @@ declare class TrackballControlsExp extends CameraControls {
|
|
|
210
210
|
};
|
|
211
211
|
constructor(object: PerspectiveCamera | OrthographicCamera, domElement: HTMLElement);
|
|
212
212
|
}
|
|
213
|
-
export {
|
|
213
|
+
export type { CameraControls, OrbitControlsExp, MapControlsExp, TrackballControlsExp };
|
package/csm/CSMFrustum.d.cts
CHANGED
|
@@ -10,7 +10,7 @@ export interface CSMFrustumParameters {
|
|
|
10
10
|
maxFar?: number
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
export default class CSMFrustum {
|
|
13
|
+
export type default class CSMFrustum {
|
|
14
14
|
constructor(data?: CSMFrustumParameters)
|
|
15
15
|
vertices: CSMFrustumVerticies
|
|
16
16
|
setFromProjectionMatrix(projectionMatrix: Matrix4, maxFar: number): CSMFrustumVerticies
|
package/csm/CSMFrustum.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export interface CSMFrustumParameters {
|
|
|
10
10
|
maxFar?: number
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
export default class CSMFrustum {
|
|
13
|
+
export type default class CSMFrustum {
|
|
14
14
|
constructor(data?: CSMFrustumParameters)
|
|
15
15
|
vertices: CSMFrustumVerticies
|
|
16
16
|
setFromProjectionMatrix(projectionMatrix: Matrix4, maxFar: number): CSMFrustumVerticies
|
|
@@ -37,7 +37,7 @@ export interface GLTFExporterOptions {
|
|
|
37
37
|
animations?: AnimationClip[]
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* Generate indices for non-index geometry and export with them. Default is false.
|
|
40
|
+
* Generate indices for non-index geometry and export type with them. Default is false.
|
|
41
41
|
*/
|
|
42
42
|
forceIndices?: boolean
|
|
43
43
|
|
|
@@ -67,11 +67,11 @@ export class GLTFExporter {
|
|
|
67
67
|
* exporter.parse( object1, ... )
|
|
68
68
|
* exporter.parse( [ object1, object2 ], ... )
|
|
69
69
|
* ```
|
|
70
|
-
* - Mix scenes and objects (It will export the scenes as usual but it will create a new scene to hold all the single objects).
|
|
70
|
+
* - Mix scenes and objects (It will export type the scenes as usual but it will create a new scene to hold all the single objects).
|
|
71
71
|
* ```js
|
|
72
72
|
* exporter.parse( [ scene1, object1, object2, scene2 ], ... )
|
|
73
73
|
* ```
|
|
74
|
-
* @param onDone Will be called when the export completes. The argument will be the generated glTF JSON or binary ArrayBuffer.
|
|
74
|
+
* @param onDone Will be called when the export type completes. The argument will be the generated glTF JSON or binary ArrayBuffer.
|
|
75
75
|
* @param onError Will be called if there are any errors during the gltf generation.
|
|
76
76
|
* @param options Export options
|
|
77
77
|
*/
|
|
@@ -37,7 +37,7 @@ export interface GLTFExporterOptions {
|
|
|
37
37
|
animations?: AnimationClip[]
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* Generate indices for non-index geometry and export with them. Default is false.
|
|
40
|
+
* Generate indices for non-index geometry and export type with them. Default is false.
|
|
41
41
|
*/
|
|
42
42
|
forceIndices?: boolean
|
|
43
43
|
|
|
@@ -67,11 +67,11 @@ export class GLTFExporter {
|
|
|
67
67
|
* exporter.parse( object1, ... )
|
|
68
68
|
* exporter.parse( [ object1, object2 ], ... )
|
|
69
69
|
* ```
|
|
70
|
-
* - Mix scenes and objects (It will export the scenes as usual but it will create a new scene to hold all the single objects).
|
|
70
|
+
* - Mix scenes and objects (It will export type the scenes as usual but it will create a new scene to hold all the single objects).
|
|
71
71
|
* ```js
|
|
72
72
|
* exporter.parse( [ scene1, object1, object2, scene2 ], ... )
|
|
73
73
|
* ```
|
|
74
|
-
* @param onDone Will be called when the export completes. The argument will be the generated glTF JSON or binary ArrayBuffer.
|
|
74
|
+
* @param onDone Will be called when the export type completes. The argument will be the generated glTF JSON or binary ArrayBuffer.
|
|
75
75
|
* @param onError Will be called if there are any errors during the gltf generation.
|
|
76
76
|
* @param options Export options
|
|
77
77
|
*/
|
|
@@ -2,7 +2,7 @@ import type { Curve, Vector3 } from 'three'
|
|
|
2
2
|
|
|
3
3
|
import type { ParametricGeometry } from './ParametricGeometry.d.cts'
|
|
4
4
|
|
|
5
|
-
export namespace ParametricGeometries {
|
|
5
|
+
export type namespace ParametricGeometries {
|
|
6
6
|
function klein(v: number, u: number, target: Vector3): Vector3
|
|
7
7
|
function plane(width: number, height: number): (u: number, v: number, target: Vector3) => Vector3
|
|
8
8
|
function mobius(u: number, t: number, target: Vector3): Vector3
|
|
@@ -2,7 +2,7 @@ import type { Curve, Vector3 } from 'three'
|
|
|
2
2
|
|
|
3
3
|
import type { ParametricGeometry } from './ParametricGeometry.d.ts'
|
|
4
4
|
|
|
5
|
-
export namespace ParametricGeometries {
|
|
5
|
+
export type namespace ParametricGeometries {
|
|
6
6
|
function klein(v: number, u: number, target: Vector3): Vector3
|
|
7
7
|
function plane(width: number, height: number): (u: number, v: number, target: Vector3) => Vector3
|
|
8
8
|
function mobius(u: number, t: number, target: Vector3): Vector3
|
|
@@ -12,7 +12,7 @@ export type TextGeometryParameters = {
|
|
|
12
12
|
lineHeight?: number;
|
|
13
13
|
letterSpacing?: number;
|
|
14
14
|
};
|
|
15
|
-
export declare class TextGeometry extends ExtrudeGeometry {
|
|
15
|
+
export type declare class TextGeometry extends ExtrudeGeometry {
|
|
16
16
|
constructor(text: string, parameters?: TextGeometryParameters);
|
|
17
17
|
}
|
|
18
|
-
export {
|
|
18
|
+
export type { TextGeometry as TextBufferGeometry };
|
|
@@ -12,7 +12,7 @@ export type TextGeometryParameters = {
|
|
|
12
12
|
lineHeight?: number;
|
|
13
13
|
letterSpacing?: number;
|
|
14
14
|
};
|
|
15
|
-
export declare class TextGeometry extends ExtrudeGeometry {
|
|
15
|
+
export type declare class TextGeometry extends ExtrudeGeometry {
|
|
16
16
|
constructor(text: string, parameters?: TextGeometryParameters);
|
|
17
17
|
}
|
|
18
|
-
export {
|
|
18
|
+
export type { TextGeometry as TextBufferGeometry };
|