@types/three 0.137.0 → 0.138.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 (114) hide show
  1. three/README.md +1 -1
  2. three/examples/jsm/{WebGL.d.ts → capabilities/WebGL.d.ts} +3 -1
  3. three/examples/jsm/controls/OrbitControls.d.ts +0 -1
  4. three/examples/jsm/curves/CurveExtras.d.ts +52 -54
  5. three/examples/jsm/exporters/EXRExporter.d.ts +20 -0
  6. three/examples/jsm/helpers/OctreeHelper.d.ts +14 -0
  7. three/examples/jsm/interactive/HTMLMesh.d.ts +1 -0
  8. three/examples/jsm/loaders/GLTFLoader.d.ts +2 -9
  9. three/examples/jsm/loaders/LUT3dlLoader.d.ts +2 -2
  10. three/examples/jsm/loaders/LUTCubeLoader.d.ts +2 -2
  11. three/examples/jsm/loaders/VOXLoader.d.ts +2 -2
  12. three/examples/jsm/objects/Reflector.d.ts +1 -0
  13. three/examples/jsm/objects/Refractor.d.ts +1 -0
  14. three/examples/jsm/postprocessing/LUTPass.d.ts +3 -3
  15. three/index.d.ts +1 -1
  16. three/package.json +3 -3
  17. three/src/Three.d.ts +5 -0
  18. three/src/constants.d.ts +0 -2
  19. three/src/core/Raycaster.d.ts +2 -2
  20. three/src/math/Euler.d.ts +0 -1
  21. three/src/math/Vector3.d.ts +5 -0
  22. three/src/renderers/WebGL3DRenderTarget.d.ts +28 -0
  23. three/src/renderers/WebGLArrayRenderTarget.d.ts +28 -0
  24. three/src/renderers/WebGLMultipleRenderTargets.d.ts +9 -1
  25. three/src/renderers/WebGLMultisampleRenderTarget.d.ts +5 -12
  26. three/src/renderers/WebGLRenderTarget.d.ts +7 -1
  27. three/src/renderers/WebGLRenderer.d.ts +3 -4
  28. three/src/textures/CompressedTexture.d.ts +2 -1
  29. three/src/textures/Data3DTexture.d.ts +33 -0
  30. three/src/textures/DataArrayTexture.d.ts +33 -0
  31. three/src/textures/DataTexture.d.ts +2 -1
  32. three/src/textures/DataTexture2DArray.d.ts +5 -32
  33. three/src/textures/DataTexture3D.d.ts +5 -32
  34. three/src/textures/DepthTexture.d.ts +2 -1
  35. three/src/textures/Source.d.ts +39 -0
  36. three/src/textures/Texture.d.ts +30 -3
  37. three/examples/jsm/loaders/VRMLoader.d.ts +0 -19
  38. three/examples/jsm/nodes/Nodes.d.ts +0 -106
  39. three/examples/jsm/nodes/accessors/CameraNode.d.ts +0 -29
  40. three/examples/jsm/nodes/accessors/ColorsNode.d.ts +0 -10
  41. three/examples/jsm/nodes/accessors/LightNode.d.ts +0 -12
  42. three/examples/jsm/nodes/accessors/NormalNode.d.ts +0 -13
  43. three/examples/jsm/nodes/accessors/PositionNode.d.ts +0 -15
  44. three/examples/jsm/nodes/accessors/ReflectNode.d.ts +0 -12
  45. three/examples/jsm/nodes/accessors/ResolutionNode.d.ts +0 -14
  46. three/examples/jsm/nodes/accessors/ScreenUVNode.d.ts +0 -11
  47. three/examples/jsm/nodes/accessors/UVNode.d.ts +0 -10
  48. three/examples/jsm/nodes/core/AttributeNode.d.ts +0 -13
  49. three/examples/jsm/nodes/core/ConstNode.d.ts +0 -22
  50. three/examples/jsm/nodes/core/ExpressionNode.d.ts +0 -5
  51. three/examples/jsm/nodes/core/FunctionCallNode.d.ts +0 -17
  52. three/examples/jsm/nodes/core/FunctionNode.d.ts +0 -28
  53. three/examples/jsm/nodes/core/InputNode.d.ts +0 -12
  54. three/examples/jsm/nodes/core/Node.d.ts +0 -34
  55. three/examples/jsm/nodes/core/NodeBuilder.d.ts +0 -149
  56. three/examples/jsm/nodes/core/NodeFrame.d.ts +0 -17
  57. three/examples/jsm/nodes/core/NodeLib.d.ts +0 -22
  58. three/examples/jsm/nodes/core/NodeUniform.d.ts +0 -17
  59. three/examples/jsm/nodes/core/NodeUtils.d.ts +0 -7
  60. three/examples/jsm/nodes/core/StructNode.d.ts +0 -19
  61. three/examples/jsm/nodes/core/TempNode.d.ts +0 -23
  62. three/examples/jsm/nodes/core/VarNode.d.ts +0 -12
  63. three/examples/jsm/nodes/effects/BlurNode.d.ts +0 -31
  64. three/examples/jsm/nodes/effects/ColorAdjustmentNode.d.ts +0 -27
  65. three/examples/jsm/nodes/effects/LuminanceNode.d.ts +0 -18
  66. three/examples/jsm/nodes/inputs/BoolNode.d.ts +0 -19
  67. three/examples/jsm/nodes/inputs/ColorNode.d.ts +0 -21
  68. three/examples/jsm/nodes/inputs/CubeTextureNode.d.ts +0 -17
  69. three/examples/jsm/nodes/inputs/FloatNode.d.ts +0 -19
  70. three/examples/jsm/nodes/inputs/IntNode.d.ts +0 -19
  71. three/examples/jsm/nodes/inputs/Matrix3Node.d.ts +0 -22
  72. three/examples/jsm/nodes/inputs/Matrix4Node.d.ts +0 -22
  73. three/examples/jsm/nodes/inputs/PropertyNode.d.ts +0 -10
  74. three/examples/jsm/nodes/inputs/RTTNode.d.ts +0 -27
  75. three/examples/jsm/nodes/inputs/ReflectorNode.d.ts +0 -21
  76. three/examples/jsm/nodes/inputs/ScreenNode.d.ts +0 -11
  77. three/examples/jsm/nodes/inputs/TextureNode.d.ts +0 -20
  78. three/examples/jsm/nodes/inputs/Vector2Node.d.ts +0 -21
  79. three/examples/jsm/nodes/inputs/Vector3Node.d.ts +0 -21
  80. three/examples/jsm/nodes/inputs/Vector4Node.d.ts +0 -21
  81. three/examples/jsm/nodes/materials/BasicNodeMaterial.d.ts +0 -11
  82. three/examples/jsm/nodes/materials/MeshStandardNodeMaterial.d.ts +0 -21
  83. three/examples/jsm/nodes/materials/NodeMaterial.d.ts +0 -28
  84. three/examples/jsm/nodes/materials/PhongNodeMaterial.d.ts +0 -21
  85. three/examples/jsm/nodes/materials/SpriteNodeMaterial.d.ts +0 -12
  86. three/examples/jsm/nodes/materials/StandardNodeMaterial.d.ts +0 -25
  87. three/examples/jsm/nodes/materials/nodes/BasicNode.d.ts +0 -15
  88. three/examples/jsm/nodes/materials/nodes/MeshStandardNode.d.ts +0 -25
  89. three/examples/jsm/nodes/materials/nodes/PhongNode.d.ts +0 -14
  90. three/examples/jsm/nodes/materials/nodes/RawNode.d.ts +0 -10
  91. three/examples/jsm/nodes/materials/nodes/SpriteNode.d.ts +0 -13
  92. three/examples/jsm/nodes/materials/nodes/StandardNode.d.ts +0 -15
  93. three/examples/jsm/nodes/math/CondNode.d.ts +0 -26
  94. three/examples/jsm/nodes/math/MathNode.d.ts +0 -57
  95. three/examples/jsm/nodes/math/OperatorNode.d.ts +0 -17
  96. three/examples/jsm/nodes/misc/BumpMapNode.d.ts +0 -21
  97. three/examples/jsm/nodes/misc/NormalMapNode.d.ts +0 -19
  98. three/examples/jsm/nodes/misc/TextureCubeNode.d.ts +0 -21
  99. three/examples/jsm/nodes/misc/TextureCubeUVNode.d.ts +0 -18
  100. three/examples/jsm/nodes/postprocessing/NodePass.d.ts +0 -15
  101. three/examples/jsm/nodes/postprocessing/NodePostProcessing.d.ts +0 -26
  102. three/examples/jsm/nodes/procedural/CheckerNode.d.ts +0 -17
  103. three/examples/jsm/nodes/procedural/NoiseNode.d.ts +0 -17
  104. three/examples/jsm/nodes/utils/BypassNode.d.ts +0 -11
  105. three/examples/jsm/nodes/utils/ColorSpaceNode.d.ts +0 -55
  106. three/examples/jsm/nodes/utils/JoinNode.d.ts +0 -15
  107. three/examples/jsm/nodes/utils/MaxMIPLevelNode.d.ts +0 -11
  108. three/examples/jsm/nodes/utils/SpecularMIPLevelNode.d.ts +0 -17
  109. three/examples/jsm/nodes/utils/SubSlot.d.ts +0 -9
  110. three/examples/jsm/nodes/utils/SwitchNode.d.ts +0 -11
  111. three/examples/jsm/nodes/utils/TimerNode.d.ts +0 -19
  112. three/examples/jsm/nodes/utils/UVTransformNode.d.ts +0 -15
  113. three/examples/jsm/nodes/utils/VelocityNode.d.ts +0 -28
  114. three/examples/jsm/objects/ReflectorRTT.d.ts +0 -6
