@types/three 0.156.0 → 0.157.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.
Files changed (637) hide show
  1. three/LICENSE +0 -0
  2. three/README.md +2 -3
  3. three/build/three.d.cts +0 -0
  4. three/build/three.d.ts +0 -0
  5. three/build/three.min.d.ts +0 -0
  6. three/build/three.module.d.ts +0 -0
  7. three/build/three.module.min.d.ts +0 -0
  8. three/examples/jsm/animation/AnimationClipCreator.d.ts +0 -0
  9. three/examples/jsm/controls/ArcballControls.d.ts +0 -0
  10. three/examples/jsm/controls/DragControls.d.ts +1 -0
  11. three/examples/jsm/controls/FlyControls.d.ts +0 -0
  12. three/examples/jsm/controls/MapControls.d.ts +0 -0
  13. three/examples/jsm/controls/PointerLockControls.d.ts +0 -0
  14. three/examples/jsm/controls/TransformControls.d.ts +5 -1
  15. three/examples/jsm/csm/CSM.d.ts +0 -0
  16. three/examples/jsm/csm/CSMFrustum.d.ts +0 -0
  17. three/examples/jsm/csm/CSMHelper.d.ts +0 -0
  18. three/examples/jsm/csm/CSMShader.d.ts +0 -0
  19. three/examples/jsm/curves/CurveExtras.d.ts +0 -0
  20. three/examples/jsm/curves/NURBSCurve.d.ts +0 -0
  21. three/examples/jsm/curves/NURBSSurface.d.ts +0 -0
  22. three/examples/jsm/curves/NURBSUtils.d.ts +0 -0
  23. three/examples/jsm/deprecated/Geometry.d.ts +0 -0
  24. three/examples/jsm/effects/AnaglyphEffect.d.ts +0 -0
  25. three/examples/jsm/effects/AsciiEffect.d.ts +0 -0
  26. three/examples/jsm/effects/ParallaxBarrierEffect.d.ts +0 -0
  27. three/examples/jsm/effects/PeppersGhostEffect.d.ts +0 -0
  28. three/examples/jsm/effects/StereoEffect.d.ts +0 -0
  29. three/examples/jsm/environments/DebugEnvironment.d.ts +0 -0
  30. three/examples/jsm/exporters/DRACOExporter.d.ts +0 -0
  31. three/examples/jsm/exporters/EXRExporter.d.ts +2 -1
  32. three/examples/jsm/exporters/GLTFExporter.d.ts +0 -0
  33. three/examples/jsm/exporters/KTX2Exporter.d.ts +0 -0
  34. three/examples/jsm/exporters/MMDExporter.d.ts +0 -0
  35. three/examples/jsm/exporters/OBJExporter.d.ts +0 -0
  36. three/examples/jsm/exporters/USDZExporter.d.ts +0 -0
  37. three/examples/jsm/geometries/BoxLineGeometry.d.ts +0 -0
  38. three/examples/jsm/geometries/ConvexGeometry.d.ts +0 -0
  39. three/examples/jsm/geometries/DecalGeometry.d.ts +0 -0
  40. three/examples/jsm/geometries/ParametricGeometries.d.ts +0 -0
  41. three/examples/jsm/geometries/ParametricGeometry.d.ts +0 -0
  42. three/examples/jsm/geometries/RoundedBoxGeometry.d.ts +0 -0
  43. three/examples/jsm/geometries/TeapotGeometry.d.ts +0 -0
  44. three/examples/jsm/helpers/LightProbeHelper.d.ts +0 -0
  45. three/examples/jsm/helpers/OctreeHelper.d.ts +0 -0
  46. three/examples/jsm/helpers/PositionalAudioHelper.d.ts +0 -0
  47. three/examples/jsm/helpers/VertexNormalsHelper.d.ts +0 -0
  48. three/examples/jsm/helpers/VertexTangentsHelper.d.ts +0 -0
  49. three/examples/jsm/interactive/HTMLMesh.d.ts +0 -0
  50. three/examples/jsm/interactive/InteractiveGroup.d.ts +0 -0
  51. three/examples/jsm/interactive/SelectionBox.d.ts +0 -0
  52. three/examples/jsm/interactive/SelectionHelper.d.ts +0 -0
  53. three/examples/jsm/libs/meshopt_decoder.module.d.ts +0 -0
  54. three/examples/jsm/libs/stats.module.d.ts +0 -0
  55. three/examples/jsm/lights/LightProbeGenerator.d.ts +0 -0
  56. three/examples/jsm/lines/Wireframe.d.ts +0 -0
  57. three/examples/jsm/lines/WireframeGeometry2.d.ts +0 -0
  58. three/examples/jsm/loaders/3DMLoader.d.ts +0 -0
  59. three/examples/jsm/loaders/3MFLoader.d.ts +0 -0
  60. three/examples/jsm/loaders/AMFLoader.d.ts +0 -0
  61. three/examples/jsm/loaders/BVHLoader.d.ts +0 -0
  62. three/examples/jsm/loaders/ColladaLoader.d.ts +0 -0
  63. three/examples/jsm/loaders/EXRLoader.d.ts +0 -0
  64. three/examples/jsm/loaders/FBXLoader.d.ts +0 -0
  65. three/examples/jsm/loaders/GCodeLoader.d.ts +0 -0
  66. three/examples/jsm/loaders/KMZLoader.d.ts +0 -0
  67. three/examples/jsm/loaders/KTXLoader.d.ts +0 -0
  68. three/examples/jsm/loaders/LUT3dlLoader.d.ts +0 -0
  69. three/examples/jsm/loaders/LUTCubeLoader.d.ts +0 -0
  70. three/examples/jsm/loaders/LWOLoader.d.ts +0 -0
  71. three/examples/jsm/loaders/LogLuvLoader.d.ts +0 -0
  72. three/examples/jsm/loaders/LottieLoader.d.ts +0 -0
  73. three/examples/jsm/loaders/MD2Loader.d.ts +0 -0
  74. three/examples/jsm/loaders/MDDLoader.d.ts +0 -0
  75. three/examples/jsm/loaders/NRRDLoader.d.ts +0 -0
  76. three/examples/jsm/loaders/PDBLoader.d.ts +0 -0
  77. three/examples/jsm/loaders/PLYLoader.d.ts +0 -0
  78. three/examples/jsm/loaders/PVRLoader.d.ts +0 -0
  79. three/examples/jsm/loaders/STLLoader.d.ts +0 -0
  80. three/examples/jsm/loaders/TDSLoader.d.ts +0 -0
  81. three/examples/jsm/loaders/TIFFLoader.d.ts +0 -0
  82. three/examples/jsm/loaders/TiltLoader.d.ts +0 -0
  83. three/examples/jsm/loaders/VOXLoader.d.ts +0 -0
  84. three/examples/jsm/loaders/VRMLLoader.d.ts +0 -0
  85. three/examples/jsm/loaders/VTKLoader.d.ts +0 -0
  86. three/examples/jsm/loaders/XYZLoader.d.ts +0 -0
  87. three/examples/jsm/math/Capsule.d.ts +0 -0
  88. three/examples/jsm/math/ColorConverter.d.ts +0 -0
  89. three/examples/jsm/math/ConvexHull.d.ts +0 -0
  90. three/examples/jsm/math/ImprovedNoise.d.ts +0 -0
  91. three/examples/jsm/math/Lut.d.ts +0 -0
  92. three/examples/jsm/math/MeshSurfaceSampler.d.ts +0 -0
  93. three/examples/jsm/math/OBB.d.ts +0 -0
  94. three/examples/jsm/math/Octree.d.ts +0 -0
  95. three/examples/jsm/math/SimplexNoise.d.ts +0 -0
  96. three/examples/jsm/misc/ConvexObjectBreaker.d.ts +0 -0
  97. three/examples/jsm/misc/GPUComputationRenderer.d.ts +0 -0
  98. three/examples/jsm/misc/Gyroscope.d.ts +0 -0
  99. three/examples/jsm/misc/MD2Character.d.ts +0 -0
  100. three/examples/jsm/misc/MD2CharacterComplex.d.ts +0 -0
  101. three/examples/jsm/misc/MorphAnimMesh.d.ts +0 -0
  102. three/examples/jsm/misc/MorphBlendMesh.d.ts +0 -0
  103. three/examples/jsm/misc/ProgressiveLightMap.d.ts +0 -0
  104. three/examples/jsm/misc/RollerCoaster.d.ts +0 -0
  105. three/examples/jsm/misc/TubePainter.d.ts +0 -0
  106. three/examples/jsm/misc/Volume.d.ts +0 -0
  107. three/examples/jsm/misc/VolumeSlice.d.ts +0 -0
  108. three/examples/jsm/modifiers/CurveModifier.d.ts +0 -0
  109. three/examples/jsm/modifiers/EdgeSplitModifier.d.ts +0 -0
  110. three/examples/jsm/modifiers/SimplifyModifier.d.ts +0 -0
  111. three/examples/jsm/objects/Lensflare.d.ts +0 -0
  112. three/examples/jsm/objects/ReflectorForSSRPass.d.ts +0 -0
  113. three/examples/jsm/objects/Refractor.d.ts +0 -0
  114. three/examples/jsm/objects/ShadowMesh.d.ts +0 -0
  115. three/examples/jsm/objects/Sky.d.ts +0 -0
  116. three/examples/jsm/objects/Water.d.ts +0 -0
  117. three/examples/jsm/objects/Water2.d.ts +0 -0
  118. three/examples/jsm/physics/AmmoPhysics.d.ts +0 -0
  119. three/examples/jsm/physics/RapierPhysics.d.ts +0 -0
  120. three/examples/jsm/postprocessing/AfterimagePass.d.ts +0 -0
  121. three/examples/jsm/postprocessing/BloomPass.d.ts +0 -0
  122. three/examples/jsm/postprocessing/BokehPass.d.ts +0 -0
  123. three/examples/jsm/postprocessing/ClearPass.d.ts +0 -0
  124. three/examples/jsm/postprocessing/CubeTexturePass.d.ts +0 -0
  125. three/examples/jsm/postprocessing/DotScreenPass.d.ts +0 -0
  126. three/examples/jsm/postprocessing/FilmPass.d.ts +0 -0
  127. three/examples/jsm/postprocessing/GlitchPass.d.ts +0 -0
  128. three/examples/jsm/postprocessing/HalftonePass.d.ts +0 -0
  129. three/examples/jsm/postprocessing/LUTPass.d.ts +0 -0
  130. three/examples/jsm/postprocessing/MaskPass.d.ts +0 -0
  131. three/examples/jsm/postprocessing/OutlinePass.d.ts +0 -0
  132. three/examples/jsm/postprocessing/OutputPass.d.ts +0 -0
  133. three/examples/jsm/postprocessing/RenderPass.d.ts +0 -0
  134. three/examples/jsm/postprocessing/RenderPixelatedPass.d.ts +0 -0
  135. three/examples/jsm/postprocessing/SAOPass.d.ts +0 -0
  136. three/examples/jsm/postprocessing/SMAAPass.d.ts +0 -0
  137. three/examples/jsm/postprocessing/SSAARenderPass.d.ts +0 -0
  138. three/examples/jsm/postprocessing/SSAOPass.d.ts +0 -0
  139. three/examples/jsm/postprocessing/SSRPass.d.ts +0 -0
  140. three/examples/jsm/postprocessing/TAARenderPass.d.ts +0 -0
  141. three/examples/jsm/postprocessing/TexturePass.d.ts +0 -0
  142. three/examples/jsm/postprocessing/UnrealBloomPass.d.ts +0 -0
  143. three/examples/jsm/renderers/CSS2DRenderer.d.ts +0 -0
  144. three/examples/jsm/renderers/Projector.d.ts +0 -0
  145. three/examples/jsm/renderers/SVGRenderer.d.ts +0 -0
  146. three/examples/jsm/shaders/AfterimageShader.d.ts +0 -0
  147. three/examples/jsm/shaders/BasicShader.d.ts +0 -0
  148. three/examples/jsm/shaders/BleachBypassShader.d.ts +0 -0
  149. three/examples/jsm/shaders/BlendShader.d.ts +0 -0
  150. three/examples/jsm/shaders/BokehShader.d.ts +0 -0
  151. three/examples/jsm/shaders/BrightnessContrastShader.d.ts +0 -0
  152. three/examples/jsm/shaders/ColorCorrectionShader.d.ts +0 -0
  153. three/examples/jsm/shaders/ColorifyShader.d.ts +0 -0
  154. three/examples/jsm/shaders/ConvolutionShader.d.ts +0 -0
  155. three/examples/jsm/shaders/CopyShader.d.ts +0 -0
  156. three/examples/jsm/shaders/DOFMipMapShader.d.ts +0 -0
  157. three/examples/jsm/shaders/DepthLimitedBlurShader.d.ts +0 -0
  158. three/examples/jsm/shaders/DigitalGlitch.d.ts +0 -0
  159. three/examples/jsm/shaders/DotScreenShader.d.ts +0 -0
  160. three/examples/jsm/shaders/FXAAShader.d.ts +0 -0
  161. three/examples/jsm/shaders/FilmShader.d.ts +0 -0
  162. three/examples/jsm/shaders/FocusShader.d.ts +0 -0
  163. three/examples/jsm/shaders/FreiChenShader.d.ts +0 -0
  164. three/examples/jsm/shaders/GammaCorrectionShader.d.ts +0 -0
  165. three/examples/jsm/shaders/GodRaysShader.d.ts +0 -0
  166. three/examples/jsm/shaders/HalftoneShader.d.ts +0 -0
  167. three/examples/jsm/shaders/HorizontalBlurShader.d.ts +0 -0
  168. three/examples/jsm/shaders/HorizontalTiltShiftShader.d.ts +0 -0
  169. three/examples/jsm/shaders/HueSaturationShader.d.ts +0 -0
  170. three/examples/jsm/shaders/KaleidoShader.d.ts +0 -0
  171. three/examples/jsm/shaders/LuminosityHighPassShader.d.ts +0 -0
  172. three/examples/jsm/shaders/LuminosityShader.d.ts +0 -0
  173. three/examples/jsm/shaders/MirrorShader.d.ts +0 -0
  174. three/examples/jsm/shaders/NormalMapShader.d.ts +0 -0
  175. three/examples/jsm/shaders/OutputShader.d.ts +0 -0
  176. three/examples/jsm/shaders/RGBShiftShader.d.ts +0 -0
  177. three/examples/jsm/shaders/SAOShader.d.ts +0 -0
  178. three/examples/jsm/shaders/SMAAShader.d.ts +0 -0
  179. three/examples/jsm/shaders/SSAOShader.d.ts +0 -0
  180. three/examples/jsm/shaders/SSRShader.d.ts +0 -0
  181. three/examples/jsm/shaders/SepiaShader.d.ts +0 -0
  182. three/examples/jsm/shaders/SobelOperatorShader.d.ts +0 -0
  183. three/examples/jsm/shaders/SubsurfaceScatteringShader.d.ts +0 -0
  184. three/examples/jsm/shaders/TechnicolorShader.d.ts +0 -0
  185. three/examples/jsm/shaders/TriangleBlurShader.d.ts +0 -0
  186. three/examples/jsm/shaders/UnpackDepthRGBAShader.d.ts +0 -0
  187. three/examples/jsm/shaders/VerticalBlurShader.d.ts +0 -0
  188. three/examples/jsm/shaders/VerticalTiltShiftShader.d.ts +0 -0
  189. three/examples/jsm/shaders/VignetteShader.d.ts +0 -0
  190. three/examples/jsm/shaders/VolumeShader.d.ts +0 -0
  191. three/examples/jsm/shaders/WaterRefractionShader.d.ts +0 -0
  192. three/examples/jsm/utils/BufferGeometryUtils.d.ts +0 -0
  193. three/examples/jsm/utils/GeometryCompressionUtils.d.ts +0 -0
  194. three/examples/jsm/utils/PackedPhongMaterial.d.ts +0 -0
  195. three/examples/jsm/utils/SceneUtils.d.ts +0 -0
  196. three/examples/jsm/utils/SkeletonUtils.d.ts +0 -0
  197. three/examples/jsm/utils/UVsDebug.d.ts +0 -0
  198. three/examples/jsm/webxr/ARButton.d.ts +0 -0
  199. three/examples/jsm/webxr/OculusHandModel.d.ts +0 -0
  200. three/examples/jsm/webxr/OculusHandPointerModel.d.ts +0 -0
  201. three/examples/jsm/webxr/Text2D.d.ts +0 -0
  202. three/examples/jsm/webxr/XREstimatedLight.d.ts +0 -0
  203. three/examples/jsm/webxr/XRPlanes.d.ts +0 -0
  204. three/index.d.ts +0 -6
  205. three/package.json +20 -20
  206. three/src/Three.Legacy.d.ts +0 -0
  207. three/src/Three.d.ts +1 -3
  208. three/src/animation/AnimationAction.d.ts +0 -0
  209. three/src/animation/AnimationClip.d.ts +0 -0
  210. three/src/animation/AnimationMixer.d.ts +0 -0
  211. three/src/animation/AnimationObjectGroup.d.ts +0 -0
  212. three/src/animation/AnimationUtils.d.ts +0 -1
  213. three/src/animation/KeyframeTrack.d.ts +0 -0
  214. three/src/animation/PropertyBinding.d.ts +0 -0
  215. three/src/animation/PropertyMixer.d.ts +0 -0
  216. three/src/animation/tracks/BooleanKeyframeTrack.d.ts +0 -0
  217. three/src/animation/tracks/ColorKeyframeTrack.d.ts +0 -0
  218. three/src/animation/tracks/NumberKeyframeTrack.d.ts +0 -0
  219. three/src/animation/tracks/QuaternionKeyframeTrack.d.ts +0 -0
  220. three/src/animation/tracks/StringKeyframeTrack.d.ts +0 -0
  221. three/src/animation/tracks/VectorKeyframeTrack.d.ts +0 -0
  222. three/src/audio/Audio.d.ts +0 -0
  223. three/src/audio/AudioAnalyser.d.ts +0 -0
  224. three/src/audio/AudioContext.d.ts +0 -0
  225. three/src/audio/AudioListener.d.ts +0 -0
  226. three/src/audio/PositionalAudio.d.ts +0 -0
  227. three/src/cameras/ArrayCamera.d.ts +0 -0
  228. three/src/cameras/Camera.d.ts +0 -0
  229. three/src/cameras/CubeCamera.d.ts +6 -4
  230. three/src/cameras/OrthographicCamera.d.ts +0 -0
  231. three/src/cameras/PerspectiveCamera.d.ts +0 -0
  232. three/src/cameras/StereoCamera.d.ts +0 -0
  233. three/src/constants.d.ts +8 -0
  234. three/src/core/BufferAttribute.d.ts +0 -0
  235. three/src/core/BufferGeometry.d.ts +0 -0
  236. three/src/core/Clock.d.ts +0 -0
  237. three/src/core/EventDispatcher.d.ts +0 -0
  238. three/src/core/GLBufferAttribute.d.ts +0 -0
  239. three/src/core/InstancedBufferAttribute.d.ts +0 -0
  240. three/src/core/InstancedBufferGeometry.d.ts +0 -0
  241. three/src/core/InstancedInterleavedBuffer.d.ts +0 -0
  242. three/src/core/InterleavedBuffer.d.ts +0 -0
  243. three/src/core/InterleavedBufferAttribute.d.ts +0 -0
  244. three/src/core/Layers.d.ts +0 -0
  245. three/src/core/Object3D.d.ts +0 -0
  246. three/src/core/Raycaster.d.ts +10 -10
  247. three/src/core/RenderTarget.d.ts +2 -0
  248. three/src/core/Uniform.d.ts +0 -0
  249. three/src/core/UniformsGroup.d.ts +0 -0
  250. three/src/extras/DataUtils.d.ts +0 -0
  251. three/src/extras/ImageUtils.d.ts +0 -0
  252. three/src/extras/PMREMGenerator.d.ts +0 -0
  253. three/src/extras/ShapeUtils.d.ts +0 -0
  254. three/src/extras/core/Curve.d.ts +0 -0
  255. three/src/extras/core/CurvePath.d.ts +2 -2
  256. three/src/extras/core/Interpolations.d.ts +0 -0
  257. three/src/extras/core/Path.d.ts +9 -9
  258. three/src/extras/core/Shape.d.ts +0 -0
  259. three/src/extras/core/ShapePath.d.ts +0 -0
  260. three/src/extras/curves/ArcCurve.d.ts +0 -0
  261. three/src/extras/curves/CatmullRomCurve3.d.ts +0 -0
  262. three/src/extras/curves/CubicBezierCurve.d.ts +0 -0
  263. three/src/extras/curves/CubicBezierCurve3.d.ts +0 -0
  264. three/src/extras/curves/Curves.d.ts +0 -0
  265. three/src/extras/curves/EllipseCurve.d.ts +0 -0
  266. three/src/extras/curves/LineCurve.d.ts +0 -0
  267. three/src/extras/curves/LineCurve3.d.ts +0 -0
  268. three/src/extras/curves/QuadraticBezierCurve.d.ts +0 -0
  269. three/src/extras/curves/QuadraticBezierCurve3.d.ts +0 -0
  270. three/src/extras/curves/SplineCurve.d.ts +0 -0
  271. three/src/geometries/BoxGeometry.d.ts +0 -0
  272. three/src/geometries/CapsuleGeometry.d.ts +0 -0
  273. three/src/geometries/CircleGeometry.d.ts +0 -0
  274. three/src/geometries/ConeGeometry.d.ts +0 -0
  275. three/src/geometries/CylinderGeometry.d.ts +0 -0
  276. three/src/geometries/DodecahedronGeometry.d.ts +0 -0
  277. three/src/geometries/EdgesGeometry.d.ts +0 -0
  278. three/src/geometries/ExtrudeGeometry.d.ts +0 -0
  279. three/src/geometries/Geometries.d.ts +0 -0
  280. three/src/geometries/IcosahedronGeometry.d.ts +0 -0
  281. three/src/geometries/LatheGeometry.d.ts +0 -0
  282. three/src/geometries/OctahedronGeometry.d.ts +0 -0
  283. three/src/geometries/PlaneGeometry.d.ts +0 -0
  284. three/src/geometries/PolyhedronGeometry.d.ts +0 -0
  285. three/src/geometries/RingGeometry.d.ts +0 -0
  286. three/src/geometries/ShapeGeometry.d.ts +0 -0
  287. three/src/geometries/SphereGeometry.d.ts +0 -0
  288. three/src/geometries/TetrahedronGeometry.d.ts +0 -0
  289. three/src/geometries/TorusGeometry.d.ts +0 -0
  290. three/src/geometries/TorusKnotGeometry.d.ts +0 -0
  291. three/src/geometries/TubeGeometry.d.ts +0 -0
  292. three/src/geometries/WireframeGeometry.d.ts +0 -0
  293. three/src/helpers/ArrowHelper.d.ts +0 -0
  294. three/src/helpers/AxesHelper.d.ts +0 -0
  295. three/src/helpers/Box3Helper.d.ts +0 -0
  296. three/src/helpers/BoxHelper.d.ts +0 -0
  297. three/src/helpers/CameraHelper.d.ts +0 -0
  298. three/src/helpers/DirectionalLightHelper.d.ts +0 -0
  299. three/src/helpers/GridHelper.d.ts +0 -0
  300. three/src/helpers/HemisphereLightHelper.d.ts +0 -0
  301. three/src/helpers/PlaneHelper.d.ts +0 -0
  302. three/src/helpers/PointLightHelper.d.ts +0 -0
  303. three/src/helpers/PolarGridHelper.d.ts +0 -0
  304. three/src/helpers/SkeletonHelper.d.ts +0 -0
  305. three/src/helpers/SpotLightHelper.d.ts +0 -0
  306. three/src/lights/AmbientLight.d.ts +0 -0
  307. three/src/lights/DirectionalLight.d.ts +0 -0
  308. three/src/lights/DirectionalLightShadow.d.ts +0 -0
  309. three/src/lights/HemisphereLight.d.ts +0 -0
  310. three/src/lights/Light.d.ts +0 -0
  311. three/src/lights/LightProbe.d.ts +0 -0
  312. three/src/lights/LightShadow.d.ts +0 -0
  313. three/src/lights/PointLight.d.ts +0 -0
  314. three/src/lights/PointLightShadow.d.ts +0 -0
  315. three/src/lights/RectAreaLight.d.ts +0 -0
  316. three/src/lights/SpotLight.d.ts +0 -0
  317. three/src/lights/SpotLightShadow.d.ts +0 -0
  318. three/src/loaders/AnimationLoader.d.ts +0 -0
  319. three/src/loaders/AudioLoader.d.ts +0 -0
  320. three/src/loaders/BufferGeometryLoader.d.ts +0 -0
  321. three/src/loaders/Cache.d.ts +0 -0
  322. three/src/loaders/CompressedTextureLoader.d.ts +0 -0
  323. three/src/loaders/CubeTextureLoader.d.ts +0 -0
  324. three/src/loaders/DataTextureLoader.d.ts +0 -0
  325. three/src/loaders/FileLoader.d.ts +7 -0
  326. three/src/loaders/ImageBitmapLoader.d.ts +7 -0
  327. three/src/loaders/ImageLoader.d.ts +0 -0
  328. three/src/loaders/Loader.d.ts +1 -1
  329. three/src/loaders/LoaderUtils.d.ts +0 -0
  330. three/src/loaders/LoadingManager.d.ts +0 -0
  331. three/src/loaders/MaterialLoader.d.ts +0 -0
  332. three/src/loaders/ObjectLoader.d.ts +7 -0
  333. three/src/loaders/TextureLoader.d.ts +0 -0
  334. three/src/materials/LineBasicMaterial.d.ts +0 -0
  335. three/src/materials/LineDashedMaterial.d.ts +0 -0
  336. three/src/materials/Material.d.ts +6 -0
  337. three/src/materials/Materials.d.ts +0 -0
  338. three/src/materials/MeshBasicMaterial.d.ts +0 -0
  339. three/src/materials/MeshDepthMaterial.d.ts +0 -0
  340. three/src/materials/MeshDistanceMaterial.d.ts +0 -0
  341. three/src/materials/MeshLambertMaterial.d.ts +0 -0
  342. three/src/materials/MeshMatcapMaterial.d.ts +0 -0
  343. three/src/materials/MeshNormalMaterial.d.ts +0 -0
  344. three/src/materials/MeshPhongMaterial.d.ts +0 -0
  345. three/src/materials/MeshPhysicalMaterial.d.ts +0 -0
  346. three/src/materials/MeshStandardMaterial.d.ts +0 -0
  347. three/src/materials/MeshToonMaterial.d.ts +0 -0
  348. three/src/materials/PointsMaterial.d.ts +0 -0
  349. three/src/materials/RawShaderMaterial.d.ts +0 -0
  350. three/src/materials/ShaderMaterial.d.ts +0 -0
  351. three/src/materials/ShadowMaterial.d.ts +0 -0
  352. three/src/materials/SpriteMaterial.d.ts +0 -0
  353. three/src/math/Box2.d.ts +0 -0
  354. three/src/math/Box3.d.ts +0 -0
  355. three/src/math/Color.d.ts +1 -2
  356. three/src/math/ColorManagement.d.ts +35 -23
  357. three/src/math/Cylindrical.d.ts +0 -0
  358. three/src/math/Euler.d.ts +0 -0
  359. three/src/math/Frustum.d.ts +0 -0
  360. three/src/math/Interpolant.d.ts +0 -0
  361. three/src/math/Line3.d.ts +0 -0
  362. three/src/math/MathUtils.d.ts +0 -0
  363. three/src/math/Matrix3.d.ts +0 -0
  364. three/src/math/Matrix4.d.ts +0 -0
  365. three/src/math/Plane.d.ts +0 -0
  366. three/src/math/Quaternion.d.ts +0 -0
  367. three/src/math/Ray.d.ts +0 -0
  368. three/src/math/Sphere.d.ts +0 -0
  369. three/src/math/Spherical.d.ts +0 -0
  370. three/src/math/SphericalHarmonics3.d.ts +0 -0
  371. three/src/math/Triangle.d.ts +0 -0
  372. three/src/math/Vector2.d.ts +0 -0
  373. three/src/math/Vector3.d.ts +0 -0
  374. three/src/math/Vector4.d.ts +0 -0
  375. three/src/math/interpolants/CubicInterpolant.d.ts +0 -0
  376. three/src/math/interpolants/DiscreteInterpolant.d.ts +0 -0
  377. three/src/math/interpolants/LinearInterpolant.d.ts +0 -0
  378. three/src/math/interpolants/QuaternionLinearInterpolant.d.ts +0 -0
  379. three/src/objects/Bone.d.ts +0 -0
  380. three/src/objects/Group.d.ts +0 -0
  381. three/src/objects/InstancedMesh.d.ts +0 -0
  382. three/src/objects/LOD.d.ts +0 -0
  383. three/src/objects/Line.d.ts +0 -0
  384. three/src/objects/LineLoop.d.ts +0 -0
  385. three/src/objects/LineSegments.d.ts +0 -0
  386. three/src/objects/Mesh.d.ts +0 -0
  387. three/src/objects/Points.d.ts +0 -0
  388. three/src/objects/Skeleton.d.ts +0 -0
  389. three/src/objects/SkinnedMesh.d.ts +0 -0
  390. three/src/objects/Sprite.d.ts +2 -4
  391. three/src/renderers/WebGL1Renderer.d.ts +0 -0
  392. three/src/renderers/WebGL3DRenderTarget.d.ts +0 -0
  393. three/src/renderers/WebGLArrayRenderTarget.d.ts +0 -0
  394. three/src/renderers/WebGLCubeRenderTarget.d.ts +0 -0
  395. three/src/renderers/WebGLMultipleRenderTargets.d.ts +0 -0
  396. three/src/renderers/WebGLRenderTarget.d.ts +0 -0
  397. three/src/renderers/WebGLRenderer.d.ts +2 -1
  398. three/src/renderers/shaders/ShaderChunk.d.ts +0 -0
  399. three/src/renderers/shaders/ShaderLib.d.ts +0 -0
  400. three/src/renderers/shaders/UniformsLib.d.ts +0 -0
  401. three/src/renderers/shaders/UniformsUtils.d.ts +0 -0
  402. three/src/renderers/webgl/WebGLAttributes.d.ts +0 -0
  403. three/src/renderers/webgl/WebGLBindingStates.d.ts +0 -0
  404. three/src/renderers/webgl/WebGLBufferRenderer.d.ts +0 -0
  405. three/src/renderers/webgl/WebGLCapabilities.d.ts +0 -0
  406. three/src/renderers/webgl/WebGLClipping.d.ts +0 -0
  407. three/src/renderers/webgl/WebGLCubeMaps.d.ts +0 -0
  408. three/src/renderers/webgl/WebGLCubeUVMaps.d.ts +0 -0
  409. three/src/renderers/webgl/WebGLExtensions.d.ts +0 -0
  410. three/src/renderers/webgl/WebGLGeometries.d.ts +0 -0
  411. three/src/renderers/webgl/WebGLIndexedBufferRenderer.d.ts +0 -0
  412. three/src/renderers/webgl/WebGLInfo.d.ts +0 -0
  413. three/src/renderers/webgl/WebGLLights.d.ts +5 -0
  414. three/src/renderers/webgl/WebGLObjects.d.ts +0 -0
  415. three/src/renderers/webgl/WebGLProgram.d.ts +1 -1
  416. three/src/renderers/webgl/WebGLPrograms.d.ts +0 -0
  417. three/src/renderers/webgl/WebGLProperties.d.ts +0 -0
  418. three/src/renderers/webgl/WebGLRenderLists.d.ts +0 -0
  419. three/src/renderers/webgl/WebGLShader.d.ts +0 -0
  420. three/src/renderers/webgl/WebGLShadowMap.d.ts +0 -0
  421. three/src/renderers/webgl/WebGLState.d.ts +0 -0
  422. three/src/renderers/webgl/WebGLTextures.d.ts +0 -0
  423. three/src/renderers/webgl/WebGLUniforms.d.ts +0 -0
  424. three/src/renderers/webgl/WebGLUniformsGroups.d.ts +0 -0
  425. three/src/renderers/webgl/WebGLUtils.d.ts +0 -0
  426. three/src/renderers/webxr/WebXRController.d.ts +0 -0
  427. three/src/renderers/webxr/WebXRManager.d.ts +0 -0
  428. three/src/scenes/Fog.d.ts +0 -0
  429. three/src/scenes/FogExp2.d.ts +0 -0
  430. three/src/scenes/Scene.d.ts +0 -0
  431. three/src/textures/CanvasTexture.d.ts +0 -0
  432. three/src/textures/CompressedArrayTexture.d.ts +0 -0
  433. three/src/textures/CompressedTexture.d.ts +0 -0
  434. three/src/textures/CubeTexture.d.ts +0 -0
  435. three/src/textures/Data3DTexture.d.ts +0 -0
  436. three/src/textures/DataArrayTexture.d.ts +0 -0
  437. three/src/textures/DataTexture.d.ts +0 -0
  438. three/src/textures/DepthTexture.d.ts +0 -0
  439. three/src/textures/FramebufferTexture.d.ts +0 -0
  440. three/src/textures/Source.d.ts +0 -0
  441. three/src/textures/Texture.d.ts +0 -0
  442. three/src/textures/VideoTexture.d.ts +0 -0
  443. three/src/textures/types.d.ts +0 -0
  444. three/src/utils.d.ts +0 -0
  445. three/examples/jsm/animation/CCDIKSolver.d.ts +0 -30
  446. three/examples/jsm/animation/MMDAnimationHelper.d.ts +0 -105
  447. three/examples/jsm/animation/MMDPhysics.d.ts +0 -124
  448. three/examples/jsm/cameras/CinematicCamera.d.ts +0 -41
  449. three/examples/jsm/capabilities/WebGL.d.ts +0 -8
  450. three/examples/jsm/controls/FirstPersonControls.d.ts +0 -31
  451. three/examples/jsm/controls/OrbitControls.d.ts +0 -282
  452. three/examples/jsm/controls/TrackballControls.d.ts +0 -54
  453. three/examples/jsm/effects/OutlineEffect.d.ts +0 -36
  454. three/examples/jsm/environments/RoomEnvironment.d.ts +0 -6
  455. three/examples/jsm/exporters/PLYExporter.d.ts +0 -30
  456. three/examples/jsm/exporters/STLExporter.d.ts +0 -21
  457. three/examples/jsm/geometries/TextGeometry.d.ts +0 -115
  458. three/examples/jsm/helpers/RectAreaLightHelper.d.ts +0 -10
  459. three/examples/jsm/helpers/ViewHelper.d.ts +0 -15
  460. three/examples/jsm/libs/fflate.module.d.ts +0 -1
  461. three/examples/jsm/libs/lil-gui.module.min.d.ts +0 -609
  462. three/examples/jsm/libs/tween.module.d.ts +0 -219
  463. three/examples/jsm/lights/RectAreaLightUniformsLib.d.ts +0 -3
  464. three/examples/jsm/lines/Line2.d.ts +0 -11
  465. three/examples/jsm/lines/LineGeometry.d.ts +0 -10
  466. three/examples/jsm/lines/LineMaterial.d.ts +0 -31
  467. three/examples/jsm/lines/LineSegments2.d.ts +0 -14
  468. three/examples/jsm/lines/LineSegmentsGeometry.d.ts +0 -23
  469. three/examples/jsm/loaders/DDSLoader.d.ts +0 -16
  470. three/examples/jsm/loaders/DRACOLoader.d.ts +0 -11
  471. three/examples/jsm/loaders/FontLoader.d.ts +0 -20
  472. three/examples/jsm/loaders/GLTFLoader.d.ts +0 -147
  473. three/examples/jsm/loaders/HDRCubeTextureLoader.d.ts +0 -18
  474. three/examples/jsm/loaders/KTX2Loader.d.ts +0 -16
  475. three/examples/jsm/loaders/LDrawLoader.d.ts +0 -19
  476. three/examples/jsm/loaders/MMDLoader.d.ts +0 -56
  477. three/examples/jsm/loaders/MTLLoader.d.ts +0 -104
  478. three/examples/jsm/loaders/OBJLoader.d.ts +0 -10
  479. three/examples/jsm/loaders/PCDLoader.d.ts +0 -8
  480. three/examples/jsm/loaders/RGBELoader.d.ts +0 -19
  481. three/examples/jsm/loaders/RGBMLoader.d.ts +0 -32
  482. three/examples/jsm/loaders/SVGLoader.d.ts +0 -68
  483. three/examples/jsm/loaders/TGALoader.d.ts +0 -7
  484. three/examples/jsm/loaders/TTFLoader.d.ts +0 -8
  485. three/examples/jsm/loaders/USDZLoader.d.ts +0 -11
  486. three/examples/jsm/materials/MeshGouraudMaterial.d.ts +0 -17
  487. three/examples/jsm/modifiers/TessellateModifier.d.ts +0 -9
  488. three/examples/jsm/nodes/Nodes.d.ts +0 -149
  489. three/examples/jsm/nodes/accessors/BitangentNode.d.ts +0 -18
  490. three/examples/jsm/nodes/accessors/BufferNode.d.ts +0 -11
  491. three/examples/jsm/nodes/accessors/CameraNode.d.ts +0 -12
  492. three/examples/jsm/nodes/accessors/CubeTextureNode.d.ts +0 -13
  493. three/examples/jsm/nodes/accessors/InstanceNode.d.ts +0 -9
  494. three/examples/jsm/nodes/accessors/MaterialNode.d.ts +0 -23
  495. three/examples/jsm/nodes/accessors/MaterialReferenceNode.d.ts +0 -6
  496. three/examples/jsm/nodes/accessors/ModelNode.d.ts +0 -9
  497. three/examples/jsm/nodes/accessors/ModelViewProjectionNode.d.ts +0 -6
  498. three/examples/jsm/nodes/accessors/NormalNode.d.ts +0 -12
  499. three/examples/jsm/nodes/accessors/Object3DNode.d.ts +0 -22
  500. three/examples/jsm/nodes/accessors/PointUVNode.d.ts +0 -7
  501. three/examples/jsm/nodes/accessors/PositionNode.d.ts +0 -21
  502. three/examples/jsm/nodes/accessors/ReferenceNode.d.ts +0 -13
  503. three/examples/jsm/nodes/accessors/ReflectVectorNode.d.ts +0 -8
  504. three/examples/jsm/nodes/accessors/SkinningNode.d.ts +0 -13
  505. three/examples/jsm/nodes/accessors/StorageBufferNode.d.ts +0 -6
  506. three/examples/jsm/nodes/accessors/TangentNode.d.ts +0 -18
  507. three/examples/jsm/nodes/accessors/TextureNode.d.ts +0 -14
  508. three/examples/jsm/nodes/accessors/UVNode.d.ts +0 -8
  509. three/examples/jsm/nodes/accessors/UserDataNode.d.ts +0 -7
  510. three/examples/jsm/nodes/code/CodeNode.d.ts +0 -15
  511. three/examples/jsm/nodes/code/ExpressionNode.d.ts +0 -7
  512. three/examples/jsm/nodes/code/FunctionCallNode.d.ts +0 -13
  513. three/examples/jsm/nodes/code/FunctionNode.d.ts +0 -17
  514. three/examples/jsm/nodes/core/ArrayUniformNode.d.ts +0 -8
  515. three/examples/jsm/nodes/core/AttributeNode.d.ts +0 -9
  516. three/examples/jsm/nodes/core/BypassNode.d.ts +0 -9
  517. three/examples/jsm/nodes/core/CacheNode.d.ts +0 -10
  518. three/examples/jsm/nodes/core/ConstNode.d.ts +0 -10
  519. three/examples/jsm/nodes/core/ContextNode.d.ts +0 -10
  520. three/examples/jsm/nodes/core/InputNode.d.ts +0 -16
  521. three/examples/jsm/nodes/core/Node.d.ts +0 -31
  522. three/examples/jsm/nodes/core/NodeAttribute.d.ts +0 -6
  523. three/examples/jsm/nodes/core/NodeBuilder.d.ts +0 -138
  524. three/examples/jsm/nodes/core/NodeCache.d.ts +0 -9
  525. three/examples/jsm/nodes/core/NodeCode.d.ts +0 -4
  526. three/examples/jsm/nodes/core/NodeFrame.d.ts +0 -19
  527. three/examples/jsm/nodes/core/NodeFunction.d.ts +0 -13
  528. three/examples/jsm/nodes/core/NodeFunctionInput.d.ts +0 -7
  529. three/examples/jsm/nodes/core/NodeKeywords.d.ts +0 -14
  530. three/examples/jsm/nodes/core/NodeParser.d.ts +0 -5
  531. three/examples/jsm/nodes/core/NodeUniform.d.ts +0 -13
  532. three/examples/jsm/nodes/core/NodeUtils.d.ts +0 -13
  533. three/examples/jsm/nodes/core/NodeVar.d.ts +0 -6
  534. three/examples/jsm/nodes/core/NodeVarying.d.ts +0 -8
  535. three/examples/jsm/nodes/core/PropertyNode.d.ts +0 -6
  536. three/examples/jsm/nodes/core/StackNode.d.ts +0 -11
  537. three/examples/jsm/nodes/core/TempNode.d.ts +0 -11
  538. three/examples/jsm/nodes/core/UniformNode.d.ts +0 -10
  539. three/examples/jsm/nodes/core/VarNode.d.ts +0 -16
  540. three/examples/jsm/nodes/core/VaryingNode.d.ts +0 -8
  541. three/examples/jsm/nodes/core/constants.d.ts +0 -78
  542. three/examples/jsm/nodes/display/BlendModeNode.d.ts +0 -32
  543. three/examples/jsm/nodes/display/ColorAdjustmentNode.d.ts +0 -20
  544. three/examples/jsm/nodes/display/ColorSpaceNode.d.ts +0 -18
  545. three/examples/jsm/nodes/display/FrontFacingNode.d.ts +0 -6
  546. three/examples/jsm/nodes/display/NormalMapNode.d.ts +0 -12
  547. three/examples/jsm/nodes/display/PosterizeNode.d.ts +0 -8
  548. three/examples/jsm/nodes/display/ToneMappingNode.d.ts +0 -14
  549. three/examples/jsm/nodes/display/ViewportNode.d.ts +0 -23
  550. three/examples/jsm/nodes/fog/FogExp2Node.d.ts +0 -9
  551. three/examples/jsm/nodes/fog/FogNode.d.ts +0 -10
  552. three/examples/jsm/nodes/fog/FogRangeNode.d.ts +0 -10
  553. three/examples/jsm/nodes/functions/BSDF/BRDF_GGX.d.ts +0 -6
  554. three/examples/jsm/nodes/functions/BSDF/BRDF_Lambert.d.ts +0 -6
  555. three/examples/jsm/nodes/functions/BSDF/DFGApprox.d.ts +0 -10
  556. three/examples/jsm/nodes/functions/BSDF/D_GGX.d.ts +0 -9
  557. three/examples/jsm/nodes/functions/BSDF/F_Schlick.d.ts +0 -6
  558. three/examples/jsm/nodes/functions/BSDF/V_GGX_SmithCorrelated.d.ts +0 -6
  559. three/examples/jsm/nodes/functions/PhysicalLightingModel.d.ts +0 -11
  560. three/examples/jsm/nodes/functions/material/getGeometryRoughness.d.ts +0 -5
  561. three/examples/jsm/nodes/functions/material/getRoughness.d.ts +0 -6
  562. three/examples/jsm/nodes/geometry/RangeNode.d.ts +0 -13
  563. three/examples/jsm/nodes/gpgpu/ComputeNode.d.ts +0 -11
  564. three/examples/jsm/nodes/lighting/AONode.d.ts +0 -8
  565. three/examples/jsm/nodes/lighting/AnalyticLightNode.d.ts +0 -10
  566. three/examples/jsm/nodes/lighting/EnvironmentNode.d.ts +0 -8
  567. three/examples/jsm/nodes/lighting/HemisphereLightNode.d.ts +0 -13
  568. three/examples/jsm/nodes/lighting/LightUtils.d.ts +0 -4
  569. three/examples/jsm/nodes/lighting/LightingContextNode.d.ts +0 -15
  570. three/examples/jsm/nodes/lighting/LightingNode.d.ts +0 -5
  571. three/examples/jsm/nodes/lighting/LightsNode.d.ts +0 -19
  572. three/examples/jsm/nodes/lighting/PointLightNode.d.ts +0 -10
  573. three/examples/jsm/nodes/lighting/SpotLightNode.d.ts +0 -15
  574. three/examples/jsm/nodes/loaders/NodeLoader.d.ts +0 -14
  575. three/examples/jsm/nodes/loaders/NodeMaterialLoader.d.ts +0 -8
  576. three/examples/jsm/nodes/loaders/NodeObjectLoader.d.ts +0 -9
  577. three/examples/jsm/nodes/materials/LineBasicNodeMaterial.d.ts +0 -9
  578. three/examples/jsm/nodes/materials/Materials.d.ts +0 -17
  579. three/examples/jsm/nodes/materials/MeshBasicNodeMaterial.d.ts +0 -10
  580. three/examples/jsm/nodes/materials/MeshPhysicalNodeMaterial.d.ts +0 -22
  581. three/examples/jsm/nodes/materials/MeshStandardNodeMaterial.d.ts +0 -18
  582. three/examples/jsm/nodes/materials/NodeMaterial.d.ts +0 -38
  583. three/examples/jsm/nodes/materials/PointsNodeMaterial.d.ts +0 -15
  584. three/examples/jsm/nodes/materials/SpriteNodeMaterial.d.ts +0 -23
  585. three/examples/jsm/nodes/materialx/MaterialXNodes.d.ts +0 -94
  586. three/examples/jsm/nodes/materialx/lib/mx_hsv.d.ts +0 -4
  587. three/examples/jsm/nodes/materialx/lib/mx_noise.d.ts +0 -6
  588. three/examples/jsm/nodes/math/CondNode.d.ts +0 -9
  589. three/examples/jsm/nodes/math/MathNode.d.ts +0 -115
  590. three/examples/jsm/nodes/math/OperatorNode.d.ts +0 -31
  591. three/examples/jsm/nodes/procedural/CheckerNode.d.ts +0 -6
  592. three/examples/jsm/nodes/shadernode/ShaderNode.d.ts +0 -156
  593. three/examples/jsm/nodes/shadernode/ShaderNodeBaseElements.d.ts +0 -310
  594. three/examples/jsm/nodes/shadernode/ShaderNodeElements.d.ts +0 -166
  595. three/examples/jsm/nodes/utils/ArrayElementNode.d.ts +0 -9
  596. three/examples/jsm/nodes/utils/ConvertNode.d.ts +0 -8
  597. three/examples/jsm/nodes/utils/EquirectUVNode.d.ts +0 -6
  598. three/examples/jsm/nodes/utils/JoinNode.d.ts +0 -10
  599. three/examples/jsm/nodes/utils/MatcapUVNode.d.ts +0 -5
  600. three/examples/jsm/nodes/utils/MaxMipLevelNode.d.ts +0 -11
  601. three/examples/jsm/nodes/utils/OscNode.d.ts +0 -19
  602. three/examples/jsm/nodes/utils/RemapNode.d.ts +0 -13
  603. three/examples/jsm/nodes/utils/RotateUVNode.d.ts +0 -10
  604. three/examples/jsm/nodes/utils/SpecularMIPLevelNode.d.ts +0 -8
  605. three/examples/jsm/nodes/utils/SplitNode.d.ts +0 -16
  606. three/examples/jsm/nodes/utils/SpriteSheetUVNode.d.ts +0 -9
  607. three/examples/jsm/nodes/utils/TimerNode.d.ts +0 -19
  608. three/examples/jsm/nodes/utils/TriplanarTexturesNode.d.ts +0 -22
  609. three/examples/jsm/objects/GroundProjectedSkybox.d.ts +0 -13
  610. three/examples/jsm/objects/MarchingCubes.d.ts +0 -76
  611. three/examples/jsm/objects/Reflector.d.ts +0 -29
  612. three/examples/jsm/postprocessing/EffectComposer.d.ts +0 -31
  613. three/examples/jsm/postprocessing/Pass.d.ts +0 -31
  614. three/examples/jsm/postprocessing/SavePass.d.ts +0 -12
  615. three/examples/jsm/postprocessing/ShaderPass.d.ts +0 -11
  616. three/examples/jsm/renderers/CSS3DRenderer.d.ts +0 -26
  617. three/examples/jsm/renderers/webgl/nodes/SlotNode.d.ts +0 -17
  618. three/examples/jsm/renderers/webgl/nodes/WebGLNodeBuilder.d.ts +0 -37
  619. three/examples/jsm/renderers/webgl/nodes/WebGLNodes.d.ts +0 -3
  620. three/examples/jsm/shaders/ACESFilmicToneMappingShader.d.ts +0 -10
  621. three/examples/jsm/shaders/BokehShader2.d.ts +0 -42
  622. three/examples/jsm/shaders/ToonShader.d.ts +0 -54
  623. three/examples/jsm/shaders/VelocityShader.d.ts +0 -13
  624. three/examples/jsm/textures/FlakesTexture.d.ts +0 -3
  625. three/examples/jsm/utils/CameraUtils.d.ts +0 -9
  626. three/examples/jsm/utils/GeometryUtils.d.ts +0 -25
  627. three/examples/jsm/utils/LDrawUtils.d.ts +0 -5
  628. three/examples/jsm/utils/ShadowMapViewer.d.ts +0 -24
  629. three/examples/jsm/webxr/VRButton.d.ts +0 -5
  630. three/examples/jsm/webxr/XRButton.d.ts +0 -6
  631. three/examples/jsm/webxr/XRControllerModelFactory.d.ts +0 -21
  632. three/examples/jsm/webxr/XRHandMeshModel.d.ts +0 -11
  633. three/examples/jsm/webxr/XRHandModelFactory.d.ts +0 -25
  634. three/examples/jsm/webxr/XRHandPrimitiveModel.d.ts +0 -24
  635. three/src/extras/Earcut.d.ts +0 -15
  636. three/src/lights/AmbientLightProbe.d.ts +0 -26
  637. three/src/lights/HemisphereLightProbe.d.ts +0 -27
