@types/three 0.155.1 → 0.157.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 (639) hide show
  1. three/LICENSE +0 -0
  2. three/README.md +2 -2
  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/animation/CCDIKSolver.d.ts +7 -7
  10. three/examples/jsm/animation/MMDAnimationHelper.d.ts +0 -0
  11. three/examples/jsm/animation/MMDPhysics.d.ts +0 -0
  12. three/examples/jsm/cameras/CinematicCamera.d.ts +0 -0
  13. three/examples/jsm/capabilities/WebGL.d.ts +1 -0
  14. three/examples/jsm/controls/ArcballControls.d.ts +7 -1
  15. three/examples/jsm/controls/DragControls.d.ts +10 -1
  16. three/examples/jsm/controls/FirstPersonControls.d.ts +0 -0
  17. three/examples/jsm/controls/FlyControls.d.ts +5 -1
  18. three/examples/jsm/controls/MapControls.d.ts +0 -0
  19. three/examples/jsm/controls/OrbitControls.d.ts +21 -19
  20. three/examples/jsm/controls/PointerLockControls.d.ts +0 -0
  21. three/examples/jsm/controls/TrackballControls.d.ts +12 -2
  22. three/examples/jsm/controls/TransformControls.d.ts +40 -3
  23. three/examples/jsm/csm/CSM.d.ts +0 -0
  24. three/examples/jsm/csm/CSMFrustum.d.ts +0 -0
  25. three/examples/jsm/csm/CSMHelper.d.ts +0 -0
  26. three/examples/jsm/csm/CSMShader.d.ts +0 -0
  27. three/examples/jsm/curves/CurveExtras.d.ts +0 -0
  28. three/examples/jsm/curves/NURBSCurve.d.ts +8 -2
  29. three/examples/jsm/curves/NURBSSurface.d.ts +0 -0
  30. three/examples/jsm/curves/NURBSUtils.d.ts +0 -0
  31. three/examples/jsm/deprecated/Geometry.d.ts +0 -0
  32. three/examples/jsm/effects/AnaglyphEffect.d.ts +0 -0
  33. three/examples/jsm/effects/AsciiEffect.d.ts +0 -0
  34. three/examples/jsm/effects/OutlineEffect.d.ts +0 -0
  35. three/examples/jsm/effects/ParallaxBarrierEffect.d.ts +0 -0
  36. three/examples/jsm/effects/PeppersGhostEffect.d.ts +0 -0
  37. three/examples/jsm/effects/StereoEffect.d.ts +0 -0
  38. three/examples/jsm/environments/DebugEnvironment.d.ts +5 -0
  39. three/examples/jsm/environments/RoomEnvironment.d.ts +0 -0
  40. three/examples/jsm/exporters/DRACOExporter.d.ts +0 -0
  41. three/examples/jsm/exporters/EXRExporter.d.ts +2 -1
  42. three/examples/jsm/exporters/GLTFExporter.d.ts +0 -0
  43. three/examples/jsm/exporters/KTX2Exporter.d.ts +0 -0
  44. three/examples/jsm/exporters/MMDExporter.d.ts +0 -0
  45. three/examples/jsm/exporters/OBJExporter.d.ts +0 -0
  46. three/examples/jsm/exporters/PLYExporter.d.ts +0 -0
  47. three/examples/jsm/exporters/STLExporter.d.ts +0 -0
  48. three/examples/jsm/exporters/USDZExporter.d.ts +0 -0
  49. three/examples/jsm/geometries/BoxLineGeometry.d.ts +0 -0
  50. three/examples/jsm/geometries/ConvexGeometry.d.ts +0 -0
  51. three/examples/jsm/geometries/DecalGeometry.d.ts +0 -0
  52. three/examples/jsm/geometries/ParametricGeometries.d.ts +0 -0
  53. three/examples/jsm/geometries/ParametricGeometry.d.ts +0 -0
  54. three/examples/jsm/geometries/RoundedBoxGeometry.d.ts +0 -0
  55. three/examples/jsm/geometries/TeapotGeometry.d.ts +0 -0
  56. three/examples/jsm/geometries/TextGeometry.d.ts +0 -0
  57. three/examples/jsm/helpers/LightProbeHelper.d.ts +0 -0
  58. three/examples/jsm/helpers/OctreeHelper.d.ts +0 -0
  59. three/examples/jsm/helpers/PositionalAudioHelper.d.ts +0 -0
  60. three/examples/jsm/helpers/RectAreaLightHelper.d.ts +0 -0
  61. three/examples/jsm/helpers/VertexNormalsHelper.d.ts +0 -0
  62. three/examples/jsm/helpers/VertexTangentsHelper.d.ts +0 -0
  63. three/examples/jsm/helpers/ViewHelper.d.ts +0 -0
  64. three/examples/jsm/interactive/HTMLMesh.d.ts +0 -0
  65. three/examples/jsm/interactive/InteractiveGroup.d.ts +14 -1
  66. three/examples/jsm/interactive/SelectionBox.d.ts +0 -0
  67. three/examples/jsm/interactive/SelectionHelper.d.ts +1 -0
  68. three/examples/jsm/libs/fflate.module.d.ts +0 -0
  69. three/examples/jsm/libs/lil-gui.module.min.d.ts +609 -1
  70. three/examples/jsm/libs/meshopt_decoder.module.d.ts +0 -0
  71. three/examples/jsm/libs/stats.module.d.ts +0 -0
  72. three/examples/jsm/libs/tween.module.d.ts +219 -2
  73. three/examples/jsm/lights/LightProbeGenerator.d.ts +0 -0
  74. three/examples/jsm/lights/RectAreaLightUniformsLib.d.ts +0 -0
  75. three/examples/jsm/lines/Line2.d.ts +0 -0
  76. three/examples/jsm/lines/LineGeometry.d.ts +0 -0
  77. three/examples/jsm/lines/LineMaterial.d.ts +0 -0
  78. three/examples/jsm/lines/LineSegments2.d.ts +0 -0
  79. three/examples/jsm/lines/LineSegmentsGeometry.d.ts +0 -0
  80. three/examples/jsm/lines/Wireframe.d.ts +0 -0
  81. three/examples/jsm/lines/WireframeGeometry2.d.ts +0 -0
  82. three/examples/jsm/loaders/3DMLoader.d.ts +1 -8
  83. three/examples/jsm/loaders/3MFLoader.d.ts +1 -8
  84. three/examples/jsm/loaders/AMFLoader.d.ts +1 -8
  85. three/examples/jsm/loaders/BVHLoader.d.ts +1 -8
  86. three/examples/jsm/loaders/ColladaLoader.d.ts +1 -8
  87. three/examples/jsm/loaders/DDSLoader.d.ts +0 -0
  88. three/examples/jsm/loaders/DRACOLoader.d.ts +8 -7
  89. three/examples/jsm/loaders/EXRLoader.d.ts +0 -0
  90. three/examples/jsm/loaders/FBXLoader.d.ts +1 -8
  91. three/examples/jsm/loaders/FontLoader.d.ts +4 -4
  92. three/examples/jsm/loaders/GCodeLoader.d.ts +1 -8
  93. three/examples/jsm/loaders/GLTFLoader.d.ts +1 -9
  94. three/examples/jsm/loaders/HDRCubeTextureLoader.d.ts +5 -5
  95. three/examples/jsm/loaders/KMZLoader.d.ts +1 -8
  96. three/examples/jsm/loaders/KTX2Loader.d.ts +0 -0
  97. three/examples/jsm/loaders/KTXLoader.d.ts +0 -0
  98. three/examples/jsm/loaders/LDrawLoader.d.ts +1 -8
  99. three/examples/jsm/loaders/LUT3dlLoader.d.ts +1 -8
  100. three/examples/jsm/loaders/LUTCubeLoader.d.ts +1 -8
  101. three/examples/jsm/loaders/LWOLoader.d.ts +1 -8
  102. three/examples/jsm/loaders/LogLuvLoader.d.ts +0 -0
  103. three/examples/jsm/loaders/LottieLoader.d.ts +4 -5
  104. three/examples/jsm/loaders/MD2Loader.d.ts +1 -8
  105. three/examples/jsm/loaders/MDDLoader.d.ts +1 -8
  106. three/examples/jsm/loaders/MMDLoader.d.ts +1 -8
  107. three/examples/jsm/loaders/MTLLoader.d.ts +1 -9
  108. three/examples/jsm/loaders/NRRDLoader.d.ts +1 -7
  109. three/examples/jsm/loaders/OBJLoader.d.ts +1 -8
  110. three/examples/jsm/loaders/PCDLoader.d.ts +1 -8
  111. three/examples/jsm/loaders/PDBLoader.d.ts +1 -8
  112. three/examples/jsm/loaders/PLYLoader.d.ts +1 -8
  113. three/examples/jsm/loaders/PVRLoader.d.ts +0 -0
  114. three/examples/jsm/loaders/RGBELoader.d.ts +0 -0
  115. three/examples/jsm/loaders/RGBMLoader.d.ts +0 -0
  116. three/examples/jsm/loaders/STLLoader.d.ts +1 -8
  117. three/examples/jsm/loaders/SVGLoader.d.ts +1 -8
  118. three/examples/jsm/loaders/TDSLoader.d.ts +1 -8
  119. three/examples/jsm/loaders/TGALoader.d.ts +0 -7
  120. three/examples/jsm/loaders/TIFFLoader.d.ts +0 -0
  121. three/examples/jsm/loaders/TTFLoader.d.ts +1 -8
  122. three/examples/jsm/loaders/TiltLoader.d.ts +1 -8
  123. three/examples/jsm/loaders/USDZLoader.d.ts +1 -9
  124. three/examples/jsm/loaders/VOXLoader.d.ts +1 -8
  125. three/examples/jsm/loaders/VRMLLoader.d.ts +1 -8
  126. three/examples/jsm/loaders/VTKLoader.d.ts +1 -8
  127. three/examples/jsm/loaders/XYZLoader.d.ts +1 -8
  128. three/examples/jsm/materials/MeshGouraudMaterial.d.ts +0 -0
  129. three/examples/jsm/math/Capsule.d.ts +0 -0
  130. three/examples/jsm/math/ColorConverter.d.ts +0 -0
  131. three/examples/jsm/math/ConvexHull.d.ts +0 -0
  132. three/examples/jsm/math/ImprovedNoise.d.ts +0 -0
  133. three/examples/jsm/math/Lut.d.ts +0 -0
  134. three/examples/jsm/math/MeshSurfaceSampler.d.ts +0 -0
  135. three/examples/jsm/math/OBB.d.ts +0 -0
  136. three/examples/jsm/math/Octree.d.ts +0 -0
  137. three/examples/jsm/math/SimplexNoise.d.ts +0 -0
  138. three/examples/jsm/misc/ConvexObjectBreaker.d.ts +0 -0
  139. three/examples/jsm/misc/GPUComputationRenderer.d.ts +0 -0
  140. three/examples/jsm/misc/Gyroscope.d.ts +0 -0
  141. three/examples/jsm/misc/MD2Character.d.ts +0 -0
  142. three/examples/jsm/misc/MD2CharacterComplex.d.ts +0 -0
  143. three/examples/jsm/misc/MorphAnimMesh.d.ts +0 -0
  144. three/examples/jsm/misc/MorphBlendMesh.d.ts +0 -0
  145. three/examples/jsm/misc/ProgressiveLightMap.d.ts +0 -0
  146. three/examples/jsm/misc/RollerCoaster.d.ts +0 -0
  147. three/examples/jsm/misc/TubePainter.d.ts +0 -0
  148. three/examples/jsm/misc/Volume.d.ts +0 -0
  149. three/examples/jsm/misc/VolumeSlice.d.ts +0 -0
  150. three/examples/jsm/modifiers/CurveModifier.d.ts +0 -0
  151. three/examples/jsm/modifiers/EdgeSplitModifier.d.ts +0 -0
  152. three/examples/jsm/modifiers/SimplifyModifier.d.ts +0 -0
  153. three/examples/jsm/modifiers/TessellateModifier.d.ts +0 -0
  154. three/examples/jsm/nodes/Nodes.d.ts +0 -0
  155. three/examples/jsm/nodes/accessors/BitangentNode.d.ts +0 -0
  156. three/examples/jsm/nodes/accessors/BufferNode.d.ts +0 -0
  157. three/examples/jsm/nodes/accessors/CameraNode.d.ts +0 -0
  158. three/examples/jsm/nodes/accessors/CubeTextureNode.d.ts +0 -0
  159. three/examples/jsm/nodes/accessors/InstanceNode.d.ts +0 -0
  160. three/examples/jsm/nodes/accessors/MaterialNode.d.ts +0 -0
  161. three/examples/jsm/nodes/accessors/MaterialReferenceNode.d.ts +0 -0
  162. three/examples/jsm/nodes/accessors/ModelNode.d.ts +0 -0
  163. three/examples/jsm/nodes/accessors/ModelViewProjectionNode.d.ts +0 -0
  164. three/examples/jsm/nodes/accessors/NormalNode.d.ts +0 -0
  165. three/examples/jsm/nodes/accessors/Object3DNode.d.ts +0 -0
  166. three/examples/jsm/nodes/accessors/PointUVNode.d.ts +0 -0
  167. three/examples/jsm/nodes/accessors/PositionNode.d.ts +0 -0
  168. three/examples/jsm/nodes/accessors/ReferenceNode.d.ts +0 -0
  169. three/examples/jsm/nodes/accessors/ReflectVectorNode.d.ts +1 -1
  170. three/examples/jsm/nodes/accessors/SkinningNode.d.ts +0 -0
  171. three/examples/jsm/nodes/accessors/StorageBufferNode.d.ts +0 -0
  172. three/examples/jsm/nodes/accessors/TangentNode.d.ts +0 -0
  173. three/examples/jsm/nodes/accessors/TextureNode.d.ts +0 -0
  174. three/examples/jsm/nodes/accessors/UVNode.d.ts +0 -0
  175. three/examples/jsm/nodes/accessors/UserDataNode.d.ts +0 -0
  176. three/examples/jsm/nodes/code/CodeNode.d.ts +0 -0
  177. three/examples/jsm/nodes/code/ExpressionNode.d.ts +0 -0
  178. three/examples/jsm/nodes/code/FunctionCallNode.d.ts +0 -0
  179. three/examples/jsm/nodes/code/FunctionNode.d.ts +0 -0
  180. three/examples/jsm/nodes/core/ArrayUniformNode.d.ts +0 -0
  181. three/examples/jsm/nodes/core/AttributeNode.d.ts +0 -0
  182. three/examples/jsm/nodes/core/BypassNode.d.ts +0 -0
  183. three/examples/jsm/nodes/core/CacheNode.d.ts +0 -0
  184. three/examples/jsm/nodes/core/ConstNode.d.ts +0 -0
  185. three/examples/jsm/nodes/core/ContextNode.d.ts +0 -0
  186. three/examples/jsm/nodes/core/InputNode.d.ts +0 -0
  187. three/examples/jsm/nodes/core/Node.d.ts +1 -1
  188. three/examples/jsm/nodes/core/NodeAttribute.d.ts +0 -0
  189. three/examples/jsm/nodes/core/NodeBuilder.d.ts +0 -0
  190. three/examples/jsm/nodes/core/NodeCache.d.ts +0 -0
  191. three/examples/jsm/nodes/core/NodeCode.d.ts +0 -0
  192. three/examples/jsm/nodes/core/NodeFrame.d.ts +0 -0
  193. three/examples/jsm/nodes/core/NodeFunction.d.ts +0 -0
  194. three/examples/jsm/nodes/core/NodeFunctionInput.d.ts +0 -0
  195. three/examples/jsm/nodes/core/NodeKeywords.d.ts +0 -0
  196. three/examples/jsm/nodes/core/NodeParser.d.ts +0 -0
  197. three/examples/jsm/nodes/core/NodeUniform.d.ts +0 -0
  198. three/examples/jsm/nodes/core/NodeUtils.d.ts +0 -0
  199. three/examples/jsm/nodes/core/NodeVar.d.ts +0 -0
  200. three/examples/jsm/nodes/core/NodeVarying.d.ts +0 -0
  201. three/examples/jsm/nodes/core/PropertyNode.d.ts +0 -0
  202. three/examples/jsm/nodes/core/StackNode.d.ts +0 -0
  203. three/examples/jsm/nodes/core/TempNode.d.ts +0 -0
  204. three/examples/jsm/nodes/core/UniformNode.d.ts +0 -0
  205. three/examples/jsm/nodes/core/VarNode.d.ts +0 -0
  206. three/examples/jsm/nodes/core/VaryingNode.d.ts +0 -0
  207. three/examples/jsm/nodes/core/constants.d.ts +0 -0
  208. three/examples/jsm/nodes/display/BlendModeNode.d.ts +1 -1
  209. three/examples/jsm/nodes/display/ColorAdjustmentNode.d.ts +0 -0
  210. three/examples/jsm/nodes/display/ColorSpaceNode.d.ts +0 -0
  211. three/examples/jsm/nodes/display/FrontFacingNode.d.ts +0 -0
  212. three/examples/jsm/nodes/display/NormalMapNode.d.ts +0 -0
  213. three/examples/jsm/nodes/display/PosterizeNode.d.ts +0 -0
  214. three/examples/jsm/nodes/display/ToneMappingNode.d.ts +0 -0
  215. three/examples/jsm/nodes/display/ViewportNode.d.ts +0 -0
  216. three/examples/jsm/nodes/fog/FogExp2Node.d.ts +0 -0
  217. three/examples/jsm/nodes/fog/FogNode.d.ts +0 -0
  218. three/examples/jsm/nodes/fog/FogRangeNode.d.ts +0 -0
  219. three/examples/jsm/nodes/functions/BSDF/BRDF_GGX.d.ts +0 -0
  220. three/examples/jsm/nodes/functions/BSDF/BRDF_Lambert.d.ts +0 -0
  221. three/examples/jsm/nodes/functions/BSDF/DFGApprox.d.ts +0 -0
  222. three/examples/jsm/nodes/functions/BSDF/D_GGX.d.ts +0 -0
  223. three/examples/jsm/nodes/functions/BSDF/F_Schlick.d.ts +0 -0
  224. three/examples/jsm/nodes/functions/BSDF/V_GGX_SmithCorrelated.d.ts +0 -0
  225. three/examples/jsm/nodes/functions/PhysicalLightingModel.d.ts +0 -0
  226. three/examples/jsm/nodes/functions/material/getGeometryRoughness.d.ts +0 -0
  227. three/examples/jsm/nodes/functions/material/getRoughness.d.ts +0 -0
  228. three/examples/jsm/nodes/geometry/RangeNode.d.ts +0 -0
  229. three/examples/jsm/nodes/gpgpu/ComputeNode.d.ts +0 -0
  230. three/examples/jsm/nodes/lighting/AONode.d.ts +0 -0
  231. three/examples/jsm/nodes/lighting/AnalyticLightNode.d.ts +0 -0
  232. three/examples/jsm/nodes/lighting/EnvironmentNode.d.ts +0 -0
  233. three/examples/jsm/nodes/lighting/HemisphereLightNode.d.ts +0 -0
  234. three/examples/jsm/nodes/lighting/LightUtils.d.ts +0 -0
  235. three/examples/jsm/nodes/lighting/LightingContextNode.d.ts +0 -0
  236. three/examples/jsm/nodes/lighting/LightingNode.d.ts +0 -0
  237. three/examples/jsm/nodes/lighting/LightsNode.d.ts +0 -0
  238. three/examples/jsm/nodes/lighting/PointLightNode.d.ts +0 -0
  239. three/examples/jsm/nodes/lighting/SpotLightNode.d.ts +0 -0
  240. three/examples/jsm/nodes/loaders/NodeLoader.d.ts +1 -9
  241. three/examples/jsm/nodes/loaders/NodeMaterialLoader.d.ts +0 -0
  242. three/examples/jsm/nodes/loaders/NodeObjectLoader.d.ts +0 -0
  243. three/examples/jsm/nodes/materials/LineBasicNodeMaterial.d.ts +0 -0
  244. three/examples/jsm/nodes/materials/Materials.d.ts +0 -0
  245. three/examples/jsm/nodes/materials/MeshBasicNodeMaterial.d.ts +0 -0
  246. three/examples/jsm/nodes/materials/MeshPhysicalNodeMaterial.d.ts +0 -0
  247. three/examples/jsm/nodes/materials/MeshStandardNodeMaterial.d.ts +0 -0
  248. three/examples/jsm/nodes/materials/NodeMaterial.d.ts +0 -0
  249. three/examples/jsm/nodes/materials/PointsNodeMaterial.d.ts +0 -0
  250. three/examples/jsm/nodes/materials/SpriteNodeMaterial.d.ts +0 -0
  251. three/examples/jsm/nodes/materialx/MaterialXNodes.d.ts +0 -0
  252. three/examples/jsm/nodes/materialx/lib/mx_hsv.d.ts +0 -0
  253. three/examples/jsm/nodes/materialx/lib/mx_noise.d.ts +0 -0
  254. three/examples/jsm/nodes/math/CondNode.d.ts +0 -0
  255. three/examples/jsm/nodes/math/MathNode.d.ts +0 -0
  256. three/examples/jsm/nodes/math/OperatorNode.d.ts +0 -0
  257. three/examples/jsm/nodes/procedural/CheckerNode.d.ts +0 -0
  258. three/examples/jsm/nodes/shadernode/ShaderNode.d.ts +0 -0
  259. three/examples/jsm/nodes/shadernode/ShaderNodeBaseElements.d.ts +0 -0
  260. three/examples/jsm/nodes/shadernode/ShaderNodeElements.d.ts +0 -0
  261. three/examples/jsm/nodes/utils/ArrayElementNode.d.ts +0 -0
  262. three/examples/jsm/nodes/utils/ConvertNode.d.ts +0 -0
  263. three/examples/jsm/nodes/utils/EquirectUVNode.d.ts +0 -0
  264. three/examples/jsm/nodes/utils/JoinNode.d.ts +0 -0
  265. three/examples/jsm/nodes/utils/MatcapUVNode.d.ts +0 -0
  266. three/examples/jsm/nodes/utils/MaxMipLevelNode.d.ts +0 -0
  267. three/examples/jsm/nodes/utils/OscNode.d.ts +0 -0
  268. three/examples/jsm/nodes/utils/RemapNode.d.ts +0 -0
  269. three/examples/jsm/nodes/utils/RotateUVNode.d.ts +0 -0
  270. three/examples/jsm/nodes/utils/SpecularMIPLevelNode.d.ts +0 -0
  271. three/examples/jsm/nodes/utils/SplitNode.d.ts +0 -0
  272. three/examples/jsm/nodes/utils/SpriteSheetUVNode.d.ts +0 -0
  273. three/examples/jsm/nodes/utils/TimerNode.d.ts +0 -0
  274. three/examples/jsm/nodes/utils/TriplanarTexturesNode.d.ts +0 -0
  275. three/examples/jsm/objects/GroundProjectedSkybox.d.ts +0 -0
  276. three/examples/jsm/objects/Lensflare.d.ts +0 -0
  277. three/examples/jsm/objects/MarchingCubes.d.ts +0 -0
  278. three/examples/jsm/objects/Reflector.d.ts +0 -0
  279. three/examples/jsm/objects/ReflectorForSSRPass.d.ts +0 -0
  280. three/examples/jsm/objects/Refractor.d.ts +0 -0
  281. three/examples/jsm/objects/ShadowMesh.d.ts +0 -0
  282. three/examples/jsm/objects/Sky.d.ts +0 -0
  283. three/examples/jsm/objects/Water.d.ts +0 -0
  284. three/examples/jsm/objects/Water2.d.ts +0 -0
  285. three/examples/jsm/physics/AmmoPhysics.d.ts +0 -0
  286. three/examples/jsm/physics/RapierPhysics.d.ts +0 -0
  287. three/examples/jsm/postprocessing/AfterimagePass.d.ts +0 -0
  288. three/examples/jsm/postprocessing/BloomPass.d.ts +0 -0
  289. three/examples/jsm/postprocessing/BokehPass.d.ts +0 -0
  290. three/examples/jsm/postprocessing/ClearPass.d.ts +0 -0
  291. three/examples/jsm/postprocessing/CubeTexturePass.d.ts +0 -0
  292. three/examples/jsm/postprocessing/DotScreenPass.d.ts +0 -0
  293. three/examples/jsm/postprocessing/EffectComposer.d.ts +0 -0
  294. three/examples/jsm/postprocessing/FilmPass.d.ts +1 -1
  295. three/examples/jsm/postprocessing/GlitchPass.d.ts +0 -0
  296. three/examples/jsm/postprocessing/HalftonePass.d.ts +0 -0
  297. three/examples/jsm/postprocessing/LUTPass.d.ts +0 -0
  298. three/examples/jsm/postprocessing/MaskPass.d.ts +0 -0
  299. three/examples/jsm/postprocessing/OutlinePass.d.ts +0 -0
  300. three/examples/jsm/postprocessing/OutputPass.d.ts +0 -0
  301. three/examples/jsm/postprocessing/Pass.d.ts +0 -0
  302. three/examples/jsm/postprocessing/RenderPass.d.ts +15 -5
  303. three/examples/jsm/postprocessing/RenderPixelatedPass.d.ts +0 -0
  304. three/examples/jsm/postprocessing/SAOPass.d.ts +1 -10
  305. three/examples/jsm/postprocessing/SMAAPass.d.ts +0 -0
  306. three/examples/jsm/postprocessing/SSAARenderPass.d.ts +0 -0
  307. three/examples/jsm/postprocessing/SSAOPass.d.ts +2 -5
  308. three/examples/jsm/postprocessing/SSRPass.d.ts +0 -0
  309. three/examples/jsm/postprocessing/SavePass.d.ts +0 -0
  310. three/examples/jsm/postprocessing/ShaderPass.d.ts +0 -0
  311. three/examples/jsm/postprocessing/TAARenderPass.d.ts +0 -0
  312. three/examples/jsm/postprocessing/TexturePass.d.ts +0 -0
  313. three/examples/jsm/postprocessing/UnrealBloomPass.d.ts +0 -0
  314. three/examples/jsm/renderers/CSS2DRenderer.d.ts +0 -0
  315. three/examples/jsm/renderers/CSS3DRenderer.d.ts +0 -0
  316. three/examples/jsm/renderers/Projector.d.ts +0 -0
  317. three/examples/jsm/renderers/SVGRenderer.d.ts +0 -0
  318. three/examples/jsm/renderers/webgl/nodes/SlotNode.d.ts +0 -0
  319. three/examples/jsm/renderers/webgl/nodes/WebGLNodeBuilder.d.ts +0 -0
  320. three/examples/jsm/renderers/webgl/nodes/WebGLNodes.d.ts +0 -0
  321. three/examples/jsm/shaders/ACESFilmicToneMappingShader.d.ts +0 -0
  322. three/examples/jsm/shaders/AfterimageShader.d.ts +0 -0
  323. three/examples/jsm/shaders/BasicShader.d.ts +0 -0
  324. three/examples/jsm/shaders/BleachBypassShader.d.ts +0 -0
  325. three/examples/jsm/shaders/BlendShader.d.ts +0 -0
  326. three/examples/jsm/shaders/BokehShader.d.ts +0 -0
  327. three/examples/jsm/shaders/BokehShader2.d.ts +0 -0
  328. three/examples/jsm/shaders/BrightnessContrastShader.d.ts +0 -0
  329. three/examples/jsm/shaders/ColorCorrectionShader.d.ts +0 -0
  330. three/examples/jsm/shaders/ColorifyShader.d.ts +0 -0
  331. three/examples/jsm/shaders/ConvolutionShader.d.ts +0 -0
  332. three/examples/jsm/shaders/CopyShader.d.ts +0 -0
  333. three/examples/jsm/shaders/DOFMipMapShader.d.ts +0 -0
  334. three/examples/jsm/shaders/DepthLimitedBlurShader.d.ts +0 -0
  335. three/examples/jsm/shaders/DigitalGlitch.d.ts +0 -0
  336. three/examples/jsm/shaders/DotScreenShader.d.ts +0 -0
  337. three/examples/jsm/shaders/FXAAShader.d.ts +0 -0
  338. three/examples/jsm/shaders/FilmShader.d.ts +1 -3
  339. three/examples/jsm/shaders/FocusShader.d.ts +0 -0
  340. three/examples/jsm/shaders/FreiChenShader.d.ts +0 -0
  341. three/examples/jsm/shaders/GammaCorrectionShader.d.ts +0 -0
  342. three/examples/jsm/shaders/GodRaysShader.d.ts +0 -0
  343. three/examples/jsm/shaders/HalftoneShader.d.ts +0 -0
  344. three/examples/jsm/shaders/HorizontalBlurShader.d.ts +0 -0
  345. three/examples/jsm/shaders/HorizontalTiltShiftShader.d.ts +0 -0
  346. three/examples/jsm/shaders/HueSaturationShader.d.ts +0 -0
  347. three/examples/jsm/shaders/KaleidoShader.d.ts +0 -0
  348. three/examples/jsm/shaders/LuminosityHighPassShader.d.ts +0 -0
  349. three/examples/jsm/shaders/LuminosityShader.d.ts +0 -0
  350. three/examples/jsm/shaders/MirrorShader.d.ts +0 -0
  351. three/examples/jsm/shaders/NormalMapShader.d.ts +0 -0
  352. three/examples/jsm/shaders/OutputShader.d.ts +0 -0
  353. three/examples/jsm/shaders/RGBShiftShader.d.ts +0 -0
  354. three/examples/jsm/shaders/SAOShader.d.ts +0 -2
  355. three/examples/jsm/shaders/SMAAShader.d.ts +0 -0
  356. three/examples/jsm/shaders/SSAOShader.d.ts +0 -1
  357. three/examples/jsm/shaders/SSRShader.d.ts +0 -0
  358. three/examples/jsm/shaders/SepiaShader.d.ts +0 -0
  359. three/examples/jsm/shaders/SobelOperatorShader.d.ts +0 -0
  360. three/examples/jsm/shaders/SubsurfaceScatteringShader.d.ts +0 -0
  361. three/examples/jsm/shaders/TechnicolorShader.d.ts +0 -0
  362. three/examples/jsm/shaders/ToonShader.d.ts +0 -0
  363. three/examples/jsm/shaders/TriangleBlurShader.d.ts +0 -0
  364. three/examples/jsm/shaders/UnpackDepthRGBAShader.d.ts +0 -0
  365. three/examples/jsm/shaders/VelocityShader.d.ts +0 -0
  366. three/examples/jsm/shaders/VerticalBlurShader.d.ts +0 -0
  367. three/examples/jsm/shaders/VerticalTiltShiftShader.d.ts +0 -0
  368. three/examples/jsm/shaders/VignetteShader.d.ts +0 -0
  369. three/examples/jsm/shaders/VolumeShader.d.ts +0 -0
  370. three/examples/jsm/shaders/WaterRefractionShader.d.ts +0 -0
  371. three/examples/jsm/textures/FlakesTexture.d.ts +0 -0
  372. three/examples/jsm/utils/BufferGeometryUtils.d.ts +0 -0
  373. three/examples/jsm/utils/CameraUtils.d.ts +0 -0
  374. three/examples/jsm/utils/GeometryCompressionUtils.d.ts +0 -0
  375. three/examples/jsm/utils/GeometryUtils.d.ts +0 -0
  376. three/examples/jsm/utils/LDrawUtils.d.ts +0 -0
  377. three/examples/jsm/utils/PackedPhongMaterial.d.ts +0 -0
  378. three/examples/jsm/utils/SceneUtils.d.ts +0 -0
  379. three/examples/jsm/utils/ShadowMapViewer.d.ts +0 -0
  380. three/examples/jsm/utils/SkeletonUtils.d.ts +0 -0
  381. three/examples/jsm/utils/UVsDebug.d.ts +0 -0
  382. three/examples/jsm/webxr/ARButton.d.ts +0 -0
  383. three/examples/jsm/webxr/OculusHandModel.d.ts +0 -0
  384. three/examples/jsm/webxr/OculusHandPointerModel.d.ts +0 -0
  385. three/examples/jsm/webxr/Text2D.d.ts +0 -0
  386. three/examples/jsm/webxr/VRButton.d.ts +0 -0
  387. three/examples/jsm/webxr/XRButton.d.ts +0 -0
  388. three/examples/jsm/webxr/XRControllerModelFactory.d.ts +0 -0
  389. three/examples/jsm/webxr/XREstimatedLight.d.ts +7 -2
  390. three/examples/jsm/webxr/XRHandMeshModel.d.ts +0 -0
  391. three/examples/jsm/webxr/XRHandModelFactory.d.ts +0 -0
  392. three/examples/jsm/webxr/XRHandPrimitiveModel.d.ts +0 -0
  393. three/examples/jsm/webxr/XRPlanes.d.ts +0 -0
  394. three/index.d.ts +1 -2
  395. three/package.json +4 -6
  396. three/src/Three.Legacy.d.ts +0 -0
  397. three/src/Three.d.ts +5 -3
  398. three/src/animation/AnimationAction.d.ts +0 -0
  399. three/src/animation/AnimationClip.d.ts +0 -0
  400. three/src/animation/AnimationMixer.d.ts +6 -1
  401. three/src/animation/AnimationObjectGroup.d.ts +0 -0
  402. three/src/animation/AnimationUtils.d.ts +0 -1
  403. three/src/animation/KeyframeTrack.d.ts +0 -0
  404. three/src/animation/PropertyBinding.d.ts +0 -0
  405. three/src/animation/PropertyMixer.d.ts +0 -0
  406. three/src/animation/tracks/BooleanKeyframeTrack.d.ts +0 -0
  407. three/src/animation/tracks/ColorKeyframeTrack.d.ts +0 -0
  408. three/src/animation/tracks/NumberKeyframeTrack.d.ts +0 -0
  409. three/src/animation/tracks/QuaternionKeyframeTrack.d.ts +0 -0
  410. three/src/animation/tracks/StringKeyframeTrack.d.ts +0 -0
  411. three/src/animation/tracks/VectorKeyframeTrack.d.ts +0 -0
  412. three/src/audio/Audio.d.ts +0 -0
  413. three/src/audio/AudioAnalyser.d.ts +0 -0
  414. three/src/audio/AudioContext.d.ts +0 -0
  415. three/src/audio/AudioListener.d.ts +0 -0
  416. three/src/audio/PositionalAudio.d.ts +0 -0
  417. three/src/cameras/ArrayCamera.d.ts +0 -0
  418. three/src/cameras/Camera.d.ts +0 -0
  419. three/src/cameras/CubeCamera.d.ts +6 -4
  420. three/src/cameras/OrthographicCamera.d.ts +0 -0
  421. three/src/cameras/PerspectiveCamera.d.ts +0 -0
  422. three/src/cameras/StereoCamera.d.ts +0 -0
  423. three/src/constants.d.ts +15 -1
  424. three/src/core/BufferAttribute.d.ts +0 -0
  425. three/src/core/BufferGeometry.d.ts +1 -1
  426. three/src/core/Clock.d.ts +0 -0
  427. three/src/core/EventDispatcher.d.ts +30 -12
  428. three/src/core/GLBufferAttribute.d.ts +0 -0
  429. three/src/core/InstancedBufferAttribute.d.ts +0 -0
  430. three/src/core/InstancedBufferGeometry.d.ts +0 -0
  431. three/src/core/InstancedInterleavedBuffer.d.ts +0 -0
  432. three/src/core/InterleavedBuffer.d.ts +0 -0
  433. three/src/core/InterleavedBufferAttribute.d.ts +0 -0
  434. three/src/core/Layers.d.ts +0 -0
  435. three/src/core/Object3D.d.ts +17 -12
  436. three/src/core/Raycaster.d.ts +10 -10
  437. three/src/core/RenderTarget.d.ts +3 -1
  438. three/src/core/Uniform.d.ts +0 -0
  439. three/src/core/UniformsGroup.d.ts +1 -1
  440. three/src/extras/DataUtils.d.ts +0 -0
  441. three/src/extras/Earcut.d.ts +0 -0
  442. three/src/extras/ImageUtils.d.ts +0 -0
  443. three/src/extras/PMREMGenerator.d.ts +0 -0
  444. three/src/extras/ShapeUtils.d.ts +0 -0
  445. three/src/extras/core/Curve.d.ts +0 -0
  446. three/src/extras/core/CurvePath.d.ts +2 -2
  447. three/src/extras/core/Interpolations.d.ts +0 -0
  448. three/src/extras/core/Path.d.ts +10 -10
  449. three/src/extras/core/Shape.d.ts +0 -0
  450. three/src/extras/core/ShapePath.d.ts +0 -0
  451. three/src/extras/curves/ArcCurve.d.ts +0 -0
  452. three/src/extras/curves/CatmullRomCurve3.d.ts +0 -0
  453. three/src/extras/curves/CubicBezierCurve.d.ts +0 -0
  454. three/src/extras/curves/CubicBezierCurve3.d.ts +0 -0
  455. three/src/extras/curves/Curves.d.ts +0 -0
  456. three/src/extras/curves/EllipseCurve.d.ts +0 -0
  457. three/src/extras/curves/LineCurve.d.ts +0 -0
  458. three/src/extras/curves/LineCurve3.d.ts +0 -0
  459. three/src/extras/curves/QuadraticBezierCurve.d.ts +0 -0
  460. three/src/extras/curves/QuadraticBezierCurve3.d.ts +0 -0
  461. three/src/extras/curves/SplineCurve.d.ts +0 -0
  462. three/src/geometries/BoxGeometry.d.ts +0 -0
  463. three/src/geometries/CapsuleGeometry.d.ts +0 -0
  464. three/src/geometries/CircleGeometry.d.ts +0 -0
  465. three/src/geometries/ConeGeometry.d.ts +0 -0
  466. three/src/geometries/CylinderGeometry.d.ts +0 -0
  467. three/src/geometries/DodecahedronGeometry.d.ts +0 -0
  468. three/src/geometries/EdgesGeometry.d.ts +0 -0
  469. three/src/geometries/ExtrudeGeometry.d.ts +0 -0
  470. three/src/geometries/Geometries.d.ts +0 -0
  471. three/src/geometries/IcosahedronGeometry.d.ts +0 -0
  472. three/src/geometries/LatheGeometry.d.ts +0 -0
  473. three/src/geometries/OctahedronGeometry.d.ts +0 -0
  474. three/src/geometries/PlaneGeometry.d.ts +0 -0
  475. three/src/geometries/PolyhedronGeometry.d.ts +0 -0
  476. three/src/geometries/RingGeometry.d.ts +0 -0
  477. three/src/geometries/ShapeGeometry.d.ts +0 -0
  478. three/src/geometries/SphereGeometry.d.ts +0 -0
  479. three/src/geometries/TetrahedronGeometry.d.ts +0 -0
  480. three/src/geometries/TorusGeometry.d.ts +0 -0
  481. three/src/geometries/TorusKnotGeometry.d.ts +0 -0
  482. three/src/geometries/TubeGeometry.d.ts +0 -0
  483. three/src/geometries/WireframeGeometry.d.ts +0 -0
  484. three/src/helpers/ArrowHelper.d.ts +0 -0
  485. three/src/helpers/AxesHelper.d.ts +0 -0
  486. three/src/helpers/Box3Helper.d.ts +0 -0
  487. three/src/helpers/BoxHelper.d.ts +0 -0
  488. three/src/helpers/CameraHelper.d.ts +0 -0
  489. three/src/helpers/DirectionalLightHelper.d.ts +0 -0
  490. three/src/helpers/GridHelper.d.ts +0 -0
  491. three/src/helpers/HemisphereLightHelper.d.ts +0 -0
  492. three/src/helpers/PlaneHelper.d.ts +0 -0
  493. three/src/helpers/PointLightHelper.d.ts +0 -0
  494. three/src/helpers/PolarGridHelper.d.ts +0 -0
  495. three/src/helpers/SkeletonHelper.d.ts +0 -0
  496. three/src/helpers/SpotLightHelper.d.ts +0 -0
  497. three/src/lights/AmbientLight.d.ts +0 -0
  498. three/src/lights/DirectionalLight.d.ts +0 -0
  499. three/src/lights/DirectionalLightShadow.d.ts +0 -0
  500. three/src/lights/HemisphereLight.d.ts +0 -0
  501. three/src/lights/Light.d.ts +0 -0
  502. three/src/lights/LightProbe.d.ts +0 -0
  503. three/src/lights/LightShadow.d.ts +0 -0
  504. three/src/lights/PointLight.d.ts +0 -0
  505. three/src/lights/PointLightShadow.d.ts +0 -0
  506. three/src/lights/RectAreaLight.d.ts +0 -0
  507. three/src/lights/SpotLight.d.ts +0 -0
  508. three/src/lights/SpotLightShadow.d.ts +0 -0
  509. three/src/loaders/AnimationLoader.d.ts +3 -10
  510. three/src/loaders/AudioLoader.d.ts +1 -10
  511. three/src/loaders/BufferGeometryLoader.d.ts +3 -13
  512. three/src/loaders/Cache.d.ts +0 -0
  513. three/src/loaders/CompressedTextureLoader.d.ts +4 -6
  514. three/src/loaders/CubeTextureLoader.d.ts +5 -7
  515. three/src/loaders/DataTextureLoader.d.ts +4 -6
  516. three/src/loaders/FileLoader.d.ts +8 -8
  517. three/src/loaders/ImageBitmapLoader.d.ts +8 -9
  518. three/src/loaders/ImageLoader.d.ts +3 -5
  519. three/src/loaders/Loader.d.ts +8 -6
  520. three/src/loaders/LoaderUtils.d.ts +0 -0
  521. three/src/loaders/LoadingManager.d.ts +0 -0
  522. three/src/loaders/MaterialLoader.d.ts +4 -11
  523. three/src/loaders/ObjectLoader.d.ts +18 -25
  524. three/src/loaders/TextureLoader.d.ts +4 -6
  525. three/src/materials/LineBasicMaterial.d.ts +0 -0
  526. three/src/materials/LineDashedMaterial.d.ts +0 -0
  527. three/src/materials/Material.d.ts +7 -1
  528. three/src/materials/Materials.d.ts +0 -0
  529. three/src/materials/MeshBasicMaterial.d.ts +0 -0
  530. three/src/materials/MeshDepthMaterial.d.ts +0 -0
  531. three/src/materials/MeshDistanceMaterial.d.ts +0 -0
  532. three/src/materials/MeshLambertMaterial.d.ts +0 -0
  533. three/src/materials/MeshMatcapMaterial.d.ts +0 -0
  534. three/src/materials/MeshNormalMaterial.d.ts +0 -0
  535. three/src/materials/MeshPhongMaterial.d.ts +0 -0
  536. three/src/materials/MeshPhysicalMaterial.d.ts +0 -0
  537. three/src/materials/MeshStandardMaterial.d.ts +0 -0
  538. three/src/materials/MeshToonMaterial.d.ts +0 -0
  539. three/src/materials/PointsMaterial.d.ts +0 -0
  540. three/src/materials/RawShaderMaterial.d.ts +0 -0
  541. three/src/materials/ShaderMaterial.d.ts +0 -0
  542. three/src/materials/ShadowMaterial.d.ts +0 -0
  543. three/src/materials/SpriteMaterial.d.ts +0 -0
  544. three/src/math/Box2.d.ts +0 -0
  545. three/src/math/Box3.d.ts +0 -0
  546. three/src/math/Color.d.ts +1 -2
  547. three/src/math/ColorManagement.d.ts +35 -23
  548. three/src/math/Cylindrical.d.ts +0 -0
  549. three/src/math/Euler.d.ts +0 -0
  550. three/src/math/Frustum.d.ts +0 -0
  551. three/src/math/Interpolant.d.ts +0 -0
  552. three/src/math/Line3.d.ts +0 -0
  553. three/src/math/MathUtils.d.ts +0 -0
  554. three/src/math/Matrix3.d.ts +0 -0
  555. three/src/math/Matrix4.d.ts +0 -0
  556. three/src/math/Plane.d.ts +0 -0
  557. three/src/math/Quaternion.d.ts +0 -0
  558. three/src/math/Ray.d.ts +0 -0
  559. three/src/math/Sphere.d.ts +0 -0
  560. three/src/math/Spherical.d.ts +0 -0
  561. three/src/math/SphericalHarmonics3.d.ts +0 -0
  562. three/src/math/Triangle.d.ts +0 -0
  563. three/src/math/Vector2.d.ts +0 -0
  564. three/src/math/Vector3.d.ts +0 -0
  565. three/src/math/Vector4.d.ts +0 -0
  566. three/src/math/interpolants/CubicInterpolant.d.ts +0 -0
  567. three/src/math/interpolants/DiscreteInterpolant.d.ts +0 -0
  568. three/src/math/interpolants/LinearInterpolant.d.ts +0 -0
  569. three/src/math/interpolants/QuaternionLinearInterpolant.d.ts +0 -0
  570. three/src/objects/Bone.d.ts +0 -0
  571. three/src/objects/Group.d.ts +2 -2
  572. three/src/objects/InstancedMesh.d.ts +11 -6
  573. three/src/objects/LOD.d.ts +0 -0
  574. three/src/objects/Line.d.ts +0 -0
  575. three/src/objects/LineLoop.d.ts +0 -0
  576. three/src/objects/LineSegments.d.ts +0 -0
  577. three/src/objects/Mesh.d.ts +4 -5
  578. three/src/objects/Points.d.ts +0 -0
  579. three/src/objects/Skeleton.d.ts +0 -0
  580. three/src/objects/SkinnedMesh.d.ts +0 -0
  581. three/src/objects/Sprite.d.ts +2 -4
  582. three/src/renderers/WebGL1Renderer.d.ts +0 -0
  583. three/src/renderers/WebGL3DRenderTarget.d.ts +0 -0
  584. three/src/renderers/WebGLArrayRenderTarget.d.ts +0 -0
  585. three/src/renderers/WebGLCubeRenderTarget.d.ts +0 -0
  586. three/src/renderers/WebGLMultipleRenderTargets.d.ts +0 -0
  587. three/src/renderers/WebGLRenderTarget.d.ts +0 -0
  588. three/src/renderers/WebGLRenderer.d.ts +2 -1
  589. three/src/renderers/shaders/ShaderChunk.d.ts +0 -0
  590. three/src/renderers/shaders/ShaderLib.d.ts +0 -0
  591. three/src/renderers/shaders/UniformsLib.d.ts +0 -0
  592. three/src/renderers/shaders/UniformsUtils.d.ts +0 -0
  593. three/src/renderers/webgl/WebGLAttributes.d.ts +0 -0
  594. three/src/renderers/webgl/WebGLBindingStates.d.ts +0 -0
  595. three/src/renderers/webgl/WebGLBufferRenderer.d.ts +0 -0
  596. three/src/renderers/webgl/WebGLCapabilities.d.ts +0 -0
  597. three/src/renderers/webgl/WebGLClipping.d.ts +0 -0
  598. three/src/renderers/webgl/WebGLCubeMaps.d.ts +0 -0
  599. three/src/renderers/webgl/WebGLCubeUVMaps.d.ts +0 -0
  600. three/src/renderers/webgl/WebGLExtensions.d.ts +0 -0
  601. three/src/renderers/webgl/WebGLGeometries.d.ts +0 -0
  602. three/src/renderers/webgl/WebGLIndexedBufferRenderer.d.ts +0 -0
  603. three/src/renderers/webgl/WebGLInfo.d.ts +0 -0
  604. three/src/renderers/webgl/WebGLLights.d.ts +5 -0
  605. three/src/renderers/webgl/WebGLObjects.d.ts +0 -0
  606. three/src/renderers/webgl/WebGLProgram.d.ts +1 -1
  607. three/src/renderers/webgl/WebGLPrograms.d.ts +0 -0
  608. three/src/renderers/webgl/WebGLProperties.d.ts +0 -0
  609. three/src/renderers/webgl/WebGLRenderLists.d.ts +0 -0
  610. three/src/renderers/webgl/WebGLShader.d.ts +0 -0
  611. three/src/renderers/webgl/WebGLShadowMap.d.ts +0 -0
  612. three/src/renderers/webgl/WebGLState.d.ts +0 -0
  613. three/src/renderers/webgl/WebGLTextures.d.ts +0 -0
  614. three/src/renderers/webgl/WebGLUniforms.d.ts +0 -0
  615. three/src/renderers/webgl/WebGLUniformsGroups.d.ts +0 -0
  616. three/src/renderers/webgl/WebGLUtils.d.ts +0 -0
  617. three/src/renderers/webxr/WebXRController.d.ts +21 -3
  618. three/src/renderers/webxr/WebXRManager.d.ts +10 -1
  619. three/src/scenes/Fog.d.ts +0 -0
  620. three/src/scenes/FogExp2.d.ts +0 -0
  621. three/src/scenes/Scene.d.ts +0 -0
  622. three/src/textures/CanvasTexture.d.ts +0 -0
  623. three/src/textures/CompressedArrayTexture.d.ts +0 -0
  624. three/src/textures/CompressedTexture.d.ts +0 -0
  625. three/src/textures/CubeTexture.d.ts +0 -0
  626. three/src/textures/Data3DTexture.d.ts +0 -0
  627. three/src/textures/DataArrayTexture.d.ts +0 -0
  628. three/src/textures/DataTexture.d.ts +0 -0
  629. three/src/textures/DepthTexture.d.ts +0 -0
  630. three/src/textures/FramebufferTexture.d.ts +0 -0
  631. three/src/textures/Source.d.ts +0 -0
  632. three/src/textures/Texture.d.ts +4 -4
  633. three/src/textures/VideoTexture.d.ts +0 -0
  634. three/src/textures/types.d.ts +0 -0
  635. three/src/utils.d.ts +1 -0
  636. three/examples/jsm/loaders/BasisTextureLoader.d.ts +0 -32
  637. three/examples/jsm/loaders/IFCLoader.d.ts +0 -675
  638. three/src/lights/AmbientLightProbe.d.ts +0 -26
  639. three/src/lights/HemisphereLightProbe.d.ts +0 -27
