@types/three 0.161.1 → 0.162.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.
- three/README.md +2 -2
- three/build/three.d.cts +0 -1
- three/build/three.module.d.ts +0 -1
- three/build/three.module.min.d.ts +0 -1
- three/examples/jsm/animation/AnimationClipCreator.d.ts +1 -1
- three/examples/jsm/animation/CCDIKSolver.d.ts +1 -1
- three/examples/jsm/animation/MMDAnimationHelper.d.ts +1 -11
- three/examples/jsm/animation/MMDPhysics.d.ts +1 -1
- three/examples/jsm/cameras/CinematicCamera.d.ts +1 -8
- three/examples/jsm/controls/ArcballControls.d.ts +1 -1
- three/examples/jsm/controls/DragControls.d.ts +80 -10
- three/examples/jsm/controls/FirstPersonControls.d.ts +1 -1
- three/examples/jsm/controls/FlyControls.d.ts +1 -1
- three/examples/jsm/controls/MapControls.d.ts +1 -1
- three/examples/jsm/controls/OrbitControls.d.ts +1 -1
- three/examples/jsm/controls/PointerLockControls.d.ts +1 -1
- three/examples/jsm/controls/TrackballControls.d.ts +1 -1
- three/examples/jsm/controls/TransformControls.d.ts +6 -1
- three/examples/jsm/csm/CSM.d.ts +1 -1
- three/examples/jsm/csm/CSMFrustum.d.ts +1 -1
- three/examples/jsm/csm/CSMHelper.d.ts +1 -1
- three/examples/jsm/curves/CurveExtras.d.ts +1 -1
- three/examples/jsm/curves/NURBSCurve.d.ts +1 -1
- three/examples/jsm/curves/NURBSSurface.d.ts +1 -1
- three/examples/jsm/curves/NURBSUtils.d.ts +1 -1
- three/examples/jsm/curves/NURBSVolume.d.ts +1 -1
- three/examples/jsm/deprecated/Geometry.d.ts +1 -1
- three/examples/jsm/effects/AnaglyphEffect.d.ts +1 -1
- three/examples/jsm/effects/AsciiEffect.d.ts +1 -1
- three/examples/jsm/effects/OutlineEffect.d.ts +1 -9
- three/examples/jsm/effects/ParallaxBarrierEffect.d.ts +1 -1
- three/examples/jsm/effects/PeppersGhostEffect.d.ts +1 -1
- three/examples/jsm/effects/StereoEffect.d.ts +1 -1
- three/examples/jsm/environments/DebugEnvironment.d.ts +1 -1
- three/examples/jsm/environments/RoomEnvironment.d.ts +1 -1
- three/examples/jsm/exporters/DRACOExporter.d.ts +1 -1
- three/examples/jsm/exporters/EXRExporter.d.ts +1 -1
- three/examples/jsm/exporters/GLTFExporter.d.ts +1 -1
- three/examples/jsm/exporters/KTX2Exporter.d.ts +1 -1
- three/examples/jsm/exporters/MMDExporter.d.ts +1 -1
- three/examples/jsm/exporters/OBJExporter.d.ts +1 -1
- three/examples/jsm/exporters/PLYExporter.d.ts +1 -1
- three/examples/jsm/exporters/STLExporter.d.ts +1 -1
- three/examples/jsm/exporters/USDZExporter.d.ts +1 -1
- three/examples/jsm/geometries/BoxLineGeometry.d.ts +1 -1
- three/examples/jsm/geometries/ConvexGeometry.d.ts +1 -1
- three/examples/jsm/geometries/DecalGeometry.d.ts +1 -1
- three/examples/jsm/geometries/ParametricGeometries.d.ts +1 -1
- three/examples/jsm/geometries/ParametricGeometry.d.ts +1 -1
- three/examples/jsm/geometries/RoundedBoxGeometry.d.ts +1 -1
- three/examples/jsm/geometries/SDFGeometryGenerator.d.ts +1 -1
- three/examples/jsm/geometries/TeapotGeometry.d.ts +1 -1
- three/examples/jsm/geometries/TextGeometry.d.ts +1 -1
- three/examples/jsm/helpers/LightProbeHelper.d.ts +1 -1
- three/examples/jsm/helpers/OctreeHelper.d.ts +1 -1
- three/examples/jsm/helpers/PositionalAudioHelper.d.ts +1 -1
- three/examples/jsm/helpers/RectAreaLightHelper.d.ts +1 -1
- three/examples/jsm/helpers/TextureHelper.d.ts +1 -1
- three/examples/jsm/helpers/VertexNormalsHelper.d.ts +1 -1
- three/examples/jsm/helpers/VertexTangentsHelper.d.ts +1 -1
- three/examples/jsm/helpers/ViewHelper.d.ts +1 -1
- three/examples/jsm/interactive/InteractiveGroup.d.ts +4 -2
- three/examples/jsm/interactive/SelectionBox.d.ts +1 -1
- three/examples/jsm/interactive/SelectionHelper.d.ts +1 -1
- three/examples/jsm/libs/tween.module.d.ts +2 -219
- three/examples/jsm/lights/LightProbeGenerator.d.ts +1 -1
- three/examples/jsm/lines/LineGeometry.d.ts +1 -1
- three/examples/jsm/lines/LineMaterial.d.ts +1 -1
- three/examples/jsm/lines/LineSegments2.d.ts +1 -1
- three/examples/jsm/lines/LineSegmentsGeometry.d.ts +1 -8
- three/examples/jsm/lines/Wireframe.d.ts +1 -1
- three/examples/jsm/lines/WireframeGeometry2.d.ts +1 -1
- three/examples/jsm/loaders/3DMLoader.d.ts +1 -1
- three/examples/jsm/loaders/3MFLoader.d.ts +1 -1
- three/examples/jsm/loaders/AMFLoader.d.ts +1 -1
- three/examples/jsm/loaders/BVHLoader.d.ts +1 -1
- three/examples/jsm/loaders/ColladaLoader.d.ts +1 -1
- three/examples/jsm/loaders/DDSLoader.d.ts +1 -1
- three/examples/jsm/loaders/DRACOLoader.d.ts +1 -1
- three/examples/jsm/loaders/EXRLoader.d.ts +2 -8
- three/examples/jsm/loaders/FBXLoader.d.ts +1 -1
- three/examples/jsm/loaders/FontLoader.d.ts +1 -1
- three/examples/jsm/loaders/GCodeLoader.d.ts +1 -1
- three/examples/jsm/loaders/GLTFLoader.d.ts +1 -1
- three/examples/jsm/loaders/HDRCubeTextureLoader.d.ts +1 -1
- three/examples/jsm/loaders/KMZLoader.d.ts +1 -1
- three/examples/jsm/loaders/KTX2Loader.d.ts +1 -1
- three/examples/jsm/loaders/KTXLoader.d.ts +1 -1
- three/examples/jsm/loaders/LDrawLoader.d.ts +1 -1
- three/examples/jsm/loaders/LUT3dlLoader.d.ts +1 -1
- three/examples/jsm/loaders/LUTCubeLoader.d.ts +1 -9
- three/examples/jsm/loaders/LWOLoader.d.ts +1 -1
- three/examples/jsm/loaders/LogLuvLoader.d.ts +1 -1
- three/examples/jsm/loaders/LottieLoader.d.ts +1 -1
- three/examples/jsm/loaders/MD2Loader.d.ts +1 -1
- three/examples/jsm/loaders/MDDLoader.d.ts +1 -1
- three/examples/jsm/loaders/MMDLoader.d.ts +1 -1
- three/examples/jsm/loaders/MTLLoader.d.ts +1 -11
- three/examples/jsm/loaders/MaterialXLoader.d.ts +1 -1
- three/examples/jsm/loaders/NRRDLoader.d.ts +1 -1
- three/examples/jsm/loaders/OBJLoader.d.ts +1 -1
- three/examples/jsm/loaders/PCDLoader.d.ts +1 -1
- three/examples/jsm/loaders/PDBLoader.d.ts +1 -1
- three/examples/jsm/loaders/PLYLoader.d.ts +1 -1
- three/examples/jsm/loaders/PVRLoader.d.ts +1 -1
- three/examples/jsm/loaders/RGBELoader.d.ts +1 -1
- three/examples/jsm/loaders/RGBMLoader.d.ts +1 -1
- three/examples/jsm/loaders/STLLoader.d.ts +1 -1
- three/examples/jsm/loaders/SVGLoader.d.ts +1 -1
- three/examples/jsm/loaders/TDSLoader.d.ts +1 -1
- three/examples/jsm/loaders/TGALoader.d.ts +1 -1
- three/examples/jsm/loaders/TTFLoader.d.ts +1 -1
- three/examples/jsm/loaders/TiltLoader.d.ts +1 -1
- three/examples/jsm/loaders/USDZLoader.d.ts +2 -2
- three/examples/jsm/loaders/VOXLoader.d.ts +1 -1
- three/examples/jsm/loaders/VRMLLoader.d.ts +1 -1
- three/examples/jsm/loaders/VTKLoader.d.ts +1 -1
- three/examples/jsm/loaders/XYZLoader.d.ts +1 -1
- three/examples/jsm/materials/MeshGouraudMaterial.d.ts +1 -1
- three/examples/jsm/materials/MeshPostProcessingMaterial.d.ts +1 -1
- three/examples/jsm/math/Capsule.d.ts +1 -1
- three/examples/jsm/math/ColorConverter.d.ts +1 -1
- three/examples/jsm/math/ConvexHull.d.ts +1 -1
- three/examples/jsm/math/Lut.d.ts +1 -1
- three/examples/jsm/math/MeshSurfaceSampler.d.ts +1 -1
- three/examples/jsm/math/OBB.d.ts +1 -1
- three/examples/jsm/math/Octree.d.ts +1 -1
- three/examples/jsm/misc/ConvexObjectBreaker.d.ts +1 -1
- three/examples/jsm/misc/GPUComputationRenderer.d.ts +1 -1
- three/examples/jsm/misc/Gyroscope.d.ts +1 -1
- three/examples/jsm/misc/MD2Character.d.ts +1 -1
- three/examples/jsm/misc/MD2CharacterComplex.d.ts +1 -1
- three/examples/jsm/misc/MorphAnimMesh.d.ts +1 -1
- three/examples/jsm/misc/MorphBlendMesh.d.ts +1 -1
- three/examples/jsm/misc/ProgressiveLightMap.d.ts +1 -1
- three/examples/jsm/misc/RollerCoaster.d.ts +1 -1
- three/examples/jsm/misc/Timer.d.ts +28 -28
- three/examples/jsm/misc/TubePainter.d.ts +1 -1
- three/examples/jsm/misc/Volume.d.ts +1 -1
- three/examples/jsm/misc/VolumeSlice.d.ts +1 -1
- three/examples/jsm/modifiers/CurveModifier.d.ts +1 -10
- three/examples/jsm/modifiers/EdgeSplitModifier.d.ts +1 -1
- three/examples/jsm/modifiers/SimplifyModifier.d.ts +1 -1
- three/examples/jsm/modifiers/TessellateModifier.d.ts +1 -1
- three/examples/jsm/nodes/Nodes.d.ts +20 -6
- three/examples/jsm/nodes/accessors/AccessorsUtils.d.ts +7 -0
- three/examples/jsm/nodes/accessors/BufferNode.d.ts +7 -3
- three/examples/jsm/nodes/accessors/CameraNode.d.ts +1 -9
- three/examples/jsm/nodes/accessors/ClippingNode.d.ts +16 -0
- three/examples/jsm/nodes/accessors/CubeTextureNode.d.ts +1 -1
- three/examples/jsm/nodes/accessors/InstanceNode.d.ts +1 -1
- three/examples/jsm/nodes/accessors/MaterialReferenceNode.d.ts +1 -1
- three/examples/jsm/nodes/accessors/ModelNode.d.ts +2 -2
- three/examples/jsm/nodes/accessors/Object3DNode.d.ts +10 -10
- three/examples/jsm/nodes/accessors/ReferenceNode.d.ts +16 -4
- three/examples/jsm/nodes/accessors/SkinningNode.d.ts +7 -3
- three/examples/jsm/nodes/accessors/StorageBufferNode.d.ts +14 -1
- three/examples/jsm/nodes/accessors/TextureNode.d.ts +1 -1
- three/examples/jsm/nodes/accessors/UniformsNode.d.ts +25 -0
- three/examples/jsm/nodes/core/AssignNode.d.ts +2 -1
- three/examples/jsm/nodes/core/Node.d.ts +2 -0
- three/examples/jsm/nodes/core/NodeBuilder.d.ts +1 -10
- three/examples/jsm/nodes/core/NodeFrame.d.ts +1 -1
- three/examples/jsm/nodes/core/NodeUtils.d.ts +1 -1
- three/examples/jsm/nodes/core/TempNode.d.ts +1 -1
- three/examples/jsm/nodes/display/AnamorphicNode.d.ts +5 -6
- three/examples/jsm/nodes/display/ColorSpaceNode.d.ts +1 -1
- three/examples/jsm/nodes/display/GaussianBlurNode.d.ts +1 -1
- three/examples/jsm/nodes/display/NormalMapNode.d.ts +1 -3
- three/examples/jsm/nodes/display/PassNode.d.ts +1 -1
- three/examples/jsm/nodes/display/ToneMappingNode.d.ts +1 -1
- three/examples/jsm/nodes/display/ViewportDepthTextureNode.d.ts +12 -0
- three/examples/jsm/nodes/display/ViewportTextureNode.d.ts +1 -1
- three/examples/jsm/nodes/geometry/RangeNode.d.ts +1 -1
- three/examples/jsm/nodes/lighting/AnalyticLightNode.d.ts +1 -1
- three/examples/jsm/nodes/lighting/HemisphereLightNode.d.ts +1 -1
- three/examples/jsm/nodes/lighting/LightsNode.d.ts +1 -1
- three/examples/jsm/nodes/lighting/PointLightNode.d.ts +1 -1
- three/examples/jsm/nodes/lighting/SpotLightNode.d.ts +1 -1
- three/examples/jsm/nodes/loaders/NodeLoader.d.ts +1 -1
- three/examples/jsm/nodes/loaders/NodeMaterialLoader.d.ts +1 -1
- three/examples/jsm/nodes/loaders/NodeObjectLoader.d.ts +1 -1
- three/examples/jsm/nodes/materials/LineBasicNodeMaterial.d.ts +13 -3
- three/examples/jsm/nodes/materials/MeshBasicNodeMaterial.d.ts +23 -3
- three/examples/jsm/nodes/materials/MeshPhongNodeMaterial.d.ts +41 -5
- three/examples/jsm/nodes/materials/MeshPhysicalNodeMaterial.d.ts +58 -18
- three/examples/jsm/nodes/materials/MeshSSSNodeMaterial.d.ts +9 -9
- three/examples/jsm/nodes/materials/MeshStandardNodeMaterial.d.ts +40 -6
- three/examples/jsm/nodes/materials/NodeMaterial.d.ts +45 -15
- three/examples/jsm/nodes/materials/PointsNodeMaterial.d.ts +14 -4
- three/examples/jsm/nodes/materials/SpriteNodeMaterial.d.ts +17 -6
- three/examples/jsm/nodes/math/MathNode.d.ts +11 -0
- three/examples/jsm/nodes/utils/MaxMipLevelNode.d.ts +1 -1
- three/examples/jsm/nodes/utils/ReflectorNode.d.ts +1 -1
- three/examples/jsm/nodes/utils/StoargeArrayElementNode.d.ts +25 -0
- three/examples/jsm/objects/GroundedSkybox.d.ts +1 -1
- three/examples/jsm/objects/Lensflare.d.ts +1 -1
- three/examples/jsm/objects/MarchingCubes.d.ts +1 -1
- three/examples/jsm/objects/QuadMesh.d.ts +1 -1
- three/examples/jsm/objects/Reflector.d.ts +7 -15
- three/examples/jsm/objects/ReflectorForSSRPass.d.ts +1 -1
- three/examples/jsm/objects/Refractor.d.ts +7 -16
- three/examples/jsm/objects/ShadowMesh.d.ts +1 -1
- three/examples/jsm/objects/Sky.d.ts +1 -1
- three/examples/jsm/objects/Water.d.ts +1 -9
- three/examples/jsm/objects/Water2.d.ts +13 -22
- three/examples/jsm/physics/AmmoPhysics.d.ts +1 -1
- three/examples/jsm/physics/RapierPhysics.d.ts +1 -1
- three/examples/jsm/postprocessing/AfterimagePass.d.ts +1 -1
- three/examples/jsm/postprocessing/BloomPass.d.ts +1 -1
- three/examples/jsm/postprocessing/BokehPass.d.ts +1 -1
- three/examples/jsm/postprocessing/ClearPass.d.ts +1 -1
- three/examples/jsm/postprocessing/CubeTexturePass.d.ts +1 -1
- three/examples/jsm/postprocessing/DotScreenPass.d.ts +1 -1
- three/examples/jsm/postprocessing/EffectComposer.d.ts +1 -1
- three/examples/jsm/postprocessing/FilmPass.d.ts +1 -1
- three/examples/jsm/postprocessing/GTAOPass.d.ts +1 -1
- three/examples/jsm/postprocessing/GlitchPass.d.ts +1 -1
- three/examples/jsm/postprocessing/HalftonePass.d.ts +1 -1
- three/examples/jsm/postprocessing/LUTPass.d.ts +1 -1
- three/examples/jsm/postprocessing/MaskPass.d.ts +1 -1
- three/examples/jsm/postprocessing/OutlinePass.d.ts +1 -1
- three/examples/jsm/postprocessing/OutputPass.d.ts +1 -1
- three/examples/jsm/postprocessing/Pass.d.ts +1 -1
- three/examples/jsm/postprocessing/RenderPass.d.ts +1 -1
- three/examples/jsm/postprocessing/RenderPixelatedPass.d.ts +1 -1
- three/examples/jsm/postprocessing/SAOPass.d.ts +1 -1
- three/examples/jsm/postprocessing/SMAAPass.d.ts +1 -1
- three/examples/jsm/postprocessing/SSAARenderPass.d.ts +1 -1
- three/examples/jsm/postprocessing/SSAOPass.d.ts +1 -1
- three/examples/jsm/postprocessing/SSRPass.d.ts +1 -1
- three/examples/jsm/postprocessing/SavePass.d.ts +1 -1
- three/examples/jsm/postprocessing/ShaderPass.d.ts +1 -1
- three/examples/jsm/postprocessing/TAARenderPass.d.ts +1 -1
- three/examples/jsm/postprocessing/TexturePass.d.ts +1 -1
- three/examples/jsm/postprocessing/UnrealBloomPass.d.ts +1 -1
- three/examples/jsm/renderers/CSS2DRenderer.d.ts +1 -1
- three/examples/jsm/renderers/CSS3DRenderer.d.ts +1 -1
- three/examples/jsm/renderers/Projector.d.ts +1 -1
- three/examples/jsm/renderers/SVGRenderer.d.ts +1 -1
- three/examples/jsm/renderers/common/Backend.d.ts +1 -1
- three/examples/jsm/renderers/common/Color4.d.ts +1 -1
- three/examples/jsm/renderers/common/Info.d.ts +1 -1
- three/examples/jsm/renderers/common/Renderer.d.ts +26 -15
- three/examples/jsm/renderers/common/StorageTexture.d.ts +1 -1
- three/examples/jsm/renderers/webgl/WebGLBackend.d.ts +1 -1
- three/examples/jsm/renderers/webgl/nodes/WebGLNodeBuilder.d.ts +1 -1
- three/examples/jsm/renderers/webgpu/WebGPUBackend.d.ts +1 -1
- three/examples/jsm/shaders/ACESFilmicToneMappingShader.d.ts +1 -1
- three/examples/jsm/shaders/AfterimageShader.d.ts +1 -1
- three/examples/jsm/shaders/BleachBypassShader.d.ts +1 -1
- three/examples/jsm/shaders/BlendShader.d.ts +1 -1
- three/examples/jsm/shaders/BokehShader.d.ts +1 -1
- three/examples/jsm/shaders/BokehShader2.d.ts +1 -1
- three/examples/jsm/shaders/BrightnessContrastShader.d.ts +1 -1
- three/examples/jsm/shaders/ColorCorrectionShader.d.ts +1 -1
- three/examples/jsm/shaders/ColorifyShader.d.ts +1 -1
- three/examples/jsm/shaders/ConvolutionShader.d.ts +1 -1
- three/examples/jsm/shaders/CopyShader.d.ts +1 -1
- three/examples/jsm/shaders/DOFMipMapShader.d.ts +1 -1
- three/examples/jsm/shaders/DepthLimitedBlurShader.d.ts +1 -1
- three/examples/jsm/shaders/DigitalGlitch.d.ts +1 -1
- three/examples/jsm/shaders/DotScreenShader.d.ts +1 -1
- three/examples/jsm/shaders/ExposureShader.d.ts +1 -1
- three/examples/jsm/shaders/FXAAShader.d.ts +1 -1
- three/examples/jsm/shaders/FilmShader.d.ts +1 -1
- three/examples/jsm/shaders/FocusShader.d.ts +1 -1
- three/examples/jsm/shaders/FreiChenShader.d.ts +1 -1
- three/examples/jsm/shaders/GTAOShader.d.ts +1 -1
- three/examples/jsm/shaders/GammaCorrectionShader.d.ts +1 -1
- three/examples/jsm/shaders/GodRaysShader.d.ts +1 -1
- three/examples/jsm/shaders/HalftoneShader.d.ts +1 -1
- three/examples/jsm/shaders/HorizontalBlurShader.d.ts +1 -1
- three/examples/jsm/shaders/HorizontalTiltShiftShader.d.ts +1 -1
- three/examples/jsm/shaders/HueSaturationShader.d.ts +1 -1
- three/examples/jsm/shaders/KaleidoShader.d.ts +1 -1
- three/examples/jsm/shaders/LuminosityHighPassShader.d.ts +1 -1
- three/examples/jsm/shaders/LuminosityShader.d.ts +1 -1
- three/examples/jsm/shaders/MMDToonShader.d.ts +1 -1
- three/examples/jsm/shaders/MirrorShader.d.ts +1 -1
- three/examples/jsm/shaders/NormalMapShader.d.ts +1 -1
- three/examples/jsm/shaders/OutputShader.d.ts +1 -1
- three/examples/jsm/shaders/PoissonDenoiseShader.d.ts +1 -1
- three/examples/jsm/shaders/RGBShiftShader.d.ts +1 -1
- three/examples/jsm/shaders/SAOShader.d.ts +1 -1
- three/examples/jsm/shaders/SMAAShader.d.ts +1 -1
- three/examples/jsm/shaders/SSAOShader.d.ts +1 -1
- three/examples/jsm/shaders/SSRShader.d.ts +1 -1
- three/examples/jsm/shaders/SepiaShader.d.ts +1 -1
- three/examples/jsm/shaders/SobelOperatorShader.d.ts +1 -1
- three/examples/jsm/shaders/SubsurfaceScatteringShader.d.ts +1 -1
- three/examples/jsm/shaders/TechnicolorShader.d.ts +1 -1
- three/examples/jsm/shaders/ToonShader.d.ts +1 -1
- three/examples/jsm/shaders/TriangleBlurShader.d.ts +1 -1
- three/examples/jsm/shaders/UnpackDepthRGBAShader.d.ts +1 -1
- three/examples/jsm/shaders/VelocityShader.d.ts +1 -1
- three/examples/jsm/shaders/VerticalBlurShader.d.ts +1 -1
- three/examples/jsm/shaders/VerticalTiltShiftShader.d.ts +1 -1
- three/examples/jsm/shaders/VignetteShader.d.ts +1 -1
- three/examples/jsm/shaders/VolumeShader.d.ts +1 -1
- three/examples/jsm/shaders/WaterRefractionShader.d.ts +1 -1
- three/examples/jsm/utils/BufferGeometryUtils.d.ts +1 -1
- three/examples/jsm/utils/CameraUtils.d.ts +1 -1
- three/examples/jsm/utils/GeometryCompressionUtils.d.ts +1 -1
- three/examples/jsm/utils/GeometryUtils.d.ts +1 -1
- three/examples/jsm/utils/LDrawUtils.d.ts +1 -1
- three/examples/jsm/utils/PackedPhongMaterial.d.ts +1 -1
- three/examples/jsm/utils/SceneUtils.d.ts +1 -1
- three/examples/jsm/utils/ShadowMapViewer.d.ts +1 -1
- three/examples/jsm/utils/SkeletonUtils.d.ts +1 -1
- three/examples/jsm/utils/UVsDebug.d.ts +1 -1
- three/examples/jsm/webxr/ARButton.d.ts +1 -1
- three/examples/jsm/webxr/OculusHandModel.d.ts +1 -1
- three/examples/jsm/webxr/OculusHandPointerModel.d.ts +1 -1
- three/examples/jsm/webxr/Text2D.d.ts +1 -1
- three/examples/jsm/webxr/VRButton.d.ts +3 -3
- three/examples/jsm/webxr/XRButton.d.ts +1 -2
- three/examples/jsm/webxr/XRControllerModelFactory.d.ts +6 -5
- three/examples/jsm/webxr/XREstimatedLight.d.ts +1 -1
- three/examples/jsm/webxr/XRHandMeshModel.d.ts +1 -1
- three/examples/jsm/webxr/XRHandModelFactory.d.ts +6 -5
- three/examples/jsm/webxr/XRHandPrimitiveModel.d.ts +1 -1
- three/examples/jsm/webxr/XRPlanes.d.ts +2 -2
- three/index.d.ts +0 -2
- three/package.json +3 -2
- three/src/Three.Legacy.d.ts +20 -1
- three/src/Three.d.ts +0 -1
- three/src/cameras/PerspectiveCamera.d.ts +1 -1
- three/src/constants.d.ts +3 -15
- three/src/core/BufferAttribute.d.ts +0 -32
- three/src/core/BufferGeometry.d.ts +6 -4
- three/src/core/InstancedBufferAttribute.d.ts +7 -0
- three/src/core/Object3D.d.ts +17 -0
- three/src/core/Raycaster.d.ts +7 -0
- three/src/core/RenderTarget.d.ts +8 -7
- three/src/extras/PMREMGenerator.d.ts +5 -4
- three/src/helpers/SkeletonHelper.d.ts +1 -1
- three/src/lights/LightShadow.d.ts +2 -2
- three/src/materials/MeshBasicMaterial.d.ts +8 -0
- three/src/materials/MeshLambertMaterial.d.ts +8 -1
- three/src/materials/MeshPhongMaterial.d.ts +7 -0
- three/src/materials/MeshStandardMaterial.d.ts +7 -0
- three/src/objects/InstancedMesh.d.ts +28 -4
- three/src/objects/SkinnedMesh.d.ts +6 -9
- three/src/renderers/WebGL3DRenderTarget.d.ts +6 -7
- three/src/renderers/WebGLArrayRenderTarget.d.ts +6 -7
- three/src/renderers/WebGLCubeRenderTarget.d.ts +7 -3
- three/src/renderers/WebGLRenderTarget.d.ts +1 -4
- three/src/renderers/WebGLRenderer.d.ts +3 -18
- three/src/renderers/shaders/UniformsLib.d.ts +1 -0
- three/src/renderers/webgl/WebGLCubeUVMaps.d.ts +2 -1
- three/src/renderers/webgl/WebGLPrograms.d.ts +1 -0
- three/src/renderers/webgl/WebGLUtils.d.ts +9 -3
- three/src/scenes/Scene.d.ts +14 -1
- three/src/textures/Texture.d.ts +0 -15
- three/examples/jsm/nodes/core/ArrayUniformNode.d.ts +0 -8
- three/src/renderers/WebGLMultipleRenderTargets.d.ts +0 -15
|
@@ -1,219 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
In: EasingFunction;
|
|
4
|
-
Out: EasingFunction;
|
|
5
|
-
InOut: EasingFunction;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* The Ease class provides a collection of easing functions for use with tween.js.
|
|
9
|
-
*/
|
|
10
|
-
declare const Easing: Readonly<{
|
|
11
|
-
Linear: Readonly<
|
|
12
|
-
EasingFunctionGroup & {
|
|
13
|
-
None: EasingFunction;
|
|
14
|
-
}
|
|
15
|
-
>;
|
|
16
|
-
Quadratic: Readonly<EasingFunctionGroup>;
|
|
17
|
-
Cubic: Readonly<EasingFunctionGroup>;
|
|
18
|
-
Quartic: Readonly<EasingFunctionGroup>;
|
|
19
|
-
Quintic: Readonly<EasingFunctionGroup>;
|
|
20
|
-
Sinusoidal: Readonly<EasingFunctionGroup>;
|
|
21
|
-
Exponential: Readonly<EasingFunctionGroup>;
|
|
22
|
-
Circular: Readonly<EasingFunctionGroup>;
|
|
23
|
-
Elastic: Readonly<EasingFunctionGroup>;
|
|
24
|
-
Back: Readonly<EasingFunctionGroup>;
|
|
25
|
-
Bounce: Readonly<EasingFunctionGroup>;
|
|
26
|
-
generatePow(power?: number): EasingFunctionGroup;
|
|
27
|
-
}>;
|
|
28
|
-
|
|
29
|
-
type InterpolationFunction = (v: number[], k: number) => number;
|
|
30
|
-
declare const Interpolation: {
|
|
31
|
-
Linear: (v: number[], k: number) => number;
|
|
32
|
-
Bezier: (v: number[], k: number) => number;
|
|
33
|
-
CatmullRom: (v: number[], k: number) => number;
|
|
34
|
-
Utils: {
|
|
35
|
-
Linear: (p0: number, p1: number, t: number) => number;
|
|
36
|
-
Bernstein: (n: number, i: number) => number;
|
|
37
|
-
Factorial: (n: number) => number;
|
|
38
|
-
CatmullRom: (p0: number, p1: number, p2: number, p3: number, t: number) => number;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Controlling groups of tweens
|
|
44
|
-
*
|
|
45
|
-
* Using the TWEEN singleton to manage your tweens can cause issues in large apps with many components.
|
|
46
|
-
* In these cases, you may want to create your own smaller groups of tween
|
|
47
|
-
*/
|
|
48
|
-
declare class Group {
|
|
49
|
-
private _tweens;
|
|
50
|
-
private _tweensAddedDuringUpdate;
|
|
51
|
-
getAll(): Array<Tween<UnknownProps>>;
|
|
52
|
-
removeAll(): void;
|
|
53
|
-
add(tween: Tween<UnknownProps>): void;
|
|
54
|
-
remove(tween: Tween<UnknownProps>): void;
|
|
55
|
-
update(time?: number, preserve?: boolean): boolean;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* Tween.js - Licensed under the MIT license
|
|
60
|
-
* https://github.com/tweenjs/tween.js
|
|
61
|
-
* ----------------------------------------------
|
|
62
|
-
*
|
|
63
|
-
* See https://github.com/tweenjs/tween.js/graphs/contributors for the full list of contributors.
|
|
64
|
-
* Thank you all, you're awesome!
|
|
65
|
-
*/
|
|
66
|
-
|
|
67
|
-
declare class Tween<T extends UnknownProps> {
|
|
68
|
-
private _object;
|
|
69
|
-
private _group;
|
|
70
|
-
private _isPaused;
|
|
71
|
-
private _pauseStart;
|
|
72
|
-
private _valuesStart;
|
|
73
|
-
private _valuesEnd;
|
|
74
|
-
private _valuesStartRepeat;
|
|
75
|
-
private _duration;
|
|
76
|
-
private _isDynamic;
|
|
77
|
-
private _initialRepeat;
|
|
78
|
-
private _repeat;
|
|
79
|
-
private _repeatDelayTime?;
|
|
80
|
-
private _yoyo;
|
|
81
|
-
private _isPlaying;
|
|
82
|
-
private _reversed;
|
|
83
|
-
private _delayTime;
|
|
84
|
-
private _startTime;
|
|
85
|
-
private _easingFunction;
|
|
86
|
-
private _interpolationFunction;
|
|
87
|
-
private _chainedTweens;
|
|
88
|
-
private _onStartCallback?;
|
|
89
|
-
private _onStartCallbackFired;
|
|
90
|
-
private _onEveryStartCallback?;
|
|
91
|
-
private _onEveryStartCallbackFired;
|
|
92
|
-
private _onUpdateCallback?;
|
|
93
|
-
private _onRepeatCallback?;
|
|
94
|
-
private _onCompleteCallback?;
|
|
95
|
-
private _onStopCallback?;
|
|
96
|
-
private _id;
|
|
97
|
-
private _isChainStopped;
|
|
98
|
-
private _propertiesAreSetUp;
|
|
99
|
-
constructor(_object: T, _group?: Group | false);
|
|
100
|
-
getId(): number;
|
|
101
|
-
isPlaying(): boolean;
|
|
102
|
-
isPaused(): boolean;
|
|
103
|
-
to(target: UnknownProps, duration?: number): this;
|
|
104
|
-
duration(duration?: number): this;
|
|
105
|
-
dynamic(dynamic?: boolean): this;
|
|
106
|
-
start(time?: number, overrideStartingValues?: boolean): this;
|
|
107
|
-
startFromCurrentValues(time?: number): this;
|
|
108
|
-
private _setupProperties;
|
|
109
|
-
stop(): this;
|
|
110
|
-
end(): this;
|
|
111
|
-
pause(time?: number): this;
|
|
112
|
-
resume(time?: number): this;
|
|
113
|
-
stopChainedTweens(): this;
|
|
114
|
-
group(group?: Group): this;
|
|
115
|
-
delay(amount?: number): this;
|
|
116
|
-
repeat(times?: number): this;
|
|
117
|
-
repeatDelay(amount?: number): this;
|
|
118
|
-
yoyo(yoyo?: boolean): this;
|
|
119
|
-
easing(easingFunction?: EasingFunction): this;
|
|
120
|
-
interpolation(interpolationFunction?: InterpolationFunction): this;
|
|
121
|
-
chain(...tweens: Array<Tween<any>>): this;
|
|
122
|
-
onStart(callback?: (object: T) => void): this;
|
|
123
|
-
onEveryStart(callback?: (object: T) => void): this;
|
|
124
|
-
onUpdate(callback?: (object: T, elapsed: number) => void): this;
|
|
125
|
-
onRepeat(callback?: (object: T) => void): this;
|
|
126
|
-
onComplete(callback?: (object: T) => void): this;
|
|
127
|
-
onStop(callback?: (object: T) => void): this;
|
|
128
|
-
private _goToEnd;
|
|
129
|
-
/**
|
|
130
|
-
* @returns true if the tween is still playing after the update, false
|
|
131
|
-
* otherwise (calling update on a paused tween still returns true because
|
|
132
|
-
* it is still playing, just paused).
|
|
133
|
-
*/
|
|
134
|
-
update(time?: number, autoStart?: boolean): boolean;
|
|
135
|
-
private _updateProperties;
|
|
136
|
-
private _handleRelativeValue;
|
|
137
|
-
private _swapEndStartRepeatValues;
|
|
138
|
-
}
|
|
139
|
-
type UnknownProps = Record<string, any>;
|
|
140
|
-
|
|
141
|
-
declare function now(): number;
|
|
142
|
-
|
|
143
|
-
/**
|
|
144
|
-
* Utils
|
|
145
|
-
*/
|
|
146
|
-
// tslint:disable-next-line:no-unnecessary-class
|
|
147
|
-
declare class Sequence {
|
|
148
|
-
private static _nextId;
|
|
149
|
-
static nextId(): number;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
declare const VERSION = "21.0.0";
|
|
153
|
-
|
|
154
|
-
declare const nextId: typeof Sequence.nextId;
|
|
155
|
-
declare function getAll(): Array<Tween<UnknownProps>>;
|
|
156
|
-
declare function removeAll(): void;
|
|
157
|
-
declare function add(tween: Tween<UnknownProps>): void;
|
|
158
|
-
declare function remove(tween: Tween<UnknownProps>): void;
|
|
159
|
-
declare function update(time?: number, preserve?: boolean): boolean;
|
|
160
|
-
|
|
161
|
-
declare const exports: {
|
|
162
|
-
Easing: Readonly<{
|
|
163
|
-
Linear: Readonly<
|
|
164
|
-
EasingFunctionGroup & {
|
|
165
|
-
None: EasingFunction;
|
|
166
|
-
}
|
|
167
|
-
>;
|
|
168
|
-
Quadratic: Readonly<EasingFunctionGroup>;
|
|
169
|
-
Cubic: Readonly<EasingFunctionGroup>;
|
|
170
|
-
Quartic: Readonly<EasingFunctionGroup>;
|
|
171
|
-
Quintic: Readonly<EasingFunctionGroup>;
|
|
172
|
-
Sinusoidal: Readonly<EasingFunctionGroup>;
|
|
173
|
-
Exponential: Readonly<EasingFunctionGroup>;
|
|
174
|
-
Circular: Readonly<EasingFunctionGroup>;
|
|
175
|
-
Elastic: Readonly<EasingFunctionGroup>;
|
|
176
|
-
Back: Readonly<EasingFunctionGroup>;
|
|
177
|
-
Bounce: Readonly<EasingFunctionGroup>;
|
|
178
|
-
generatePow(power?: number): EasingFunctionGroup;
|
|
179
|
-
}>;
|
|
180
|
-
Group: typeof Group;
|
|
181
|
-
Interpolation: {
|
|
182
|
-
Linear: (v: number[], k: number) => number;
|
|
183
|
-
Bezier: (v: number[], k: number) => number;
|
|
184
|
-
CatmullRom: (v: number[], k: number) => number;
|
|
185
|
-
Utils: {
|
|
186
|
-
Linear: (p0: number, p1: number, t: number) => number;
|
|
187
|
-
Bernstein: (n: number, i: number) => number;
|
|
188
|
-
Factorial: (n: number) => number;
|
|
189
|
-
CatmullRom: (p0: number, p1: number, p2: number, p3: number, t: number) => number;
|
|
190
|
-
};
|
|
191
|
-
};
|
|
192
|
-
now: () => number;
|
|
193
|
-
Sequence: typeof Sequence;
|
|
194
|
-
nextId: typeof Sequence.nextId;
|
|
195
|
-
Tween: typeof Tween;
|
|
196
|
-
VERSION: string;
|
|
197
|
-
getAll: () => Array<Tween<UnknownProps>>;
|
|
198
|
-
removeAll: () => void;
|
|
199
|
-
add: (tween: Tween<UnknownProps>) => void;
|
|
200
|
-
remove: (tween: Tween<UnknownProps>) => void;
|
|
201
|
-
update: (time?: number, preserve?: boolean) => boolean;
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
export {
|
|
205
|
-
add,
|
|
206
|
-
Easing,
|
|
207
|
-
exports as default,
|
|
208
|
-
getAll,
|
|
209
|
-
Group,
|
|
210
|
-
Interpolation,
|
|
211
|
-
nextId,
|
|
212
|
-
now,
|
|
213
|
-
remove,
|
|
214
|
-
removeAll,
|
|
215
|
-
Sequence,
|
|
216
|
-
Tween,
|
|
217
|
-
update,
|
|
218
|
-
VERSION,
|
|
219
|
-
};
|
|
1
|
+
export * from "@tweenjs/tween.js";
|
|
2
|
+
export { default as default } from "@tweenjs/tween.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CubeTexture, LightProbe, WebGLCubeRenderTarget, WebGLRenderer } from "
|
|
1
|
+
import { CubeTexture, LightProbe, WebGLCubeRenderTarget, WebGLRenderer } from "three";
|
|
2
2
|
|
|
3
3
|
export namespace LightProbeGenerator {
|
|
4
4
|
function fromCubeTexture(cubeTexture: CubeTexture): LightProbe;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Color, ColorRepresentation, MaterialParameters, ShaderMaterial, Vector2 } from "
|
|
1
|
+
import { Color, ColorRepresentation, MaterialParameters, ShaderMaterial, Vector2 } from "three";
|
|
2
2
|
|
|
3
3
|
export interface LineMaterialParameters extends MaterialParameters {
|
|
4
4
|
alphaToCoverage?: boolean | undefined;
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
EdgesGeometry,
|
|
3
|
-
InstancedBufferGeometry,
|
|
4
|
-
LineSegments,
|
|
5
|
-
Matrix4,
|
|
6
|
-
Mesh,
|
|
7
|
-
WireframeGeometry,
|
|
8
|
-
} from "../../../src/Three.js";
|
|
1
|
+
import { EdgesGeometry, InstancedBufferGeometry, LineSegments, Matrix4, Mesh, WireframeGeometry } from "three";
|
|
9
2
|
|
|
10
3
|
export class LineSegmentsGeometry extends InstancedBufferGeometry {
|
|
11
4
|
constructor();
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DataTextureLoader,
|
|
3
|
-
LoadingManager,
|
|
4
|
-
PixelFormat,
|
|
5
|
-
TextureDataType,
|
|
6
|
-
TextureEncoding,
|
|
7
|
-
} from "../../../src/Three.js";
|
|
1
|
+
import { ColorSpace, DataTextureLoader, LoadingManager, PixelFormat, TextureDataType } from "three";
|
|
8
2
|
|
|
9
3
|
export interface EXR {
|
|
10
4
|
header: object;
|
|
@@ -12,7 +6,7 @@ export interface EXR {
|
|
|
12
6
|
height: number;
|
|
13
7
|
data: Float32Array | Uint16Array;
|
|
14
8
|
format: PixelFormat;
|
|
15
|
-
|
|
9
|
+
colorSpace: ColorSpace;
|
|
16
10
|
type: TextureDataType;
|
|
17
11
|
}
|
|
18
12
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CompressedTexture, Loader, LoadingManager, WebGLRenderer } from "
|
|
1
|
+
import { CompressedTexture, Loader, LoadingManager, WebGLRenderer } from "three";
|
|
2
2
|
import Renderer from "../renderers/common/Renderer.js";
|
|
3
3
|
import WebGPURenderer from "../renderers/webgpu/WebGPURenderer.js";
|
|
4
4
|
import { WorkerPool } from "../utils/WorkerPool.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Data3DTexture, DataTexture, FloatType, Loader, LoadingManager, UnsignedByteType } from "
|
|
1
|
+
import { Data3DTexture, DataTexture, FloatType, Loader, LoadingManager, UnsignedByteType } from "three";
|
|
2
2
|
|
|
3
3
|
export interface LUT3dlResult {
|
|
4
4
|
size: number;
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Data3DTexture,
|
|
3
|
-
DataTexture,
|
|
4
|
-
FloatType,
|
|
5
|
-
Loader,
|
|
6
|
-
LoadingManager,
|
|
7
|
-
UnsignedByteType,
|
|
8
|
-
Vector3,
|
|
9
|
-
} from "../../../src/Three.js";
|
|
1
|
+
import { Data3DTexture, DataTexture, FloatType, Loader, LoadingManager, UnsignedByteType, Vector3 } from "three";
|
|
10
2
|
|
|
11
3
|
export interface LUTCubeResult {
|
|
12
4
|
title: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AnimationClip, Camera, FileLoader, Loader, LoadingManager, SkinnedMesh } from "
|
|
1
|
+
import { AnimationClip, Camera, FileLoader, Loader, LoadingManager, SkinnedMesh } from "three";
|
|
2
2
|
|
|
3
3
|
export interface MMDLoaderAnimationObject {
|
|
4
4
|
animation: AnimationClip;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
BufferGeometry,
|
|
3
|
-
Loader,
|
|
4
|
-
LoadingManager,
|
|
5
|
-
Mapping,
|
|
6
|
-
Material,
|
|
7
|
-
Side,
|
|
8
|
-
Texture,
|
|
9
|
-
Vector2,
|
|
10
|
-
Wrapping,
|
|
11
|
-
} from "../../../src/Three.js";
|
|
1
|
+
import { BufferGeometry, Loader, LoadingManager, Mapping, Material, Side, Texture, Vector2, Wrapping } from "three";
|
|
12
2
|
|
|
13
3
|
export interface MaterialCreatorOptions {
|
|
14
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Loader, LoadingManager } from "
|
|
1
|
+
import { Loader, LoadingManager } from "three";
|
|
2
2
|
import { MeshPhysicalNodeMaterial } from "../nodes/Nodes.js";
|
|
3
3
|
|
|
4
4
|
export class MaterialXLoader extends Loader<{ materials: Record<string, MeshPhysicalNodeMaterial> }> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BufferGeometry, Loader, LoadingManager, Points, PointsMaterial } from "
|
|
1
|
+
import { BufferGeometry, Loader, LoadingManager, Points, PointsMaterial } from "three";
|
|
2
2
|
|
|
3
3
|
export class PCDLoader extends Loader<Points<BufferGeometry, PointsMaterial>> {
|
|
4
4
|
constructor(manager?: LoadingManager);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BufferGeometry, Loader, LoadingManager, Shape, ShapePath, Vector2, Vector3 } from "
|
|
1
|
+
import { BufferGeometry, Loader, LoadingManager, Shape, ShapePath, Vector2, Vector3 } from "three";
|
|
2
2
|
|
|
3
3
|
export interface SVGResultPaths extends ShapePath {
|
|
4
4
|
userData?: Record<string, any> | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Color, Group, Loader, LoadingManager, Material, Mesh, Texture } from "
|
|
1
|
+
import { Color, Group, Loader, LoadingManager, Material, Mesh, Texture } from "three";
|
|
2
2
|
|
|
3
3
|
export class TDSLoader extends Loader<Group> {
|
|
4
4
|
constructor(manager?: LoadingManager);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Loader, LoadingManager, Mesh } from "
|
|
1
|
+
import { Group, Loader, LoadingManager, Mesh } from "three";
|
|
2
2
|
|
|
3
3
|
export class USDAParser {
|
|
4
4
|
parse(text: string): object;
|
|
@@ -7,5 +7,5 @@ export class USDAParser {
|
|
|
7
7
|
export class USDZLoader extends Loader<Mesh> {
|
|
8
8
|
constructor(manager?: LoadingManager);
|
|
9
9
|
|
|
10
|
-
parse(buffer: ArrayBuffer | string):
|
|
10
|
+
parse(buffer: ArrayBuffer | string): Group;
|
|
11
11
|
}
|