@types/three 0.132.2 → 0.135.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.
Files changed (58) hide show
  1. three/README.md +1 -1
  2. three/examples/jsm/controls/ArcballControls.d.ts +160 -0
  3. three/examples/jsm/controls/DragControls.d.ts +2 -1
  4. three/examples/jsm/csm/CSM.d.ts +47 -22
  5. three/examples/jsm/csm/CSMFrustum.d.ts +19 -0
  6. three/examples/jsm/csm/CSMHelper.d.ts +20 -7
  7. three/examples/jsm/csm/CSMShader.d.ts +4 -0
  8. three/examples/jsm/exporters/GLTFExporter.d.ts +1 -0
  9. three/examples/jsm/geometries/ParametricGeometries.d.ts +4 -2
  10. three/{src → examples/jsm}/geometries/ParametricGeometry.d.ts +2 -3
  11. three/{src → examples/jsm}/geometries/TextGeometry.d.ts +3 -2
  12. three/examples/jsm/lines/LineSegmentsGeometry.d.ts +2 -2
  13. three/{src → examples/jsm}/loaders/FontLoader.d.ts +14 -3
  14. three/examples/jsm/loaders/GLTFLoader.d.ts +25 -2
  15. three/examples/jsm/loaders/LogLuvLoader.d.ts +19 -0
  16. three/examples/jsm/misc/GPUComputationRenderer.d.ts +8 -6
  17. three/examples/jsm/modifiers/TessellateModifier.d.ts +1 -1
  18. three/examples/jsm/nodes/inputs/ColorNode.d.ts +1 -1
  19. three/examples/jsm/nodes/materials/StandardNodeMaterial.d.ts +1 -1
  20. three/examples/jsm/nodes/materials/nodes/StandardNode.d.ts +1 -1
  21. three/examples/jsm/objects/MarchingCubes.d.ts +11 -5
  22. three/examples/jsm/postprocessing/SSRPass.d.ts +0 -3
  23. three/examples/jsm/postprocessing/SSRrPass.d.ts +0 -17
  24. three/examples/jsm/renderers/CSS2DRenderer.d.ts +5 -1
  25. three/examples/jsm/renderers/CSS3DRenderer.d.ts +5 -1
  26. three/examples/jsm/webxr/OculusHandPointerModel.d.ts +3 -3
  27. three/index.d.ts +1 -1
  28. three/package.json +3 -3
  29. three/src/Three.d.ts +0 -3
  30. three/src/cameras/OrthographicCamera.d.ts +1 -1
  31. three/src/core/Layers.d.ts +1 -0
  32. three/src/core/Object3D.d.ts +40 -8
  33. three/src/core/Raycaster.d.ts +12 -4
  34. three/src/extras/core/CurvePath.d.ts +1 -1
  35. three/src/geometries/EdgesGeometry.d.ts +3 -2
  36. three/src/geometries/ExtrudeGeometry.d.ts +1 -1
  37. three/src/geometries/Geometries.d.ts +0 -2
  38. three/src/geometries/LatheGeometry.d.ts +1 -1
  39. three/src/geometries/PolyhedronGeometry.d.ts +1 -1
  40. three/src/geometries/ShapeGeometry.d.ts +1 -1
  41. three/src/geometries/TubeGeometry.d.ts +1 -1
  42. three/src/geometries/WireframeGeometry.d.ts +6 -2
  43. three/src/lights/DirectionalLight.d.ts +1 -1
  44. three/src/lights/LightShadow.d.ts +3 -3
  45. three/src/loaders/LoaderUtils.d.ts +1 -0
  46. three/src/materials/Material.d.ts +1 -1
  47. three/src/materials/MeshPhysicalMaterial.d.ts +29 -7
  48. three/src/math/Quaternion.d.ts +2 -0
  49. three/src/math/Triangle.d.ts +10 -1
  50. three/src/math/Vector3.d.ts +2 -0
  51. three/src/renderers/WebGLRenderer.d.ts +11 -7
  52. three/src/renderers/webgl/WebGLRenderLists.d.ts +0 -3
  53. three/src/textures/Texture.d.ts +6 -0
  54. three/examples/jsm/controls/DeviceOrientationControls.d.ts +0 -19
  55. three/examples/jsm/csm/Frustum.d.ts +0 -16
  56. three/examples/jsm/csm/Shader.d.ts +0 -6
  57. three/src/extras/core/Font.d.ts +0 -14
  58. three/src/extras/objects/ImmediateRenderObject.d.ts +0 -59
@@ -1,16 +0,0 @@
1
- export default class Frustum {
2
- constructor(data: any);
3
- vertices: {
4
- near: any[];
5
- far: any[];
6
- };
7
- setFromProjectionMatrix(
8
- projectionMatrix: any,
9
- maxFar: any,
10
- ): {
11
- near: any[];
12
- far: any[];
13
- };
14
- split(breaks: any, target: any): void;
15
- toSpace(cameraMatrix: any, target: any): void;
16
- }
@@ -1,6 +0,0 @@
1
- declare namespace _default {
2
- const lights_fragment_begin: string;
3
- const lights_pars_begin: string;
4
- }
5
-
6
- export default _default;
@@ -1,14 +0,0 @@
1
- import { Shape } from './Shape';
2
-
3
- export class Font {
4
- constructor(jsondata: any);
5
-
6
- /**
7
- * @default 'Font'
8
- */
9
- type: string;
10
-
11
- data: string;
12
-
13
- generateShapes(text: string, size: number): Shape[];
14
- }
@@ -1,59 +0,0 @@
1
- import { Object3D } from './../../core/Object3D';
2
- import { Material } from './../../materials/Material';
3
-
4
- // Extras / Objects /////////////////////////////////////////////////////////////////////
5
-
6
- export class ImmediateRenderObject extends Object3D {
7
- constructor(material: Material);
8
-
9
- readonly isImmediateRenderObject: true;
10
-
11
- material: Material;
12
-
13
- /**
14
- * @default false
15
- */
16
- hasPositions: boolean;
17
-
18
- /**
19
- * @default false
20
- */
21
- hasNormals: boolean;
22
-
23
- /**
24
- * @default false
25
- */
26
- hasColors: boolean;
27
-
28
- /**
29
- * @default false
30
- */
31
- hasUvs: boolean;
32
-
33
- /**
34
- * @default null
35
- */
36
- positionArray: null | Float32Array;
37
-
38
- /**
39
- * @default null
40
- */
41
- normalArray: null | Float32Array;
42
-
43
- /**
44
- * @default null
45
- */
46
- colorArray: null | Float32Array;
47
-
48
- /**
49
- * @default null
50
- */
51
- uvArray: null | Float32Array;
52
-
53
- /**
54
- * @default 0
55
- */
56
- count: number;
57
-
58
- render(renderCallback: () => void): void;
59
- }