@@ -1,15 +0,0 @@
1
- import NodeMaterial from './NodeMaterial.js';
2
- import { ShaderMaterialParameters } from '../../../../src/Three.js';
3
- import { Node } from '../Nodes.js';
4
-
5
- export default class PointsNodeMaterial extends NodeMaterial {
6
- isPointsNodeMateria: true;
7
- colorNode: Node | null;
8
- opacityNode: Node | null;
9
- alphaTestNode: Node | null;
10
- lightNode: Node | null;
11
- sizeNode: Node | null;
12
- positionNode: Node | null;
13
- constructor(parameters?: ShaderMaterialParameters);
14
- copy(source: PointsNodeMaterial): this;
15
- }
@@ -1,23 +0,0 @@
1
- import NodeMaterial from './NodeMaterial.js';
2
- import { ShaderMaterialParameters } from '../../../../src/Three.js';
3
- import { NodeBuilder } from '../Nodes.js';
4
- import Node from '../core/Node.js';
5
-
6
- export default class SpriteNodeMaterial extends NodeMaterial {
7
- isSpriteNodeMaterial: true;
8
-
9
- colorNode: Node | null;
10
- opacityNode: Node | null;
11
-
12
- alphaTestNode: Node | null;
13
-
14
- lightNode: Node | null;
15
-
16
- positionNode: Node | null;
17
- rotationNode: Node | null;
18
- scaleNode: Node | null;
19
-
20
- constructor(parameters?: ShaderMaterialParameters);
21
- generatePosition(builder: NodeBuilder): void;
22
- copy(source: SpriteNodeMaterial): this;
23
- }
@@ -1,94 +0,0 @@
1
- import { mx_hsvtorgb, mx_rgbtohsv } from './lib/mx_hsv.js';
2
- import { Swizzable } from '../shadernode/ShaderNodeElements.js';
3
- import { UVNode, MathNode } from '../Nodes.js';
4
- import { NodeRepresentation } from '../shadernode/ShaderNode.js';
5
-
6
- export function mx_aastep(threshold?: NodeRepresentation, value?: NodeRepresentation): Swizzable<MathNode>;
7
-
8
- export function mx_ramplr(
9
- valuel?: NodeRepresentation,
10
- valuer?: NodeRepresentation,
11
- texcoord?: Swizzable<UVNode>,
12
- ): Swizzable<MathNode>;
13
- export function mx_ramptb(
14
- valuet?: NodeRepresentation,
15
- valueb?: NodeRepresentation,
16
- texcoord?: Swizzable<UVNode>,
17
- ): Swizzable<MathNode>;
18
-
19
- export function mx_splitlr(
20
- valuel?: NodeRepresentation,
21
- valuer?: NodeRepresentation,
22
- center?: NodeRepresentation,
23
- texcoord?: Swizzable<UVNode>,
24
- ): Swizzable<MathNode>;
25
- export function mx_splittb(
26
- valuet?: NodeRepresentation,
27
- valueb?: NodeRepresentation,
28
- center?: NodeRepresentation,
29
- texcoord?: Swizzable<UVNode>,
30
- ): Swizzable<MathNode>;
31
-
32
- export function mx_transform_uv(
33
- uv_scale?: NodeRepresentation,
34
- uv_offset?: NodeRepresentation,
35
- uv_geo?: Swizzable<UVNode>,
36
- ): Swizzable;
37
-
38
- export function mx_noise_float(
39
- texcoord?: Swizzable<UVNode>,
40
- amplitude?: NodeRepresentation,
41
- pivot?: NodeRepresentation,
42
- ): Swizzable;
43
- export function mx_noise_vec2(
44
- texcoord?: Swizzable<UVNode>,
45
- amplitude?: NodeRepresentation,
46
- pivot?: NodeRepresentation,
47
- ): Swizzable;
48
- export function mx_noise_vec3(
49
- texcoord?: Swizzable<UVNode>,
50
- amplitude?: NodeRepresentation,
51
- pivot?: NodeRepresentation,
52
- ): Swizzable;
53
- export function mx_noise_vec4(
54
- texcoord?: Swizzable<UVNode>,
55
- amplitude?: NodeRepresentation,
56
- pivot?: NodeRepresentation,
57
- ): Swizzable;
58
-
59
- export function mx_worley_noise_float(texcoord?: Swizzable<UVNode>, jitter?: NodeRepresentation): Swizzable;
60
- export function mx_worley_noise_vec2(texcoord?: Swizzable<UVNode>, jitter?: NodeRepresentation): Swizzable;
61
- export function mx_worley_noise_vec3(texcoord?: Swizzable<UVNode>, jitter?: NodeRepresentation): Swizzable;
62
-
63
- export function mx_cell_noise_float(texcoord?: Swizzable<UVNode>): Swizzable;
64
-
65
- export function mx_fractal_noise_float(
66
- position?: Swizzable<UVNode>,
67
- octaves?: NodeRepresentation,
68
- lacunarity?: NodeRepresentation,
69
- diminish?: NodeRepresentation,
70
- amplitude?: NodeRepresentation,
71
- ): Swizzable;
72
- export function mx_fractal_noise_vec2(
73
- position?: Swizzable<UVNode>,
74
- octaves?: NodeRepresentation,
75
- lacunarity?: NodeRepresentation,
76
- diminish?: NodeRepresentation,
77
- amplitude?: NodeRepresentation,
78
- ): Swizzable;
79
- export function mx_fractal_noise_vec3(
80
- position?: Swizzable<UVNode>,
81
- octaves?: NodeRepresentation,
82
- lacunarity?: NodeRepresentation,
83
- diminish?: NodeRepresentation,
84
- amplitude?: NodeRepresentation,
85
- ): Swizzable;
86
- export function mx_fractal_noise_vec4(
87
- position?: Swizzable<UVNode>,
88
- octaves?: NodeRepresentation,
89
- lacunarity?: NodeRepresentation,
90
- diminish?: NodeRepresentation,
91
- amplitude?: NodeRepresentation,
92
- ): Swizzable;
93
-
94
- export { mx_hsvtorgb, mx_rgbtohsv };
@@ -1,4 +0,0 @@
1
- import { Fn, Node, Swizzable } from '../../Nodes.js';
2
-
3
- export function mx_hsvtorgb(...params: Fn<[Node]>): Swizzable;
4
- export function mx_rgbtohsv(...params: Fn<[Node]>): Swizzable;
@@ -1,6 +0,0 @@
1
- import { Fn, Node, Swizzable } from '../../Nodes.js';
2
-
3
- export function mx_perlin_noise_float(...params: Fn<[Node]>): Swizzable;
4
- export function mx_cell_noise_float(...params: Fn<[Node]>): Swizzable;
5
- export function mx_worley_noise_float(...params: Fn<[Node]>): Swizzable;
6
- export function mx_fractal_noise_float(...params: Fn<[Node, Node, Node, Node]>): Swizzable;
@@ -1,9 +0,0 @@
1
- import Node from '../core/Node.js';
2
-
3
- export default class CondNode extends Node {
4
- condNode: Node;
5
- ifNode: Node;
6
- elseNode: Node;
7
-
8
- constructor(condNode: Node, ifNode: Node, elseNode: Node);
9
- }
@@ -1,115 +0,0 @@
1
- import Node from '../core/Node.js';
2
- import TempNode from '../core/TempNode.js';
3
-
4
- export type MathNodeMethod1 =
5
- | typeof MathNode.RADIANS
6
- | typeof MathNode.DEGREES
7
- | typeof MathNode.EXP
8
- | typeof MathNode.EXP2
9
- | typeof MathNode.LOG
10
- | typeof MathNode.LOG2
11
- | typeof MathNode.SQRT
12
- | typeof MathNode.INVERSE_SQRT
13
- | typeof MathNode.FLOOR
14
- | typeof MathNode.CEIL
15
- | typeof MathNode.NORMALIZE
16
- | typeof MathNode.FRACT
17
- | typeof MathNode.SIN
18
- | typeof MathNode.COS
19
- | typeof MathNode.TAN
20
- | typeof MathNode.ASIN
21
- | typeof MathNode.ACOS
22
- | typeof MathNode.ATAN
23
- | typeof MathNode.ABS
24
- | typeof MathNode.SIGN
25
- | typeof MathNode.LENGTH
26
- | typeof MathNode.NEGATE
27
- | typeof MathNode.ONE_MINUS
28
- | typeof MathNode.DFDX
29
- | typeof MathNode.DFDY
30
- | typeof MathNode.ROUND;
31
-
32
- export type MathNodeMethod2 =
33
- | typeof MathNode.ATAN2
34
- | typeof MathNode.MIN
35
- | typeof MathNode.MAX
36
- | typeof MathNode.MOD
37
- | typeof MathNode.STEP
38
- | typeof MathNode.REFLECT
39
- | typeof MathNode.DISTANCE
40
- | typeof MathNode.DOT
41
- | typeof MathNode.CROSS
42
- | typeof MathNode.POW
43
- | typeof MathNode.TRANSFORM_DIRECTION;
44
-
45
- export type MathNodeMethod3 =
46
- | typeof MathNode.MIX
47
- | typeof MathNode.CLAMP
48
- | typeof MathNode.REFRACT
49
- | typeof MathNode.SMOOTHSTEP
50
- | typeof MathNode.FACEFORWARD;
51
-
52
- export type MathNodeMethod = MathNodeMethod1 | MathNodeMethod2 | MathNodeMethod3;
53
-
54
- export default class MathNode extends TempNode {
55
- // 1 input
56
-
57
- static RADIANS: 'radians';
58
- static DEGREES: 'degrees';
59
- static EXP: 'exp';
60
- static EXP2: 'exp2';
61
- static LOG: 'log';
62
- static LOG2: 'log2';
63
- static SQRT: 'sqrt';
64
- static INVERSE_SQRT: 'inversesqrt';
65
- static FLOOR: 'floor';
66
- static CEIL: 'ceil';
67
- static NORMALIZE: 'normalize';
68
- static FRACT: 'fract';
69
- static SIN: 'sin';
70
- static COS: 'cos';
71
- static TAN: 'tan';
72
- static ASIN: 'asin';
73
- static ACOS: 'acos';
74
- static ATAN: 'atan';
75
- static ABS: 'abs';
76
- static SIGN: 'sign';
77
- static LENGTH: 'length';
78
- static NEGATE: 'negate';
79
- static ONE_MINUS: 'oneMinus';
80
- static DFDX: 'dFdx';
81
- static DFDY: 'dFdy';
82
- static ROUND: 'round';
83
- static RECIPROCAL: 'reciprocal';
84
-
85
- // 2 inputs
86
-
87
- static ATAN2: 'atan2';
88
- static MIN: 'min';
89
- static MAX: 'max';
90
- static MOD: 'mod';
91
- static STEP: 'step';
92
- static REFLECT: 'reflect';
93
- static DISTANCE: 'distance';
94
- static DOT: 'dot';
95
- static CROSS: 'cross';
96
- static POW: 'pow';
97
- static TRANSFORM_DIRECTION: 'transformDirection';
98
-
99
- // 3 inputs
100
-
101
- static MIX: 'mix';
102
- static CLAMP: 'clamp';
103
- static REFRACT: 'refract';
104
- static SMOOTHSTEP: 'smoothstep';
105
- static FACEFORWARD: 'faceforward';
106
-
107
- method: MathNodeMethod;
108
- aNode: Node;
109
- bNode: Node | null;
110
- cNode: Node | null;
111
-
112
- constructor(method: MathNodeMethod1, aNode: Node);
113
- constructor(method: MathNodeMethod2, aNode: Node, bNode: Node);
114
- constructor(method: MathNodeMethod3, aNode: Node, bNode: Node, cNode: Node);
115
- }
@@ -1,31 +0,0 @@
1
- import TempNode from '../core/TempNode.js';
2
- import Node from '../core/Node.js';
3
-
4
- export type OperatorNodeOp =
5
- | '='
6
- | '%'
7
- | '&'
8
- | '|'
9
- | '^'
10
- | '>>'
11
- | '<<'
12
- | '=='
13
- | '&&'
14
- | '||'
15
- | '^^'
16
- | '<'
17
- | '>'
18
- | '<='
19
- | '>='
20
- | '+'
21
- | '-'
22
- | '*'
23
- | '/';
24
-
25
- export default class OperatorNode extends TempNode {
26
- aNode: Node;
27
- bNode: Node;
28
- op: OperatorNodeOp;
29
-
30
- constructor(op: OperatorNodeOp, ...params: [Node, Node, ...Node[]]);
31
- }
@@ -1,6 +0,0 @@
1
- import TempNode from '../core/TempNode.js';
2
-
3
- export default class CheckerNode extends TempNode {
4
- uvNode: Node;
5
- constructor(uvNode?: Node);
6
- }
@@ -1,156 +0,0 @@
1
- import { ConstNode, Node, NodeBuilder, NodeTypeOption, SwizzleOption } from '../Nodes.js';
2
- // lot of private typescript magic here
3
- export {};
4
- export type Swizzable<T extends Node = Node> = T & {
5
- [key in SwizzleOption | number]: Swizzable;
6
- };
7
-
8
- /** anything that can be passed to {@link nodeObject} and returns a proxy */
9
- export type NodeRepresentation<T extends Node = Node> = number | boolean | Node | Swizzable<T>;
10
-
11
- /** anything that can be passed to {@link nodeObject} */
12
- export type NodeObjectOption = NodeRepresentation | string;
13
-
14
- // same logic as in ShaderNodeObject: number,boolean,node->swizzable, otherwise do nothing
15
- export type NodeObject<T> = T extends Node ? Swizzable<T> : T extends number | boolean ? Swizzable<ConstNode> : T;
16
-
17
- // opposite of NodeObject: node -> node|swizzable|boolean|number, otherwise do nothing
18
- type Proxied<T> = T extends Node ? NodeRepresentation<T> : T;
19
- // https://github.com/microsoft/TypeScript/issues/42435#issuecomment-765557874
20
- export type ProxiedTuple<T extends readonly [...unknown[]]> = [...{ [index in keyof T]: Proxied<T[index]> }];
21
- export type ProxiedObject<T> = { [index in keyof T]: Proxied<T[index]> };
22
- type RemoveTail<T extends readonly [...unknown[]]> = T extends [unknown, ...infer X] ? X : [];
23
- type RemoveHeadAndTail<T extends readonly [...unknown[]]> = T extends [unknown, ...infer X, unknown] ? X : [];
24
-
25
- /**
26
- * Temporary type to save signatures of 4 constructors. Each element may be tuple or undefined.
27
- *
28
- * We use an object instead of tuple or union as it makes stuff easier, especially in Typescript 4.0.
29
- */
30
- interface Construtors<
31
- A extends undefined | [...unknown[]],
32
- B extends undefined | [...unknown[]],
33
- C extends undefined | [...unknown[]],
34
- D extends undefined | [...unknown[]],
35
- > {
36
- a: A;
37
- b: B;
38
- c: C;
39
- d: D;
40
- }
41
-
42
- /**
43
- * Returns all constructors
44
- *
45
- * <https://github.com/microsoft/TypeScript/issues/37079>
46
- * <https://stackoverflow.com/a/52761156/1623826>
47
- */
48
- type OverloadedConstructorsOf<T> = T extends {
49
- new (...args: infer A1): unknown;
50
- new (...args: infer A2): unknown;
51
- new (...args: infer A3): unknown;
52
- new (...args: infer A4): unknown;
53
- }
54
- ? Construtors<A1, A2, A3, A4>
55
- : T extends {
56
- new (...args: infer A1): unknown;
57
- new (...args: infer A2): unknown;
58
- new (...args: infer A3): unknown;
59
- }
60
- ? Construtors<A1, A2, A3, undefined>
61
- : T extends {
62
- new (...args: infer A1): unknown;
63
- new (...args: infer A2): unknown;
64
- }
65
- ? Construtors<A1, A2, undefined, undefined>
66
- : T extends new (...args: infer A) => unknown
67
- ? Construtors<A, undefined, undefined, undefined>
68
- : Construtors<undefined, undefined, undefined, undefined>;
69
-
70
- type AnyConstructors = Construtors<any, any, any, any>;
71
-
72
- /**
73
- * Returns all constructors where the first paramter is assignable to given "scope"
74
- */
75
- // tslint:disable-next-line:interface-over-type-literal
76
- type FilterConstructorsByScope<T extends AnyConstructors, S> = {
77
- a: S extends T['a'][0] ? T['a'] : undefined;
78
- b: S extends T['b'][0] ? T['b'] : undefined;
79
- c: S extends T['c'][0] ? T['c'] : undefined;
80
- d: S extends T['d'][0] ? T['d'] : undefined;
81
- };
82
- /**
83
- * "flattens" the tuple into an union type
84
- */
85
- type ConstructorUnion<T extends AnyConstructors> =
86
- | Exclude<T['a'], undefined>
87
- | Exclude<T['b'], undefined>
88
- | Exclude<T['c'], undefined>
89
- | Exclude<T['d'], undefined>;
90
-
91
- /**
92
- * Extract list of possible scopes - union of the first paramter
93
- * of all constructors, should it be string
94
- */
95
- type ExtractScopes<T extends AnyConstructors> =
96
- | (T['a'][0] extends string ? T['a'][0] : never)
97
- | (T['b'][0] extends string ? T['b'][0] : never)
98
- | (T['c'][0] extends string ? T['c'][0] : never)
99
- | (T['d'][0] extends string ? T['d'][0] : never);
100
-
101
- type GetConstructorsByScope<T, S> = ConstructorUnion<FilterConstructorsByScope<OverloadedConstructorsOf<T>, S>>;
102
- type GetConstructors<T> = ConstructorUnion<OverloadedConstructorsOf<T>>;
103
- type GetPossibleScopes<T> = ExtractScopes<OverloadedConstructorsOf<T>>;
104
-
105
- export type ConvertType = (...params: unknown[]) => Swizzable;
106
-
107
- export const ConvertType: {
108
- new (type: NodeTypeOption, cacheMap?: Map<unknown, ConstNode>): ConvertType;
109
- };
110
-
111
- type NodeArray<T extends NodeObjectOption[]> = { [index in keyof T]: NodeObject<T[index]> };
112
- type NodeObjects<T> = { [key in keyof T]: T[key] extends NodeObjectOption ? NodeObject<T[key]> : T[key] };
113
- type ConstructedNode<T> = T extends new (...args: any[]) => infer R ? (R extends Node ? R : never) : never;
114
-
115
- export type NodeOrType = Node | NodeTypeOption;
116
-
117
- export function getConstNodeType(value: NodeOrType): NodeTypeOption | null;
118
- export function nodeObject<T extends NodeObjectOption>(obj: T): NodeObject<T>;
119
- export function nodeObjects<T>(obj: T): NodeObjects<T>;
120
-
121
- export function nodeArray<T extends NodeObjectOption[]>(obj: readonly [...T]): NodeArray<T>;
122
-
123
- export function nodeProxy<T>(
124
- nodeClass: T,
125
- ): (...params: ProxiedTuple<GetConstructors<T>>) => Swizzable<ConstructedNode<T>>;
126
-
127
- export function nodeProxy<T, S extends GetPossibleScopes<T>>(
128
- nodeClass: T,
129
- scope: S,
130
- ): (...params: ProxiedTuple<RemoveTail<GetConstructorsByScope<T, S>>>) => Swizzable<ConstructedNode<T>>;
131
-
132
- export function nodeProxy<T, S extends GetPossibleScopes<T>>(
133
- nodeClass: T,
134
- scope: S,
135
- factor: NodeObjectOption,
136
- ): (...params: ProxiedTuple<RemoveHeadAndTail<GetConstructorsByScope<T, S>>>) => Swizzable<ConstructedNode<T>>;
137
-
138
- export function nodeImmutable<T>(
139
- nodeClass: T,
140
- ...params: ProxiedTuple<GetConstructors<T>>
141
- ): Swizzable<ConstructedNode<T>>;
142
-
143
- export class ShaderNode<T = {}, R extends Node = Node> {
144
- constructor(jsFunc: (inputs: NodeObjects<T>, builder: NodeBuilder) => NodeRepresentation);
145
- call: (
146
- inputs: { [key in keyof T]: T[key] extends NodeRepresentation ? Swizzable | Node : T[key] },
147
- builder?: NodeBuilder,
148
- ) => Swizzable<R>;
149
- }
150
-
151
- export const cacheMaps: {
152
- bool: Map<boolean, ConstNode>;
153
- uint: Map<number, ConstNode>;
154
- int: Map<number, ConstNode>;
155
- float: Map<number, ConstNode>;
156
- };