@@ -1,28 +0,0 @@
1
- import { Object3D, Vector3 } from '../../../../src/Three';
2
-
3
- import { NodeFrame } from '../core/NodeFrame';
4
- import { Vector3Node } from '../inputs/Vector3Node';
5
-
6
- export interface VelocityNodeParams {
7
- damping: number;
8
- spring: number;
9
- type: string;
10
- }
11
-
12
- export class VelocityNode extends Vector3Node {
13
- constructor(target: Object3D, params?: VelocityNodeParams);
14
-
15
- velocity: Vector3;
16
- moment: Vector3 | undefined;
17
- speed: Vector3 | undefined;
18
- springVelocity: Vector3 | undefined;
19
- lastVelocity: Vector3 | undefined;
20
-
21
- nodeType: string;
22
-
23
- setParams(params: VelocityNodeParams): void;
24
- setTarget(target: Object3D): void;
25
- updateFrameVelocity(frame: NodeFrame): void;
26
- updateFrame(frame: NodeFrame): void;
27
- copy(source: VelocityNode): this;
28
- }
@@ -1,6 +0,0 @@
1
- import { BufferGeometry } from '../../../src/Three';
2
- import { Reflector, ReflectorOptions } from './Reflector';
3
-
4
- export class ReflectorRTT extends Reflector {
5
- constructor(geometry?: BufferGeometry, options?: ReflectorOptions);
6
- }