@types/three 0.157.1 → 0.157.2

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.
Files changed (193) hide show
  1. three/README.md +1 -1
  2. three/examples/jsm/animation/CCDIKSolver.d.ts +30 -0
  3. three/examples/jsm/animation/MMDAnimationHelper.d.ts +105 -0
  4. three/examples/jsm/animation/MMDPhysics.d.ts +124 -0
  5. three/examples/jsm/cameras/CinematicCamera.d.ts +41 -0
  6. three/examples/jsm/capabilities/WebGL.d.ts +9 -0
  7. three/examples/jsm/controls/FirstPersonControls.d.ts +31 -0
  8. three/examples/jsm/controls/OrbitControls.d.ts +286 -0
  9. three/examples/jsm/controls/TrackballControls.d.ts +58 -0
  10. three/examples/jsm/effects/OutlineEffect.d.ts +36 -0
  11. three/examples/jsm/environments/RoomEnvironment.d.ts +6 -0
  12. three/examples/jsm/exporters/PLYExporter.d.ts +30 -0
  13. three/examples/jsm/exporters/STLExporter.d.ts +21 -0
  14. three/examples/jsm/geometries/TextGeometry.d.ts +115 -0
  15. three/examples/jsm/helpers/RectAreaLightHelper.d.ts +10 -0
  16. three/examples/jsm/helpers/ViewHelper.d.ts +15 -0
  17. three/examples/jsm/libs/fflate.module.d.ts +1 -0
  18. three/examples/jsm/libs/lil-gui.module.min.d.ts +609 -0
  19. three/examples/jsm/libs/tween.module.d.ts +219 -0
  20. three/examples/jsm/lights/RectAreaLightUniformsLib.d.ts +3 -0
  21. three/examples/jsm/lines/Line2.d.ts +11 -0
  22. three/examples/jsm/lines/LineGeometry.d.ts +10 -0
  23. three/examples/jsm/lines/LineMaterial.d.ts +31 -0
  24. three/examples/jsm/lines/LineSegments2.d.ts +14 -0
  25. three/examples/jsm/lines/LineSegmentsGeometry.d.ts +23 -0
  26. three/examples/jsm/loaders/DDSLoader.d.ts +16 -0
  27. three/examples/jsm/loaders/DRACOLoader.d.ts +19 -0
  28. three/examples/jsm/loaders/FontLoader.d.ts +27 -0
  29. three/examples/jsm/loaders/GLTFLoader.d.ts +147 -0
  30. three/examples/jsm/loaders/HDRCubeTextureLoader.d.ts +18 -0
  31. three/examples/jsm/loaders/KTX2Loader.d.ts +16 -0
  32. three/examples/jsm/loaders/LDrawLoader.d.ts +19 -0
  33. three/examples/jsm/loaders/MMDLoader.d.ts +56 -0
  34. three/examples/jsm/loaders/MTLLoader.d.ts +104 -0
  35. three/examples/jsm/loaders/OBJLoader.d.ts +10 -0
  36. three/examples/jsm/loaders/PCDLoader.d.ts +8 -0
  37. three/examples/jsm/loaders/RGBELoader.d.ts +19 -0
  38. three/examples/jsm/loaders/RGBMLoader.d.ts +32 -0
  39. three/examples/jsm/loaders/SVGLoader.d.ts +68 -0
  40. three/examples/jsm/loaders/TGALoader.d.ts +7 -0
  41. three/examples/jsm/loaders/TTFLoader.d.ts +8 -0
  42. three/examples/jsm/loaders/USDZLoader.d.ts +11 -0
  43. three/examples/jsm/materials/MeshGouraudMaterial.d.ts +17 -0
  44. three/examples/jsm/modifiers/TessellateModifier.d.ts +9 -0
  45. three/examples/jsm/nodes/Nodes.d.ts +149 -0
  46. three/examples/jsm/nodes/accessors/BitangentNode.d.ts +18 -0
  47. three/examples/jsm/nodes/accessors/BufferNode.d.ts +11 -0
  48. three/examples/jsm/nodes/accessors/CameraNode.d.ts +12 -0
  49. three/examples/jsm/nodes/accessors/CubeTextureNode.d.ts +13 -0
  50. three/examples/jsm/nodes/accessors/InstanceNode.d.ts +9 -0
  51. three/examples/jsm/nodes/accessors/MaterialNode.d.ts +23 -0
  52. three/examples/jsm/nodes/accessors/MaterialReferenceNode.d.ts +6 -0
  53. three/examples/jsm/nodes/accessors/ModelNode.d.ts +9 -0
  54. three/examples/jsm/nodes/accessors/ModelViewProjectionNode.d.ts +6 -0
  55. three/examples/jsm/nodes/accessors/NormalNode.d.ts +12 -0
  56. three/examples/jsm/nodes/accessors/Object3DNode.d.ts +22 -0
  57. three/examples/jsm/nodes/accessors/PointUVNode.d.ts +7 -0
  58. three/examples/jsm/nodes/accessors/PositionNode.d.ts +21 -0
  59. three/examples/jsm/nodes/accessors/ReferenceNode.d.ts +13 -0
  60. three/examples/jsm/nodes/accessors/ReflectVectorNode.d.ts +8 -0
  61. three/examples/jsm/nodes/accessors/SkinningNode.d.ts +13 -0
  62. three/examples/jsm/nodes/accessors/StorageBufferNode.d.ts +6 -0
  63. three/examples/jsm/nodes/accessors/TangentNode.d.ts +18 -0
  64. three/examples/jsm/nodes/accessors/TextureNode.d.ts +14 -0
  65. three/examples/jsm/nodes/accessors/UVNode.d.ts +8 -0
  66. three/examples/jsm/nodes/accessors/UserDataNode.d.ts +7 -0
  67. three/examples/jsm/nodes/code/CodeNode.d.ts +15 -0
  68. three/examples/jsm/nodes/code/ExpressionNode.d.ts +7 -0
  69. three/examples/jsm/nodes/code/FunctionCallNode.d.ts +13 -0
  70. three/examples/jsm/nodes/code/FunctionNode.d.ts +17 -0
  71. three/examples/jsm/nodes/core/ArrayUniformNode.d.ts +8 -0
  72. three/examples/jsm/nodes/core/AttributeNode.d.ts +9 -0
  73. three/examples/jsm/nodes/core/BypassNode.d.ts +9 -0
  74. three/examples/jsm/nodes/core/CacheNode.d.ts +10 -0
  75. three/examples/jsm/nodes/core/ConstNode.d.ts +10 -0
  76. three/examples/jsm/nodes/core/ContextNode.d.ts +10 -0
  77. three/examples/jsm/nodes/core/InputNode.d.ts +16 -0
  78. three/examples/jsm/nodes/core/Node.d.ts +31 -0
  79. three/examples/jsm/nodes/core/NodeAttribute.d.ts +6 -0
  80. three/examples/jsm/nodes/core/NodeBuilder.d.ts +138 -0
  81. three/examples/jsm/nodes/core/NodeCache.d.ts +9 -0
  82. three/examples/jsm/nodes/core/NodeCode.d.ts +4 -0
  83. three/examples/jsm/nodes/core/NodeFrame.d.ts +19 -0
  84. three/examples/jsm/nodes/core/NodeFunction.d.ts +13 -0
  85. three/examples/jsm/nodes/core/NodeFunctionInput.d.ts +7 -0
  86. three/examples/jsm/nodes/core/NodeKeywords.d.ts +14 -0
  87. three/examples/jsm/nodes/core/NodeParser.d.ts +5 -0
  88. three/examples/jsm/nodes/core/NodeUniform.d.ts +13 -0
  89. three/examples/jsm/nodes/core/NodeUtils.d.ts +13 -0
  90. three/examples/jsm/nodes/core/NodeVar.d.ts +6 -0
  91. three/examples/jsm/nodes/core/NodeVarying.d.ts +8 -0
  92. three/examples/jsm/nodes/core/PropertyNode.d.ts +6 -0
  93. three/examples/jsm/nodes/core/StackNode.d.ts +11 -0
  94. three/examples/jsm/nodes/core/TempNode.d.ts +11 -0
  95. three/examples/jsm/nodes/core/UniformNode.d.ts +10 -0
  96. three/examples/jsm/nodes/core/VarNode.d.ts +16 -0
  97. three/examples/jsm/nodes/core/VaryingNode.d.ts +8 -0
  98. three/examples/jsm/nodes/core/constants.d.ts +78 -0
  99. three/examples/jsm/nodes/display/BlendModeNode.d.ts +32 -0
  100. three/examples/jsm/nodes/display/ColorAdjustmentNode.d.ts +20 -0
  101. three/examples/jsm/nodes/display/ColorSpaceNode.d.ts +18 -0
  102. three/examples/jsm/nodes/display/FrontFacingNode.d.ts +6 -0
  103. three/examples/jsm/nodes/display/NormalMapNode.d.ts +12 -0
  104. three/examples/jsm/nodes/display/PosterizeNode.d.ts +8 -0
  105. three/examples/jsm/nodes/display/ToneMappingNode.d.ts +14 -0
  106. three/examples/jsm/nodes/display/ViewportNode.d.ts +23 -0
  107. three/examples/jsm/nodes/fog/FogExp2Node.d.ts +9 -0
  108. three/examples/jsm/nodes/fog/FogNode.d.ts +10 -0
  109. three/examples/jsm/nodes/fog/FogRangeNode.d.ts +10 -0
  110. three/examples/jsm/nodes/functions/BSDF/BRDF_GGX.d.ts +6 -0
  111. three/examples/jsm/nodes/functions/BSDF/BRDF_Lambert.d.ts +6 -0
  112. three/examples/jsm/nodes/functions/BSDF/DFGApprox.d.ts +10 -0
  113. three/examples/jsm/nodes/functions/BSDF/D_GGX.d.ts +9 -0
  114. three/examples/jsm/nodes/functions/BSDF/F_Schlick.d.ts +6 -0
  115. three/examples/jsm/nodes/functions/BSDF/V_GGX_SmithCorrelated.d.ts +6 -0
  116. three/examples/jsm/nodes/functions/PhysicalLightingModel.d.ts +11 -0
  117. three/examples/jsm/nodes/functions/material/getGeometryRoughness.d.ts +5 -0
  118. three/examples/jsm/nodes/functions/material/getRoughness.d.ts +6 -0
  119. three/examples/jsm/nodes/geometry/RangeNode.d.ts +13 -0
  120. three/examples/jsm/nodes/gpgpu/ComputeNode.d.ts +11 -0
  121. three/examples/jsm/nodes/lighting/AONode.d.ts +8 -0
  122. three/examples/jsm/nodes/lighting/AnalyticLightNode.d.ts +10 -0
  123. three/examples/jsm/nodes/lighting/EnvironmentNode.d.ts +8 -0
  124. three/examples/jsm/nodes/lighting/HemisphereLightNode.d.ts +13 -0
  125. three/examples/jsm/nodes/lighting/LightUtils.d.ts +4 -0
  126. three/examples/jsm/nodes/lighting/LightingContextNode.d.ts +15 -0
  127. three/examples/jsm/nodes/lighting/LightingNode.d.ts +5 -0
  128. three/examples/jsm/nodes/lighting/LightsNode.d.ts +19 -0
  129. three/examples/jsm/nodes/lighting/PointLightNode.d.ts +10 -0
  130. three/examples/jsm/nodes/lighting/SpotLightNode.d.ts +15 -0
  131. three/examples/jsm/nodes/loaders/NodeLoader.d.ts +14 -0
  132. three/examples/jsm/nodes/loaders/NodeMaterialLoader.d.ts +8 -0
  133. three/examples/jsm/nodes/loaders/NodeObjectLoader.d.ts +9 -0
  134. three/examples/jsm/nodes/materials/LineBasicNodeMaterial.d.ts +9 -0
  135. three/examples/jsm/nodes/materials/Materials.d.ts +17 -0
  136. three/examples/jsm/nodes/materials/MeshBasicNodeMaterial.d.ts +10 -0
  137. three/examples/jsm/nodes/materials/MeshPhysicalNodeMaterial.d.ts +22 -0
  138. three/examples/jsm/nodes/materials/MeshStandardNodeMaterial.d.ts +18 -0
  139. three/examples/jsm/nodes/materials/NodeMaterial.d.ts +38 -0
  140. three/examples/jsm/nodes/materials/PointsNodeMaterial.d.ts +15 -0
  141. three/examples/jsm/nodes/materials/SpriteNodeMaterial.d.ts +23 -0
  142. three/examples/jsm/nodes/materialx/MaterialXNodes.d.ts +94 -0
  143. three/examples/jsm/nodes/materialx/lib/mx_hsv.d.ts +4 -0
  144. three/examples/jsm/nodes/materialx/lib/mx_noise.d.ts +6 -0
  145. three/examples/jsm/nodes/math/CondNode.d.ts +9 -0
  146. three/examples/jsm/nodes/math/MathNode.d.ts +115 -0
  147. three/examples/jsm/nodes/math/OperatorNode.d.ts +31 -0
  148. three/examples/jsm/nodes/procedural/CheckerNode.d.ts +6 -0
  149. three/examples/jsm/nodes/shadernode/ShaderNode.d.ts +156 -0
  150. three/examples/jsm/nodes/shadernode/ShaderNodeBaseElements.d.ts +310 -0
  151. three/examples/jsm/nodes/shadernode/ShaderNodeElements.d.ts +166 -0
  152. three/examples/jsm/nodes/utils/ArrayElementNode.d.ts +9 -0
  153. three/examples/jsm/nodes/utils/ConvertNode.d.ts +8 -0
  154. three/examples/jsm/nodes/utils/EquirectUVNode.d.ts +6 -0
  155. three/examples/jsm/nodes/utils/JoinNode.d.ts +10 -0
  156. three/examples/jsm/nodes/utils/MatcapUVNode.d.ts +5 -0
  157. three/examples/jsm/nodes/utils/MaxMipLevelNode.d.ts +11 -0
  158. three/examples/jsm/nodes/utils/OscNode.d.ts +19 -0
  159. three/examples/jsm/nodes/utils/RemapNode.d.ts +13 -0
  160. three/examples/jsm/nodes/utils/RotateUVNode.d.ts +10 -0
  161. three/examples/jsm/nodes/utils/SpecularMIPLevelNode.d.ts +8 -0
  162. three/examples/jsm/nodes/utils/SplitNode.d.ts +16 -0
  163. three/examples/jsm/nodes/utils/SpriteSheetUVNode.d.ts +9 -0
  164. three/examples/jsm/nodes/utils/TimerNode.d.ts +19 -0
  165. three/examples/jsm/nodes/utils/TriplanarTexturesNode.d.ts +22 -0
  166. three/examples/jsm/objects/GroundProjectedSkybox.d.ts +13 -0
  167. three/examples/jsm/objects/MarchingCubes.d.ts +76 -0
  168. three/examples/jsm/objects/Reflector.d.ts +29 -0
  169. three/examples/jsm/postprocessing/EffectComposer.d.ts +31 -0
  170. three/examples/jsm/postprocessing/Pass.d.ts +31 -0
  171. three/examples/jsm/postprocessing/SavePass.d.ts +12 -0
  172. three/examples/jsm/postprocessing/ShaderPass.d.ts +11 -0
  173. three/examples/jsm/renderers/CSS3DRenderer.d.ts +26 -0
  174. three/examples/jsm/renderers/webgl/nodes/SlotNode.d.ts +17 -0
  175. three/examples/jsm/renderers/webgl/nodes/WebGLNodeBuilder.d.ts +37 -0
  176. three/examples/jsm/renderers/webgl/nodes/WebGLNodes.d.ts +3 -0
  177. three/examples/jsm/shaders/ACESFilmicToneMappingShader.d.ts +10 -0
  178. three/examples/jsm/shaders/BokehShader2.d.ts +42 -0
  179. three/examples/jsm/shaders/ToonShader.d.ts +54 -0
  180. three/examples/jsm/shaders/VelocityShader.d.ts +13 -0
  181. three/examples/jsm/textures/FlakesTexture.d.ts +3 -0
  182. three/examples/jsm/utils/CameraUtils.d.ts +9 -0
  183. three/examples/jsm/utils/GeometryUtils.d.ts +25 -0
  184. three/examples/jsm/utils/LDrawUtils.d.ts +5 -0
  185. three/examples/jsm/utils/ShadowMapViewer.d.ts +24 -0
  186. three/examples/jsm/webxr/VRButton.d.ts +5 -0
  187. three/examples/jsm/webxr/XRButton.d.ts +6 -0
  188. three/examples/jsm/webxr/XRControllerModelFactory.d.ts +21 -0
  189. three/examples/jsm/webxr/XRHandMeshModel.d.ts +11 -0
  190. three/examples/jsm/webxr/XRHandModelFactory.d.ts +25 -0
  191. three/examples/jsm/webxr/XRHandPrimitiveModel.d.ts +24 -0
  192. three/package.json +2 -2
  193. three/src/extras/Earcut.d.ts +15 -0