@@ -1,675 +0,0 @@
1
- import {
2
- Loader,
3
- LoadingManager,
4
- Scene,
5
- BufferGeometry,
6
- Material,
7
- Object3D,
8
- Mesh,
9
- BufferAttribute,
10
- } from '../../../src/Three.js';
11
-
12
- declare class IFCLoader extends Loader {
13
- ifcManager: IFCManager;
14
-
15
- constructor(manager?: LoadingManager);
16
-
17
- load(
18
- url: any,
19
- onLoad: (ifc: IFCModel) => void,
20
- onProgress?: (event: ProgressEvent) => void,
21
- onError?: (event: ErrorEvent) => void,
22
- ): void;
23
- loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<IFCModel>;
24
-
25
- parse(buffer: ArrayBuffer): Promise<IFCModel>;
26
- }
27
-
28
- export interface LoaderSettings {
29
- COORDINATE_TO_ORIGIN: boolean;
30
- USE_FAST_BOOLS: boolean;
31
- CIRCLE_SEGMENTS_LOW?: number;
32
- CIRCLE_SEGMENTS_MEDIUM?: number;
33
- CIRCLE_SEGMENTS_HIGH?: number;
34
- }
35
-
36
- export class IFCManager {
37
- private state;
38
- private BVH;
39
- private parser;
40
- private subsets;
41
- private properties;
42
- private types;
43
- private hider;
44
-
45
- parse(buffer: ArrayBuffer): Promise<IFCModel>;
46
-
47
- /**
48
- * Sets the relative path of web-ifc.wasm file in the project.
49
- * Beware: you **must** serve this file in your page; this means
50
- * that you have to copy this files from *node_modules/web-ifc*
51
- * to your deployment directory.
52
- *
53
- * If you don't use this methods,
54
- * IFC.js assumes that you are serving it in the root directory.
55
- *
56
- * Example if web-ifc.wasm is in dist/wasmDir:
57
- * `ifcLoader.setWasmPath("dist/wasmDir/");`
58
- *
59
- * @param path Relative path to web-ifc.wasm.
60
- */
61
- setWasmPath(path: string): void;
62
-
63
- /**
64
- * Applies a configuration for [web-ifc](https://ifcjs.github.io/info/docs/Guide/web-ifc/Introduction).
65
- */
66
- applyWebIfcConfig(settings: LoaderSettings): void;
67
-
68
- /**
69
- * Enables the JSON mode (which consumes way less memory) and eliminates the WASM data.
70
- * Only use this in the following scenarios:
71
- * - If you don't need to access the properties of the IFC
72
- * - If you will provide the properties as JSON.
73
- */
74
- useJSONData(useJSON?: boolean): void;
75
-
76
- /**
77
- * Adds the properties of a model as JSON data.
78
- * @param modelID ID of the IFC model.
79
- * @param data data as an object where the keys are the expressIDs and the values the properties.
80
- */
81
- addModelJSONData(
82
- modelID: number,
83
- data: {
84
- [id: number]: JSONObject;
85
- },
86
- ): void;
87
-
88
- /**
89
- * Completely releases the WASM memory, thus drastically decreasing the memory use of the app.
90
- * Only use this in the following scenarios:
91
- * - If you don't need to access the properties of the IFC
92
- * - If you will provide the properties as JSON.
93
- */
94
- disposeMemory(): void;
95
-
96
- /**
97
- * Makes object picking a lot faster
98
- * Courtesy of gkjohnson's [work](https://github.com/gkjohnson/three-mesh-bvh).
99
- * Import these objects from his library and pass them as arguments. IFC.js takes care of the rest!
100
- */
101
- setupThreeMeshBVH(computeBoundsTree: any, disposeBoundsTree: any, acceleratedRaycast: any): void;
102
-
103
- /**
104
- * Closes the specified model and deletes it from the [scene](https://threejs.org/docs/#api/en/scenes/Scene).
105
- * @param modelID ID of the IFC model.
106
- * @param scene Scene where the model is (if it's located in a scene).
107
- */
108
- close(modelID: number, scene?: Scene): void;
109
-
110
- /**
111
- * Gets the **Express ID** to which the given face belongs.
112
- * This ID uniquely identifies this entity within this IFC file.
113
- * @param geometry The geometry of the IFC model.
114
- * @param faceIndex The index of the face of a geometry.You can easily get this index using the [Raycaster](https://threejs.org/docs/#api/en/core/Raycaster).
115
- */
116
- getExpressId(geometry: BufferGeometry, faceIndex: number): number | undefined;
117
-
118
- /**
119
- * Returns all items of the specified type. You can import
120
- * the types from *web-ifc*.
121
- *
122
- * Example to get all the standard walls of a project:
123
- * ```js
124
- * import { IFCWALLSTANDARDCASE } from 'web-ifc';
125
- * const walls = ifcLoader.getAllItemsOfType(IFCWALLSTANDARDCASE);
126
- * ```
127
- * @param modelID ID of the IFC model.
128
- * @param ifcType type of IFC items to get.
129
- * @param verbose If false (default), this only gets IDs. If true, this also gets the native properties of all the fetched items.
130
- */
131
- getAllItemsOfType(modelID: number, type: number, verbose: boolean): any[];
132
-
133
- /**
134
- * Gets the native properties of the given element.
135
- * @param modelID ID of the IFC model.
136
- * @param id Express ID of the element.
137
- * @param recursive Wether you want to get the information of the referenced elements recursively.
138
- */
139
- getItemProperties(modelID: number, id: number, recursive?: boolean): any;
140
-
141
- /**
142
- * Gets the [property sets](https://standards.buildingsmart.org/IFC/DEV/IFC4_2/FINAL/HTML/schema/ifckernel/lexical/ifcpropertyset.htm)
143
- * assigned to the given element.
144
- * @param modelID ID of the IFC model.
145
- * @param id Express ID of the element.
146
- * @param recursive If true, this gets the native properties of the referenced elements recursively.
147
- */
148
- getPropertySets(modelID: number, id: number, recursive?: boolean): any[];
149
-
150
- /**
151
- * Gets the properties of the type assigned to the element.
152
- * For example, if applied to a wall (IfcWall), this would get back the information
153
- * contained in the IfcWallType assigned to it, if any.
154
- * @param modelID ID of the IFC model.
155
- * @param id Express ID of the element.
156
- * @param recursive If true, this gets the native properties of the referenced elements recursively.
157
- */
158
- getTypeProperties(modelID: number, id: number, recursive?: boolean): any[];
159
-
160
- /**
161
- * Gets the materials assigned to the given element.
162
- * @param modelID ID of the IFC model.
163
- * @param id Express ID of the element.
164
- * @param recursive If true, this gets the native properties of the referenced elements recursively.
165
- */
166
- getMaterialsProperties(modelID: number, id: number, recursive?: boolean): any[];
167
-
168
- /**
169
- * Gets the ifc type of the specified item.
170
- * @param modelID ID of the IFC model.
171
- * @param id Express ID of the element.
172
- */
173
- getIfcType(modelID: number, id: number): string;
174
-
175
- /**
176
- * Gets the spatial structure of the project. The
177
- * [spatial structure](https://standards.buildingsmart.org/IFC/DEV/IFC4_2/FINAL/HTML/schema/ifcproductextension/lexical/ifcspatialstructureelement.htm)
178
- * is the hierarchical structure that organizes every IFC project (all physical items
179
- * are referenced to an element of the spatial structure). It is formed by
180
- * one IfcProject that contains one or more IfcSites, that contain one or more
181
- * IfcBuildings, that contain one or more IfcBuildingStoreys, that contain
182
- * one or more IfcSpaces.
183
- * @param modelID ID of the IFC model.
184
- */
185
- getSpatialStructure(modelID: number): {
186
- expressID: number;
187
- type: string;
188
- children: never[];
189
- };
190
-
191
- /**
192
- * Gets the mesh of the subset with the specified [material](https://threejs.org/docs/#api/en/materials/Material).
193
- * If no material is given, this returns the subset with the original materials.
194
- * @param modelID ID of the IFC model.
195
- * @param material Material assigned to the subset (if any).
196
- */
197
- getSubset(modelID: number, material?: Material): Mesh | null;
198
-
199
- /**
200
- * Removes the specified subset.
201
- * @param modelID ID of the IFC model.
202
- * @param parent The parent where the subset is (can be any `THREE.Object3D`).
203
- * @param material Material assigned to the subset, if any.
204
- */
205
- removeSubset(modelID: number, parent?: Object3D, material?: Material): void;
206
-
207
- /**
208
- * Creates a new geometric subset.
209
- * @param config A configuration object with the following options:
210
- * - **scene**: `THREE.Object3D` where the model is located.
211
- * - **modelID**: ID of the model.
212
- * - **ids**: Express IDs of the items of the model that will conform the subset.
213
- * - **removePrevious**: wether to remove the previous subset of this model with this material.
214
- * - **material**: (optional) wether to apply a material to the subset
215
- */
216
- createSubset(config: HighlightConfigOfModel): void | Mesh;
217
-
218
- /**
219
- * Hides the selected items in the specified model
220
- * @param modelID ID of the IFC model.
221
- * @param ids Express ID of the elements.
222
- */
223
- hideItems(modelID: number, ids: number[]): void;
224
-
225
- /**
226
- * Hides all the items of the specified model
227
- * @param modelID ID of the IFC model.
228
- */
229
- hideAllItems(modelID: number): void;
230
-
231
- /**
232
- * Shows all the items of the specified model
233
- * @param modelID ID of the IFC model.
234
- * @param ids Express ID of the elements.
235
- */
236
- showItems(modelID: number, ids: number[]): void;
237
-
238
- /**
239
- * Shows all the items of the specified model
240
- * @param modelID ID of the IFC model.
241
- */
242
- showAllItems(modelID: number): void;
243
- }
244
-
245
- /**
246
- * Represents an IFC model. This object is returned by the `IFCLoader` after loading an IFC.
247
- * @param geometry `THREE.Buffergeometry`, see Three.js documentation.
248
- * @param materials `THREE.Material[]`, see Three.js documentation.
249
- * @param manager contains all the logic to work with IFC.
250
- */
251
- export class IFCModel extends Mesh {
252
- modelID: number;
253
- ifcManager: IFCManager | null;
254
- /**
255
- * @deprecated `IfcModel` is already a mesh; you can place it in the scene directly.
256
- */
257
- mesh: this;
258
-
259
- setIFCManager(manager: IFCManager): void;
260
-
261
- /**
262
- * @deprecated Use `IfcModel.ifcManager.setWasmPath` instead.
263
- *
264
- * Sets the relative path of web-ifc.wasm file in the project.
265
- * Beware: you **must** serve this file in your page; this means
266
- * that you have to copy this files from *node_modules/web-ifc*
267
- * to your deployment directory.
268
- *
269
- * If you don't use this methods,
270
- * IFC.js assumes that you are serving it in the root directory.
271
- *
272
- * Example if web-ifc.wasm is in dist/wasmDir:
273
- * `ifcLoader.setWasmPath("dist/wasmDir/");`
274
- *
275
- * @param path Relative path to web-ifc.wasm.
276
- */
277
- setWasmPath(path: string): void;
278
-
279
- /**
280
- * @deprecated Use `IfcModel.ifcManager.close` instead.
281
- *
282
- * Closes the specified model and deletes it from the [scene](https://threejs.org/docs/#api/en/scenes/Scene).
283
- * @param scene Scene where the model is (if it's located in a scene).
284
- */
285
- close(scene?: Scene): void;
286
-
287
- /**
288
- * @deprecated Use `IfcModel.ifcManager.getExpressId` instead.
289
- *
290
- * Gets the **Express ID** to which the given face belongs.
291
- * This ID uniquely identifies this entity within this IFC file.
292
- * @param geometry The geometry of the IFC model.
293
- * @param faceIndex The index of the face of a geometry.You can easily get this index using the [Raycaster](https://threejs.org/docs/#api/en/core/Raycaster).
294
- */
295
- getExpressId(geometry: BufferGeometry, faceIndex: number): number | undefined;
296
-
297
- /**
298
- * @deprecated Use `IfcModel.ifcManager.getAllItemsOfType` instead.
299
- *
300
- * Returns all items of the specified type. You can import
301
- * the types from *web-ifc*.
302
- *
303
- * Example to get all the standard walls of a project:
304
- * ```js
305
- * import { IFCWALLSTANDARDCASE } from 'web-ifc';
306
- * const walls = ifcLoader.getAllItemsOfType(IFCWALLSTANDARDCASE);
307
- * ```
308
- * @param ifcType The type of IFC items to get.
309
- * @param verbose If false (default), this only gets IDs. If true, this also gets the native properties of all the fetched items.
310
- */
311
- getAllItemsOfType(type: number, verbose: boolean): any[];
312
-
313
- /**
314
- * @deprecated Use `IfcModel.ifcManager.getItemProperties` instead.
315
- *
316
- * Gets the native properties of the given element.
317
- * @param id Express ID of the element.
318
- * @param recursive Wether you want to get the information of the referenced elements recursively.
319
- */
320
- getItemProperties(id: number, recursive?: boolean): any;
321
-
322
- /**
323
- * @deprecated Use `IfcModel.ifcManager.getPropertySets` instead.
324
- *
325
- * Gets the [property sets](https://standards.buildingsmart.org/IFC/DEV/IFC4_2/FINAL/HTML/schema/ifckernel/lexical/ifcpropertyset.htm)
326
- * assigned to the given element.
327
- * @param id Express ID of the element.
328
- * @param recursive If true, this gets the native properties of the referenced elements recursively.
329
- */
330
- getPropertySets(id: number, recursive?: boolean): any[];
331
-
332
- /**
333
- * @deprecated Use `IfcModel.ifcManager.getTypeProperties` instead.
334
- *
335
- * Gets the properties of the type assigned to the element.
336
- * For example, if applied to a wall (IfcWall), this would get back the information
337
- * contained in the IfcWallType assigned to it, if any.
338
- * @param id Express ID of the element.
339
- * @param recursive If true, this gets the native properties of the referenced elements recursively.
340
- */
341
- getTypeProperties(id: number, recursive?: boolean): any[];
342
-
343
- /**
344
- * @deprecated Use `IfcModel.ifcManager.getIfcType` instead.
345
- *
346
- * Gets the ifc type of the specified item.
347
- * @param id Express ID of the element.
348
- */
349
- getIfcType(id: number): string;
350
-
351
- /**
352
- * @deprecated Use `IfcModel.ifcManager.getSpatialStructure` instead.
353
- *
354
- * Gets the spatial structure of the project. The
355
- * [spatial structure](https://standards.buildingsmart.org/IFC/DEV/IFC4_2/FINAL/HTML/schema/ifcproductextension/lexical/ifcspatialstructureelement.htm)
356
- * is the hierarchical structure that organizes every IFC project (all physical items
357
- * are referenced to an element of the spatial structure). It is formed by
358
- * one IfcProject that contains one or more IfcSites, that contain one or more
359
- * IfcBuildings, that contain one or more IfcBuildingStoreys, that contain
360
- * one or more IfcSpaces.
361
- */
362
- getSpatialStructure(): {
363
- expressID: number;
364
- type: string;
365
- children: never[];
366
- };
367
-
368
- /**
369
- * @deprecated Use `IfcModel.ifcManager.getSubset` instead.
370
- *
371
- * Gets the mesh of the subset with the specified [material](https://threejs.org/docs/#api/en/materials/Material).
372
- * If no material is given, this returns the subset with the original materials.
373
- * @param material Material assigned to the subset, if any.
374
- */
375
- getSubset(material?: Material): Mesh | null;
376
-
377
- /**
378
- * @deprecated Use `IfcModel.ifcManager.removeSubset` instead.
379
- *
380
- * Removes the specified subset.
381
- * @param parent The parent where the subset is (can be any `THREE.Object3D`).
382
- * @param material Material assigned to the subset, if any.
383
- */
384
- removeSubset(parent?: Object3D, material?: Material): void;
385
-
386
- /**
387
- * @deprecated Use `IfcModel.ifcManager.createSubset` instead.
388
- *
389
- * Creates a new geometric subset.
390
- * @param config A configuration object with the following options:
391
- * - **scene**: `THREE.Object3D` where the model is located.
392
- * - **ids**: Express IDs of the items of the model that will conform the subset.
393
- * - **removePrevious**: Wether to remove the previous subset of this model with this material.
394
- * - **material**: (optional) Wether to apply a material to the subset
395
- */
396
- createSubset(config: HighlightConfig): void | Mesh;
397
-
398
- /**
399
- * @deprecated Use `IfcModel.ifcManager.hideItems` instead.
400
- *
401
- * Hides the selected items in the specified model
402
- * @param ids Express ID of the elements.
403
- */
404
- hideItems(ids: number[]): void;
405
-
406
- /**
407
- * @deprecated Use `IfcModel.ifcManager.hideAllItems` instead.
408
- *
409
- * Hides all the items of the specified model
410
- */
411
- hideAllItems(): void;
412
-
413
- /**
414
- * @deprecated Use `IfcModel.ifcManager.showItems` instead.
415
- *
416
- * Hides all the items of the specified model
417
- * @param ids Express ID of the elements.
418
- */
419
- showItems(ids: number[]): void;
420
-
421
- /**
422
- * @deprecated Use `IfcModel.ifcManager.showAllItems` instead.
423
- *
424
- * Shows all the items of the specified model
425
- */
426
- showAllItems(): void;
427
- }
428
-
429
- export const IdAttrName = 'expressID';
430
- export interface IdAttributeByMaterial {
431
- [id: number]: number;
432
- }
433
- export interface IdAttributesByMaterials {
434
- [materialID: string]: IdAttributeByMaterial;
435
- }
436
- export function merge(geoms: BufferGeometry[], createGroups?: boolean): BufferGeometry;
437
- export function newFloatAttr(data: any[], size: number): BufferAttribute;
438
- export function newIntAttr(data: any[], size: number): BufferAttribute;
439
-
440
- export interface HighlightConfig {
441
- scene: Object3D;
442
- ids: number[];
443
- removePrevious: boolean;
444
- material?: Material;
445
- }
446
-
447
- export interface HighlightConfigOfModel extends HighlightConfig {
448
- modelID: number;
449
- }
450
-
451
- export const DEFAULT = 'default';
452
- export interface SelectedItems {
453
- [matID: string]: {
454
- ids: Set<number>;
455
- mesh: Mesh;
456
- };
457
- }
458
- export interface MapFaceindexID {
459
- [key: number]: number;
460
- }
461
- export interface IdGeometries {
462
- [expressID: number]: BufferGeometry;
463
- }
464
- export interface GeometriesByMaterial {
465
- material: Material;
466
- geometries: IdGeometries;
467
- }
468
-
469
- export interface GeometriesByMaterials {
470
- [materialID: string]: GeometriesByMaterial;
471
- }
472
-
473
- export interface TypesMap {
474
- [key: number]: number;
475
- }
476
-
477
- export interface IfcModel {
478
- modelID: number;
479
- mesh: IfcMesh;
480
- items: GeometriesByMaterials;
481
- types: TypesMap;
482
- jsonData: {
483
- [id: number]: JSONObject;
484
- };
485
- }
486
-
487
- export interface JSONObject {
488
- expressID: number;
489
- type: string;
490
-
491
- [key: string]: any;
492
- }
493
-
494
- export interface IfcState {
495
- models: {
496
- [modelID: number]: IfcModel;
497
- };
498
- api: IfcAPI;
499
- useJSON: boolean;
500
- webIfcSettings?: LoaderSettings;
501
- }
502
-
503
- export interface IfcMesh extends Mesh {
504
- modelID: number;
505
- }
506
-
507
- export interface Node {
508
- expressID: number;
509
- type: string;
510
- children: Node[];
511
- }
512
-
513
- export interface pName {
514
- name: number;
515
- relating: string;
516
- related: string;
517
- key: string;
518
- }
519
-
520
- export const PropsNames: {
521
- aggregates: {
522
- name: number;
523
- relating: string;
524
- related: string;
525
- key: string;
526
- };
527
- spatial: {
528
- name: number;
529
- relating: string;
530
- related: string;
531
- key: string;
532
- };
533
- psets: {
534
- name: number;
535
- relating: string;
536
- related: string;
537
- key: string;
538
- };
539
- materials: {
540
- name: number;
541
- relating: string;
542
- related: string;
543
- key: string;
544
- };
545
- type: {
546
- name: number;
547
- relating: string;
548
- related: string;
549
- key: string;
550
- };
551
- };
552
-
553
- export interface IfcGeometry {
554
- GetVertexData(): number;
555
-
556
- GetVertexDataSize(): number;
557
-
558
- GetIndexData(): number;
559
-
560
- GetIndexDataSize(): number;
561
- }
562
-
563
- export interface RawLineData {
564
- ID: number;
565
- type: number;
566
- arguments: any[];
567
- }
568
-
569
- export interface Vector<T> {
570
- get(index: number): T;
571
-
572
- size(): number;
573
- }
574
-
575
- export interface FlatMesh {
576
- geometries: Vector<PlacedGeometry>;
577
- expressID: number;
578
- }
579
-
580
- export interface PlacedGeometry {
581
- color: Color;
582
- geometryExpressID: number;
583
- flatTransformation: number[];
584
- }
585
-
586
- export interface Color {
587
- x: number;
588
- y: number;
589
- z: number;
590
- w: number;
591
- }
592
-
593
- export class IfcAPI {
594
- wasmModule: any;
595
- fs: any;
596
-
597
- /**
598
- * Initializes the WASM module (WebIFCWasm), required before using any other functionality
599
- */
600
- Init(): Promise<void>;
601
-
602
- /**
603
- * Opens a model and returns a modelID number
604
- * @param data Buffer containing IFC data (bytes)
605
- * @param settings Settings for loading the model
606
- */
607
- OpenModel(data: string | Uint8Array, settings?: LoaderSettings): number;
608
-
609
- /**
610
- * Creates a new model and returns a modelID number
611
- * @param settings Settings for generating data the model
612
- */
613
- CreateModel(settings?: LoaderSettings): number;
614
-
615
- ExportFileAsIFC(modelID: number): Uint8Array;
616
-
617
- /**
618
- * Opens a model and returns a modelID number
619
- * @param modelID Model handle retrieved by OpenModel, model must not be closed
620
- * @param data Buffer containing IFC data (bytes)
621
- */
622
- GetGeometry(modelID: number, geometryExpressID: number): IfcGeometry;
623
-
624
- GetLine(modelID: number, expressID: number, flatten?: boolean): any;
625
-
626
- WriteLine(modelID: number, lineObject: any): void;
627
-
628
- FlattenLine(modelID: number, line: any): void;
629
-
630
- GetRawLineData(modelID: number, expressID: number): RawLineData;
631
-
632
- WriteRawLineData(modelID: number, data: RawLineData): any;
633
-
634
- GetLineIDsWithType(modelID: number, type: number): Vector<number>;
635
-
636
- GetAllLines(modelID: number): Vector<number>;
637
-
638
- SetGeometryTransformation(modelID: number, transformationMatrix: number[]): void;
639
-
640
- GetVertexArray(ptr: number, size: number): Float32Array;
641
-
642
- GetIndexArray(ptr: number, size: number): Uint32Array;
643
-
644
- getSubArray(heap: any, startPtr: any, sizeBytes: any): any;
645
-
646
- /**
647
- * Closes a model and frees all related memory
648
- * @param modelID Model handle retrieved by OpenModel, model must not be closed
649
- */
650
- CloseModel(modelID: number): void;
651
-
652
- StreamAllMeshes(modelID: number, meshCallback: (mesh: FlatMesh) => void): void;
653
-
654
- /**
655
- * Checks if a specific model ID is open or closed
656
- * @param modelID Model handle retrieved by OpenModel
657
- */
658
- IsModelOpen(modelID: number): boolean;
659
-
660
- /**
661
- * Load all geometry in a model
662
- * @param modelID Model handle retrieved by OpenModel
663
- */
664
- LoadAllGeometry(modelID: number): Vector<FlatMesh>;
665
-
666
- /**
667
- * Load geometry for a single element
668
- * @param modelID Model handle retrieved by OpenModel
669
- */
670
- GetFlatMesh(modelID: number, expressID: number): FlatMesh;
671
-
672
- SetWasmPath(path: string): void;
673
- }
674
-
675
- export { IFCLoader };
@@ -1,26 +0,0 @@
1
- import { ColorRepresentation } from '../math/Color.js';
2
- import { LightProbe } from './LightProbe.js';
3
-
4
- /**
5
- * Light probes are an alternative way of adding light to a 3D scene
6
- * @remarks
7
- * {@link AmbientLightProbe} is the light estimation data of a single ambient light in the scene
8
- * For more information about light probes, go to {@link THREE.LightProbe | LightProbe}.
9
- * @see {@link https://threejs.org/docs/index.html#api/en/lights/AmbientLightProbe | Official Documentation}
10
- * @see {@link https://github.com/mrdoob/three.js/blob/master/src/lights/AmbientLightProbe.js | Source}
11
- */
12
- export class AmbientLightProbe extends LightProbe {
13
- /**
14
- * Creates a new {@link AmbientLightProbe}.
15
- * @param color An instance of Color, string representing a color or a number representing a color.
16
- * @param intensity Numeric value of the light probe's intensity. Expects a `Float`. Default `1`
17
- */
18
- constructor(color?: ColorRepresentation, intensity?: number);
19
-
20
- /**
21
- * Read-only flag to check if a given object is of type {@link AmbientLightProbe}.
22
- * @remarks This is a _constant_ value
23
- * @defaultValue `true`
24
- */
25
- readonly isAmbientLightProbe: true;
26
- }