@@ -0,0 +1,36 @@
1
+ import {
2
+ Camera,
3
+ Scene,
4
+ Vector2,
5
+ Vector4,
6
+ WebGLRenderer,
7
+ WebGLRenderTarget,
8
+ WebGLShadowMap,
9
+ } from '../../../src/Three.js';
10
+
11
+ export interface OutlineEffectParameters {
12
+ defaultThickness?: number | undefined;
13
+ defaultColor?: number[] | undefined;
14
+ defaultAlpha?: number | undefined;
15
+ defaultKeepAlive?: boolean | undefined;
16
+ }
17
+
18
+ export class OutlineEffect {
19
+ constructor(renderer: WebGLRenderer, parameters?: OutlineEffectParameters);
20
+ enabled: boolean;
21
+ autoClear: boolean;
22
+ domElement: HTMLElement;
23
+ shadowMap: WebGLShadowMap;
24
+
25
+ clear(color?: boolean, depth?: boolean, stencil?: boolean): void;
26
+ getPixelRatio(): number;
27
+ getSize(target: Vector2): Vector2;
28
+ render(scene: Scene, camera: Camera): void;
29
+ renderOutline(scene: Scene, camera: Camera): void;
30
+ setRenderTarget(renderTarget: WebGLRenderTarget | null): void;
31
+ setPixelRatio(value: number): void;
32
+ setScissor(x: Vector4 | number, y?: number, width?: number, height?: number): void;
33
+ setScissorTest(enable: boolean): void;
34
+ setSize(width: number, height: number, updateStyle?: boolean): void;
35
+ setViewport(x: Vector4 | number, y?: number, width?: number, height?: number): void;
36
+ }
@@ -0,0 +1,6 @@
1
+ import { Scene, WebGLRenderer } from '../../../src/Three.js';
2
+
3
+ export class RoomEnvironment extends Scene {
4
+ constructor(renderer?: WebGLRenderer);
5
+ dispose(): void;
6
+ }
@@ -0,0 +1,30 @@
1
+ import { Object3D } from '../../../src/Three.js';
2
+
3
+ export interface PLYExporterOptionsBase {
4
+ excludeAttributes?: string[];
5
+ littleEndian?: boolean;
6
+ }
7
+
8
+ export interface PLYExporterOptionsBinary extends PLYExporterOptionsBase {
9
+ binary: true;
10
+ }
11
+
12
+ export interface PLYExporterOptionsString extends PLYExporterOptionsBase {
13
+ binary?: false;
14
+ }
15
+
16
+ export interface PLYExporterOptions extends PLYExporterOptionsBase {
17
+ binary?: boolean;
18
+ }
19
+
20
+ export class PLYExporter {
21
+ constructor();
22
+
23
+ parse(object: Object3D, onDone: (res: ArrayBuffer) => void, options: PLYExporterOptionsBinary): ArrayBuffer | null;
24
+ parse(object: Object3D, onDone: (res: string) => void, options?: PLYExporterOptionsString): string | null;
25
+ parse(
26
+ object: Object3D,
27
+ onDone: (res: string | ArrayBuffer) => void,
28
+ options?: PLYExporterOptions,
29
+ ): string | ArrayBuffer | null;
30
+ }
@@ -0,0 +1,21 @@
1
+ import { Object3D } from '../../../src/Three.js';
2
+
3
+ export interface STLExporterOptionsBinary {
4
+ binary: true;
5
+ }
6
+
7
+ export interface STLExporterOptionsString {
8
+ binary?: false;
9
+ }
10
+
11
+ export interface STLExporterOptions {
12
+ binary?: boolean;
13
+ }
14
+
15
+ export class STLExporter {
16
+ constructor();
17
+
18
+ parse(scene: Object3D, options: STLExporterOptionsBinary): DataView;
19
+ parse(scene: Object3D, options?: STLExporterOptionsString): string;
20
+ parse(scene: Object3D, options?: STLExporterOptions): string | DataView;
21
+ }
@@ -0,0 +1,115 @@
1
+ import { ExtrudeGeometry, ExtrudeGeometryOptions, Shape } from '../../../src/Three.js';
2
+
3
+ import { Font } from '../loaders/FontLoader.js';
4
+
5
+ export interface TextGeometryParameters extends ExtrudeGeometryOptions {
6
+ font: Font;
7
+
8
+ /**
9
+ * Size of the text
10
+ * Expects a `Float`.
11
+ * @defaultValue `100`
12
+ */
13
+ size?: number | undefined;
14
+
15
+ /**
16
+ * Thickness to extrude text.
17
+ * Expects a `Float`.
18
+ * @defaultValue `50`
19
+ */
20
+ height?: number | undefined;
21
+
22
+ /**
23
+ * @override
24
+ * @defaultValue `12`
25
+ */
26
+ curveSegments?: number | undefined;
27
+
28
+ /**
29
+ * @defaultValue `false`
30
+ */
31
+ bevelEnabled?: boolean | undefined;
32
+
33
+ /**
34
+ * How deep into text bevel goes.
35
+ * Expects a `Float`.
36
+ * @override
37
+ * @defaultValue `10`
38
+ */
39
+ bevelThickness?: number | undefined;
40
+
41
+ /**
42
+ * How far from text outline is bevel.
43
+ * Expects a `Float`.
44
+ * @override
45
+ * @defaultValue `8`
46
+ */
47
+ bevelSize?: number | undefined;
48
+
49
+ /**
50
+ * How far from text outline bevel starts.
51
+ * Expects a `Float`.
52
+ * @override
53
+ * @defaultValue `0`
54
+ */
55
+ bevelOffset?: number | undefined;
56
+
57
+ /**
58
+ * @override
59
+ * @defaultValue `3`
60
+ */
61
+ bevelSegments?: number | undefined;
62
+ }
63
+
64
+ /**
65
+ * A class for generating text as a single geometry
66
+ * @remarks
67
+ * It is constructed by providing a string of text, and a set of parameters consisting of a loaded font and settings for the geometry's parent {@link THREE.ExtrudeGeometry | ExtrudeGeometry}
68
+ * See the {@link THREE.FontLoader | FontLoader} page for additional details.
69
+ * @example
70
+ * ```typescript
71
+ * const loader = new FontLoader();
72
+ * loader.load('fonts/helvetiker_regular.typeface.json', function (font) {
73
+ * const geometry = new TextGeometry('Hello three.js!', {
74
+ * font: font,
75
+ * size: 80,
76
+ * height: 5,
77
+ * curveSegments: 12,
78
+ * bevelEnabled: true,
79
+ * bevelThickness: 10,
80
+ * bevelSize: 8,
81
+ * bevelOffset: 0,
82
+ * bevelSegments: 5
83
+ * });
84
+ * });
85
+ * ```
86
+ * @see Example: {@link https://threejs.org/examples/#webgl_geometry_text | geometry / text }
87
+ * @see {@link https://threejs.org/docs/index.html#api/en/C:/rafaelsc/Source/threejs/three.js/docs/examples/en/geometries/TextGeometry | Official Documentation}
88
+ * @see {@link https://github.com/mrdoob/three.js/blob/master/examples/jsm/geometries/TextGeometry.js | Source}
89
+ */
90
+ export class TextGeometry extends ExtrudeGeometry {
91
+ /**
92
+ * Create a new instance of {@link TextGeometry}
93
+ * @param text The text that needs to be shown.
94
+ * @param parameters Object that can contain the following parameters. @see {@link TextGeometryParameters} for defaults.
95
+ */
96
+ constructor(text: string, parameters?: TextGeometryParameters);
97
+
98
+ /**
99
+ * A Read-only _string_ to check if `this` object type.
100
+ * @remarks Sub-classes will update this value.
101
+ * @defaultValue `TextGeometry`
102
+ */
103
+ override readonly type: string | 'TextGeometry';
104
+
105
+ /**
106
+ * An object with a property for each of the constructor parameters.
107
+ * @remarks Any modification after instantiation does not change the geometry.
108
+ */
109
+ readonly parameters: {
110
+ readonly shapes: Shape | Shape[];
111
+ readonly options: TextGeometryParameters;
112
+ };
113
+ }
114
+
115
+ export { TextGeometry as TextBufferGeometry };
@@ -0,0 +1,10 @@
1
+ import { Line, RectAreaLight, ColorRepresentation } from '../../../src/Three.js';
2
+
3
+ export class RectAreaLightHelper extends Line {
4
+ constructor(light: RectAreaLight, color?: ColorRepresentation);
5
+
6
+ light: RectAreaLight;
7
+ color: ColorRepresentation | undefined;
8
+
9
+ dispose(): void;
10
+ }
@@ -0,0 +1,15 @@
1
+ import { Camera, Object3D, Vector3, WebGLRenderer } from '../../../src/Three.js';
2
+
3
+ export class ViewHelper extends Object3D {
4
+ animating: boolean;
5
+ center: Vector3;
6
+
7
+ readonly isViewHelper: true;
8
+
9
+ constructor(camera: Camera, domElement: HTMLElement);
10
+
11
+ render(renderer: WebGLRenderer): void;
12
+ handleClick(event: MouseEvent): boolean;
13
+ update(delta: number): void;
14
+ dispose(): void;
15
+ }
@@ -0,0 +1 @@
1
+ export * from 'fflate';