@types/three 0.153.0 → 0.154.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 +1 -1
- three/build/three.d.ts +1 -1
- three/build/three.min.d.ts +1 -1
- three/build/three.module.d.ts +1 -1
- three/build/three.module.min.d.ts +1 -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 +3 -3
- three/examples/jsm/animation/MMDPhysics.d.ts +1 -1
- three/examples/jsm/cameras/CinematicCamera.d.ts +2 -2
- three/examples/jsm/capabilities/WebGL.d.ts +7 -8
- three/examples/jsm/controls/ArcballControls.d.ts +6 -1
- three/examples/jsm/controls/DragControls.d.ts +1 -1
- three/examples/jsm/controls/FirstPersonControls.d.ts +1 -1
- three/examples/jsm/controls/FlyControls.d.ts +6 -6
- three/examples/jsm/controls/MapControls.d.ts +2 -2
- 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 +1 -1
- three/examples/jsm/csm/CSM.d.ts +2 -2
- three/examples/jsm/csm/CSMFrustum.d.ts +1 -1
- three/examples/jsm/csm/CSMHelper.d.ts +2 -2
- 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/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 +9 -1
- 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/RoomEnvironment.d.ts +2 -2
- 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 +6 -2
- 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 +2 -2
- three/examples/jsm/geometries/ParametricGeometry.d.ts +1 -1
- three/examples/jsm/geometries/RoundedBoxGeometry.d.ts +1 -1
- three/examples/jsm/geometries/TeapotGeometry.d.ts +1 -1
- three/examples/jsm/geometries/TextGeometry.d.ts +2 -2
- three/examples/jsm/helpers/LightProbeHelper.d.ts +1 -1
- three/examples/jsm/helpers/OctreeHelper.d.ts +2 -2
- three/examples/jsm/helpers/PositionalAudioHelper.d.ts +1 -1
- three/examples/jsm/helpers/RectAreaLightHelper.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/SelectionBox.d.ts +1 -1
- three/examples/jsm/interactive/SelectionHelper.d.ts +1 -1
- three/examples/jsm/libs/meshopt_decoder.module.d.ts +1 -0
- three/examples/jsm/libs/stats.module.d.ts +1 -1
- three/examples/jsm/lights/LightProbeGenerator.d.ts +1 -1
- three/examples/jsm/lines/Line2.d.ts +3 -3
- three/examples/jsm/lines/LineGeometry.d.ts +2 -2
- three/examples/jsm/lines/LineMaterial.d.ts +1 -1
- three/examples/jsm/lines/LineSegments2.d.ts +3 -3
- three/examples/jsm/lines/LineSegmentsGeometry.d.ts +1 -1
- three/examples/jsm/lines/Wireframe.d.ts +3 -3
- three/examples/jsm/lines/WireframeGeometry2.d.ts +2 -2
- 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/BasisTextureLoader.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 +7 -1
- 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 +3 -3
- three/examples/jsm/loaders/HDRCubeTextureLoader.d.ts +2 -2
- three/examples/jsm/loaders/IFCLoader.d.ts +1 -1
- three/examples/jsm/loaders/KMZLoader.d.ts +2 -2
- 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 -1
- 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 -1
- three/examples/jsm/loaders/NRRDLoader.d.ts +2 -2
- three/examples/jsm/loaders/OBJLoader.d.ts +2 -2
- 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 +1 -1
- 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/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 +2 -2
- 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/TubePainter.d.ts +1 -1
- three/examples/jsm/misc/Volume.d.ts +3 -3
- three/examples/jsm/misc/VolumeSlice.d.ts +2 -2
- three/examples/jsm/modifiers/CurveModifier.d.ts +1 -1
- 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 +104 -105
- three/examples/jsm/nodes/accessors/BitangentNode.d.ts +1 -1
- three/examples/jsm/nodes/accessors/BufferNode.d.ts +2 -2
- three/examples/jsm/nodes/accessors/CameraNode.d.ts +1 -1
- three/examples/jsm/nodes/accessors/CubeTextureNode.d.ts +3 -3
- three/examples/jsm/nodes/accessors/InstanceNode.d.ts +2 -2
- three/examples/jsm/nodes/accessors/MaterialNode.d.ts +1 -1
- three/examples/jsm/nodes/accessors/MaterialReferenceNode.d.ts +2 -2
- three/examples/jsm/nodes/accessors/ModelNode.d.ts +2 -2
- three/examples/jsm/nodes/accessors/ModelViewProjectionNode.d.ts +2 -2
- three/examples/jsm/nodes/accessors/NormalNode.d.ts +1 -1
- three/examples/jsm/nodes/accessors/Object3DNode.d.ts +2 -2
- three/examples/jsm/nodes/accessors/PointUVNode.d.ts +1 -1
- three/examples/jsm/nodes/accessors/PositionNode.d.ts +1 -1
- three/examples/jsm/nodes/accessors/ReferenceNode.d.ts +2 -2
- three/examples/jsm/nodes/accessors/ReflectVectorNode.d.ts +1 -1
- three/examples/jsm/nodes/accessors/SkinningNode.d.ts +2 -2
- three/examples/jsm/nodes/accessors/StorageBufferNode.d.ts +2 -2
- three/examples/jsm/nodes/accessors/TextureNode.d.ts +3 -3
- three/examples/jsm/nodes/accessors/UVNode.d.ts +1 -1
- three/examples/jsm/nodes/accessors/UserDataNode.d.ts +2 -2
- three/examples/jsm/nodes/code/CodeNode.d.ts +2 -2
- three/examples/jsm/nodes/code/ExpressionNode.d.ts +2 -2
- three/examples/jsm/nodes/code/FunctionCallNode.d.ts +3 -3
- three/examples/jsm/nodes/code/FunctionNode.d.ts +6 -6
- three/examples/jsm/nodes/core/ArrayUniformNode.d.ts +2 -2
- three/examples/jsm/nodes/core/AttributeNode.d.ts +3 -3
- three/examples/jsm/nodes/core/BypassNode.d.ts +1 -1
- three/examples/jsm/nodes/core/CacheNode.d.ts +2 -2
- three/examples/jsm/nodes/core/ConstNode.d.ts +3 -3
- three/examples/jsm/nodes/core/ContextNode.d.ts +2 -2
- three/examples/jsm/nodes/core/InputNode.d.ts +3 -3
- three/examples/jsm/nodes/core/Node.d.ts +3 -3
- three/examples/jsm/nodes/core/NodeBuilder.d.ts +12 -12
- three/examples/jsm/nodes/core/NodeCache.d.ts +2 -2
- three/examples/jsm/nodes/core/NodeFrame.d.ts +2 -2
- three/examples/jsm/nodes/core/NodeFunction.d.ts +1 -1
- three/examples/jsm/nodes/core/NodeKeywords.d.ts +2 -2
- three/examples/jsm/nodes/core/NodeParser.d.ts +1 -1
- three/examples/jsm/nodes/core/NodeUniform.d.ts +2 -2
- three/examples/jsm/nodes/core/NodeUtils.d.ts +2 -2
- three/examples/jsm/nodes/core/NodeVarying.d.ts +1 -1
- three/examples/jsm/nodes/core/PropertyNode.d.ts +2 -2
- three/examples/jsm/nodes/core/StackNode.d.ts +1 -1
- three/examples/jsm/nodes/core/TempNode.d.ts +3 -3
- three/examples/jsm/nodes/core/UniformNode.d.ts +3 -3
- three/examples/jsm/nodes/core/VarNode.d.ts +2 -2
- three/examples/jsm/nodes/core/VaryingNode.d.ts +1 -1
- three/examples/jsm/nodes/core/constants.d.ts +1 -1
- three/examples/jsm/nodes/display/BlendModeNode.d.ts +3 -3
- three/examples/jsm/nodes/display/ColorAdjustmentNode.d.ts +2 -2
- three/examples/jsm/nodes/display/ColorSpaceNode.d.ts +9 -6
- three/examples/jsm/nodes/display/FrontFacingNode.d.ts +1 -1
- three/examples/jsm/nodes/display/NormalMapNode.d.ts +3 -3
- three/examples/jsm/nodes/display/PosterizeNode.d.ts +1 -1
- three/examples/jsm/nodes/display/ToneMappingNode.d.ts +3 -3
- three/examples/jsm/nodes/display/ViewportNode.d.ts +1 -1
- three/examples/jsm/nodes/fog/FogExp2Node.d.ts +2 -2
- three/examples/jsm/nodes/fog/FogNode.d.ts +1 -1
- three/examples/jsm/nodes/fog/FogRangeNode.d.ts +2 -2
- three/examples/jsm/nodes/functions/BSDF/BRDF_GGX.d.ts +2 -2
- three/examples/jsm/nodes/functions/BSDF/BRDF_Lambert.d.ts +2 -2
- three/examples/jsm/nodes/functions/BSDF/DFGApprox.d.ts +2 -2
- three/examples/jsm/nodes/functions/BSDF/D_GGX.d.ts +2 -2
- three/examples/jsm/nodes/functions/BSDF/F_Schlick.d.ts +2 -2
- three/examples/jsm/nodes/functions/BSDF/V_GGX_SmithCorrelated.d.ts +2 -2
- three/examples/jsm/nodes/functions/PhysicalLightingModel.d.ts +2 -2
- three/examples/jsm/nodes/functions/material/getGeometryRoughness.d.ts +1 -1
- three/examples/jsm/nodes/functions/material/getRoughness.d.ts +2 -2
- three/examples/jsm/nodes/geometry/RangeNode.d.ts +3 -3
- three/examples/jsm/nodes/gpgpu/ComputeNode.d.ts +1 -1
- three/examples/jsm/nodes/lighting/AONode.d.ts +2 -2
- three/examples/jsm/nodes/lighting/AnalyticLightNode.d.ts +3 -3
- three/examples/jsm/nodes/lighting/EnvironmentNode.d.ts +2 -2
- three/examples/jsm/nodes/lighting/HemisphereLightNode.d.ts +4 -4
- three/examples/jsm/nodes/lighting/LightUtils.d.ts +2 -2
- three/examples/jsm/nodes/lighting/LightingContextNode.d.ts +3 -3
- three/examples/jsm/nodes/lighting/LightingNode.d.ts +1 -1
- three/examples/jsm/nodes/lighting/LightsNode.d.ts +3 -3
- three/examples/jsm/nodes/lighting/PointLightNode.d.ts +3 -3
- three/examples/jsm/nodes/lighting/SpotLightNode.d.ts +3 -3
- three/examples/jsm/nodes/loaders/NodeLoader.d.ts +2 -2
- three/examples/jsm/nodes/loaders/NodeMaterialLoader.d.ts +2 -2
- three/examples/jsm/nodes/loaders/NodeObjectLoader.d.ts +3 -3
- three/examples/jsm/nodes/materials/LineBasicNodeMaterial.d.ts +2 -2
- three/examples/jsm/nodes/materials/Materials.d.ts +7 -7
- three/examples/jsm/nodes/materials/MeshBasicNodeMaterial.d.ts +2 -2
- three/examples/jsm/nodes/materials/MeshPhysicalNodeMaterial.d.ts +3 -3
- three/examples/jsm/nodes/materials/MeshStandardNodeMaterial.d.ts +3 -3
- three/examples/jsm/nodes/materials/NodeMaterial.d.ts +4 -4
- three/examples/jsm/nodes/materials/PointsNodeMaterial.d.ts +3 -3
- three/examples/jsm/nodes/materials/SpriteNodeMaterial.d.ts +4 -4
- three/examples/jsm/nodes/materialx/MaterialXNodes.d.ts +4 -4
- three/examples/jsm/nodes/materialx/lib/mx_hsv.d.ts +1 -1
- three/examples/jsm/nodes/materialx/lib/mx_noise.d.ts +1 -1
- three/examples/jsm/nodes/math/CondNode.d.ts +1 -1
- three/examples/jsm/nodes/math/MathNode.d.ts +2 -2
- three/examples/jsm/nodes/math/OperatorNode.d.ts +2 -2
- three/examples/jsm/nodes/procedural/CheckerNode.d.ts +1 -1
- three/examples/jsm/nodes/shadernode/ShaderNode.d.ts +1 -1
- three/examples/jsm/nodes/shadernode/ShaderNodeBaseElements.d.ts +9 -11
- three/examples/jsm/nodes/shadernode/ShaderNodeElements.d.ts +16 -16
- three/examples/jsm/nodes/utils/ArrayElementNode.d.ts +2 -2
- three/examples/jsm/nodes/utils/ConvertNode.d.ts +2 -2
- three/examples/jsm/nodes/utils/EquirectUVNode.d.ts +2 -2
- three/examples/jsm/nodes/utils/JoinNode.d.ts +2 -2
- three/examples/jsm/nodes/utils/MatcapUVNode.d.ts +1 -1
- three/examples/jsm/nodes/utils/MaxMipLevelNode.d.ts +3 -3
- three/examples/jsm/nodes/utils/OscNode.d.ts +1 -1
- three/examples/jsm/nodes/utils/RemapNode.d.ts +1 -1
- three/examples/jsm/nodes/utils/RotateUVNode.d.ts +2 -2
- three/examples/jsm/nodes/utils/SpecularMIPLevelNode.d.ts +1 -1
- three/examples/jsm/nodes/utils/SplitNode.d.ts +2 -2
- three/examples/jsm/nodes/utils/SpriteSheetUVNode.d.ts +1 -1
- three/examples/jsm/nodes/utils/TimerNode.d.ts +1 -1
- three/examples/jsm/nodes/utils/TriplanarTexturesNode.d.ts +2 -2
- three/examples/jsm/objects/GroundProjectedSkybox.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/Reflector.d.ts +1 -1
- three/examples/jsm/objects/ReflectorForSSRPass.d.ts +1 -1
- three/examples/jsm/objects/Refractor.d.ts +1 -1
- 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 +9 -1
- three/examples/jsm/objects/Water2.d.ts +1 -1
- three/examples/jsm/physics/AmmoPhysics.d.ts +6 -5
- three/examples/jsm/physics/RapierPhysics.d.ts +11 -0
- three/examples/jsm/postprocessing/AfterimagePass.d.ts +2 -2
- three/examples/jsm/postprocessing/BloomPass.d.ts +2 -2
- three/examples/jsm/postprocessing/BokehPass.d.ts +2 -2
- three/examples/jsm/postprocessing/ClearPass.d.ts +2 -2
- three/examples/jsm/postprocessing/CubeTexturePass.d.ts +2 -2
- three/examples/jsm/postprocessing/DotScreenPass.d.ts +2 -2
- three/examples/jsm/postprocessing/EffectComposer.d.ts +4 -4
- three/examples/jsm/postprocessing/FilmPass.d.ts +2 -2
- three/examples/jsm/postprocessing/GlitchPass.d.ts +2 -2
- three/examples/jsm/postprocessing/HalftonePass.d.ts +2 -2
- three/examples/jsm/postprocessing/LUTPass.d.ts +2 -2
- three/examples/jsm/postprocessing/MaskPass.d.ts +2 -2
- three/examples/jsm/postprocessing/OutlinePass.d.ts +2 -2
- three/examples/jsm/postprocessing/OutputPass.d.ts +13 -0
- three/examples/jsm/postprocessing/Pass.d.ts +1 -1
- three/examples/jsm/postprocessing/RenderPass.d.ts +2 -2
- three/examples/jsm/postprocessing/RenderPixelatedPass.d.ts +2 -2
- three/examples/jsm/postprocessing/SAOPass.d.ts +2 -2
- three/examples/jsm/postprocessing/SMAAPass.d.ts +2 -2
- three/examples/jsm/postprocessing/SSAARenderPass.d.ts +2 -2
- three/examples/jsm/postprocessing/SSAOPass.d.ts +2 -2
- three/examples/jsm/postprocessing/SSRPass.d.ts +3 -3
- three/examples/jsm/postprocessing/SavePass.d.ts +2 -2
- three/examples/jsm/postprocessing/ShaderPass.d.ts +2 -2
- three/examples/jsm/postprocessing/TAARenderPass.d.ts +2 -2
- three/examples/jsm/postprocessing/TexturePass.d.ts +2 -2
- three/examples/jsm/postprocessing/UnrealBloomPass.d.ts +3 -3
- 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/webgl/nodes/SlotNode.d.ts +1 -1
- three/examples/jsm/renderers/webgl/nodes/WebGLNodeBuilder.d.ts +5 -5
- three/examples/jsm/renderers/webgl/nodes/WebGLNodes.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/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/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/MirrorShader.d.ts +1 -1
- three/examples/jsm/shaders/NormalMapShader.d.ts +1 -1
- three/examples/jsm/shaders/OutputShader.d.ts +10 -0
- 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 +2 -2
- three/examples/jsm/webxr/OculusHandPointerModel.d.ts +2 -2
- three/examples/jsm/webxr/Text2D.d.ts +1 -1
- three/examples/jsm/webxr/VRButton.d.ts +1 -1
- three/examples/jsm/webxr/XRButton.d.ts +6 -0
- three/examples/jsm/webxr/XRControllerModelFactory.d.ts +2 -2
- 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 +3 -3
- three/examples/jsm/webxr/XRHandPrimitiveModel.d.ts +2 -2
- three/index.d.ts +1 -1
- three/package.json +6 -4
- three/src/Three.d.ts +185 -185
- three/src/animation/AnimationAction.d.ts +4 -4
- three/src/animation/AnimationClip.d.ts +4 -4
- three/src/animation/AnimationMixer.d.ts +6 -6
- three/src/animation/AnimationUtils.d.ts +1 -1
- three/src/animation/KeyframeTrack.d.ts +5 -5
- three/src/animation/tracks/BooleanKeyframeTrack.d.ts +1 -1
- three/src/animation/tracks/ColorKeyframeTrack.d.ts +2 -2
- three/src/animation/tracks/NumberKeyframeTrack.d.ts +2 -2
- three/src/animation/tracks/QuaternionKeyframeTrack.d.ts +2 -2
- three/src/animation/tracks/StringKeyframeTrack.d.ts +2 -2
- three/src/animation/tracks/VectorKeyframeTrack.d.ts +2 -2
- three/src/audio/Audio.d.ts +5 -5
- three/src/audio/AudioAnalyser.d.ts +1 -1
- three/src/audio/AudioListener.d.ts +2 -2
- three/src/audio/PositionalAudio.d.ts +2 -2
- three/src/cameras/ArrayCamera.d.ts +1 -1
- three/src/cameras/Camera.d.ts +6 -6
- three/src/cameras/CubeCamera.d.ts +5 -5
- three/src/cameras/OrthographicCamera.d.ts +1 -1
- three/src/cameras/PerspectiveCamera.d.ts +1 -1
- three/src/cameras/StereoCamera.d.ts +2 -2
- three/src/core/BufferAttribute.d.ts +16 -5
- three/src/core/BufferGeometry.d.ts +10 -10
- three/src/core/InstancedBufferAttribute.d.ts +3 -4
- three/src/core/InstancedBufferGeometry.d.ts +1 -1
- three/src/core/InstancedInterleavedBuffer.d.ts +3 -2
- three/src/core/InterleavedBuffer.d.ts +5 -4
- three/src/core/InterleavedBufferAttribute.d.ts +5 -5
- three/src/core/Object3D.d.ts +15 -15
- three/src/core/Raycaster.d.ts +6 -6
- three/src/core/UniformsGroup.d.ts +3 -3
- three/src/extras/ImageUtils.d.ts +2 -2
- three/src/extras/PMREMGenerator.d.ts +5 -5
- three/src/extras/core/Curve.d.ts +2 -2
- three/src/extras/core/CurvePath.d.ts +2 -2
- three/src/extras/core/Path.d.ts +2 -2
- three/src/extras/core/Shape.d.ts +2 -2
- three/src/extras/core/ShapePath.d.ts +4 -4
- three/src/extras/curves/ArcCurve.d.ts +1 -1
- three/src/extras/curves/CatmullRomCurve3.d.ts +2 -2
- three/src/extras/curves/CubicBezierCurve.d.ts +2 -2
- three/src/extras/curves/CubicBezierCurve3.d.ts +2 -2
- three/src/extras/curves/Curves.d.ts +10 -10
- three/src/extras/curves/EllipseCurve.d.ts +2 -2
- three/src/extras/curves/LineCurve.d.ts +2 -2
- three/src/extras/curves/LineCurve3.d.ts +2 -2
- three/src/extras/curves/QuadraticBezierCurve.d.ts +2 -2
- three/src/extras/curves/QuadraticBezierCurve3.d.ts +2 -2
- three/src/extras/curves/SplineCurve.d.ts +2 -2
- three/src/geometries/BoxGeometry.d.ts +1 -1
- three/src/geometries/CapsuleGeometry.d.ts +1 -1
- three/src/geometries/CircleGeometry.d.ts +1 -1
- three/src/geometries/ConeGeometry.d.ts +1 -1
- three/src/geometries/CylinderGeometry.d.ts +1 -1
- three/src/geometries/DodecahedronGeometry.d.ts +1 -1
- three/src/geometries/EdgesGeometry.d.ts +1 -1
- three/src/geometries/ExtrudeGeometry.d.ts +5 -5
- three/src/geometries/Geometries.d.ts +21 -21
- three/src/geometries/IcosahedronGeometry.d.ts +1 -1
- three/src/geometries/LatheGeometry.d.ts +2 -2
- three/src/geometries/OctahedronGeometry.d.ts +1 -1
- three/src/geometries/PlaneGeometry.d.ts +1 -1
- three/src/geometries/PolyhedronGeometry.d.ts +1 -1
- three/src/geometries/RingGeometry.d.ts +1 -1
- three/src/geometries/ShapeGeometry.d.ts +2 -2
- three/src/geometries/SphereGeometry.d.ts +1 -1
- three/src/geometries/TetrahedronGeometry.d.ts +1 -1
- three/src/geometries/TorusGeometry.d.ts +1 -1
- three/src/geometries/TorusKnotGeometry.d.ts +1 -1
- three/src/geometries/TubeGeometry.d.ts +3 -3
- three/src/geometries/WireframeGeometry.d.ts +1 -1
- three/src/helpers/ArrowHelper.d.ts +5 -5
- three/src/helpers/AxesHelper.d.ts +2 -2
- three/src/helpers/Box3Helper.d.ts +3 -3
- three/src/helpers/BoxHelper.d.ts +3 -3
- three/src/helpers/CameraHelper.d.ts +4 -4
- three/src/helpers/DirectionalLightHelper.d.ts +5 -5
- three/src/helpers/GridHelper.d.ts +4 -4
- three/src/helpers/HemisphereLightHelper.d.ts +5 -5
- three/src/helpers/PlaneHelper.d.ts +2 -2
- three/src/helpers/PointLightHelper.d.ts +4 -4
- three/src/helpers/PolarGridHelper.d.ts +2 -2
- three/src/helpers/SkeletonHelper.d.ts +5 -5
- three/src/helpers/SpotLightHelper.d.ts +5 -5
- three/src/lights/AmbientLight.d.ts +2 -2
- three/src/lights/AmbientLightProbe.d.ts +2 -2
- three/src/lights/DirectionalLight.d.ts +5 -5
- three/src/lights/DirectionalLightShadow.d.ts +2 -2
- three/src/lights/HemisphereLight.d.ts +3 -3
- three/src/lights/HemisphereLightProbe.d.ts +2 -2
- three/src/lights/Light.d.ts +3 -3
- three/src/lights/LightProbe.d.ts +2 -2
- three/src/lights/LightShadow.d.ts +7 -7
- three/src/lights/PointLight.d.ts +3 -3
- three/src/lights/PointLightShadow.d.ts +3 -3
- three/src/lights/RectAreaLight.d.ts +2 -2
- three/src/lights/SpotLight.d.ts +6 -6
- three/src/lights/SpotLightShadow.d.ts +2 -2
- three/src/loaders/AnimationLoader.d.ts +3 -3
- three/src/loaders/AudioLoader.d.ts +2 -2
- three/src/loaders/BufferGeometryLoader.d.ts +4 -4
- three/src/loaders/CompressedTextureLoader.d.ts +3 -3
- three/src/loaders/CubeTextureLoader.d.ts +3 -3
- three/src/loaders/DataTextureLoader.d.ts +3 -3
- three/src/loaders/FileLoader.d.ts +2 -2
- three/src/loaders/ImageBitmapLoader.d.ts +2 -2
- three/src/loaders/ImageLoader.d.ts +2 -2
- three/src/loaders/Loader.d.ts +3 -1
- three/src/loaders/LoadingManager.d.ts +1 -1
- three/src/loaders/MaterialLoader.d.ts +4 -4
- three/src/loaders/ObjectLoader.d.ts +9 -9
- three/src/loaders/TextureLoader.d.ts +3 -3
- three/src/materials/LineBasicMaterial.d.ts +3 -3
- three/src/materials/LineDashedMaterial.d.ts +1 -1
- three/src/materials/Material.d.ts +8 -5
- three/src/materials/Materials.d.ts +18 -18
- three/src/materials/MeshBasicMaterial.d.ts +4 -4
- three/src/materials/MeshDepthMaterial.d.ts +3 -3
- three/src/materials/MeshDistanceMaterial.d.ts +3 -3
- three/src/materials/MeshLambertMaterial.d.ts +5 -5
- three/src/materials/MeshMatcapMaterial.d.ts +5 -5
- three/src/materials/MeshNormalMaterial.d.ts +4 -4
- three/src/materials/MeshPhongMaterial.d.ts +5 -5
- three/src/materials/MeshPhysicalMaterial.d.ts +4 -4
- three/src/materials/MeshStandardMaterial.d.ts +5 -5
- three/src/materials/MeshToonMaterial.d.ts +5 -5
- three/src/materials/PointsMaterial.d.ts +3 -3
- three/src/materials/RawShaderMaterial.d.ts +1 -1
- three/src/materials/ShaderMaterial.d.ts +9 -3
- three/src/materials/ShadowMaterial.d.ts +2 -2
- three/src/materials/SpriteMaterial.d.ts +3 -3
- three/src/math/Box2.d.ts +1 -1
- three/src/math/Box3.d.ts +7 -7
- three/src/math/Color.d.ts +6 -6
- three/src/math/ColorManagement.d.ts +2 -2
- three/src/math/Cylindrical.d.ts +1 -1
- three/src/math/Euler.d.ts +3 -3
- three/src/math/Frustum.d.ts +8 -8
- three/src/math/Line3.d.ts +2 -2
- three/src/math/MathUtils.d.ts +1 -1
- three/src/math/Matrix3.d.ts +3 -3
- three/src/math/Matrix4.d.ts +5 -5
- three/src/math/Plane.d.ts +6 -6
- three/src/math/Quaternion.d.ts +5 -5
- three/src/math/Ray.d.ts +5 -5
- three/src/math/Sphere.d.ts +4 -4
- three/src/math/Spherical.d.ts +1 -1
- three/src/math/SphericalHarmonics3.d.ts +1 -1
- three/src/math/Triangle.d.ts +7 -7
- three/src/math/Vector2.d.ts +2 -2
- three/src/math/Vector3.d.ts +11 -11
- three/src/math/Vector4.d.ts +4 -4
- three/src/math/interpolants/CubicInterpolant.d.ts +1 -1
- three/src/math/interpolants/DiscreteInterpolant.d.ts +1 -1
- three/src/math/interpolants/LinearInterpolant.d.ts +1 -1
- three/src/math/interpolants/QuaternionLinearInterpolant.d.ts +1 -1
- three/src/objects/Bone.d.ts +1 -1
- three/src/objects/Group.d.ts +1 -1
- three/src/objects/InstancedMesh.d.ts +8 -8
- three/src/objects/LOD.d.ts +4 -4
- three/src/objects/Line.d.ts +5 -5
- three/src/objects/LineLoop.d.ts +3 -3
- three/src/objects/LineSegments.d.ts +3 -3
- three/src/objects/Mesh.d.ts +6 -6
- three/src/objects/Points.d.ts +6 -6
- three/src/objects/Skeleton.d.ts +3 -3
- three/src/objects/SkinnedMesh.d.ts +8 -8
- three/src/objects/Sprite.d.ts +6 -6
- three/src/renderers/WebGL1Renderer.d.ts +1 -1
- three/src/renderers/WebGL3DRenderTarget.d.ts +2 -2
- three/src/renderers/WebGLArrayRenderTarget.d.ts +2 -2
- three/src/renderers/WebGLCubeRenderTarget.d.ts +4 -4
- three/src/renderers/WebGLMultipleRenderTargets.d.ts +4 -18
- three/src/renderers/WebGLRenderTarget.d.ts +13 -55
- three/src/renderers/WebGLRenderer.d.ts +32 -25
- three/src/renderers/shaders/ShaderChunk.d.ts +5 -3
- three/src/renderers/shaders/ShaderLib.d.ts +1 -1
- three/src/renderers/shaders/UniformsLib.d.ts +3 -3
- three/src/renderers/shaders/UniformsUtils.d.ts +1 -1
- three/src/renderers/webgl/WebGLAttributes.d.ts +4 -4
- three/src/renderers/webgl/WebGLBindingStates.d.ts +8 -8
- three/src/renderers/webgl/WebGLBufferRenderer.d.ts +3 -3
- three/src/renderers/webgl/WebGLClipping.d.ts +4 -4
- three/src/renderers/webgl/WebGLCubeMaps.d.ts +1 -1
- three/src/renderers/webgl/WebGLCubeUVMaps.d.ts +1 -1
- three/src/renderers/webgl/WebGLExtensions.d.ts +1 -1
- three/src/renderers/webgl/WebGLGeometries.d.ts +5 -5
- three/src/renderers/webgl/WebGLInfo.d.ts +1 -1
- three/src/renderers/webgl/WebGLLights.d.ts +2 -2
- three/src/renderers/webgl/WebGLProgram.d.ts +3 -3
- three/src/renderers/webgl/WebGLPrograms.d.ts +9 -9
- three/src/renderers/webgl/WebGLRenderLists.d.ts +8 -8
- three/src/renderers/webgl/WebGLShadowMap.d.ts +7 -7
- three/src/renderers/webgl/WebGLState.d.ts +5 -5
- three/src/renderers/webgl/WebGLTextures.d.ts +6 -6
- three/src/renderers/webgl/WebGLUniforms.d.ts +2 -2
- three/src/renderers/webgl/WebGLUniformsGroups.d.ts +5 -5
- three/src/renderers/webgl/WebGLUtils.d.ts +1 -1
- three/src/renderers/webxr/WebXRController.d.ts +2 -2
- three/src/renderers/webxr/WebXRManager.d.ts +6 -12
- three/src/scenes/Fog.d.ts +1 -1
- three/src/scenes/FogExp2.d.ts +2 -2
- three/src/scenes/Scene.d.ts +6 -6
- three/src/textures/CanvasTexture.d.ts +2 -2
- three/src/textures/CompressedArrayTexture.d.ts +1 -1
- three/src/textures/CompressedTexture.d.ts +2 -2
- three/src/textures/CubeTexture.d.ts +2 -2
- three/src/textures/Data3DTexture.d.ts +3 -3
- three/src/textures/DataArrayTexture.d.ts +3 -3
- three/src/textures/DataTexture.d.ts +3 -3
- three/src/textures/DepthTexture.d.ts +2 -2
- three/src/textures/FramebufferTexture.d.ts +2 -2
- three/src/textures/Texture.d.ts +5 -5
- three/src/textures/VideoTexture.d.ts +2 -2
- three/examples/jsm/nodes/core/InstanceIndexNode.d.ts +0 -6
three/src/audio/Audio.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Object3D } from './../core/Object3D';
|
|
2
|
-
import { AudioListener } from './AudioListener';
|
|
3
|
-
import { AudioContext } from './AudioContext';
|
|
1
|
+
import { Object3D } from './../core/Object3D.js';
|
|
2
|
+
import { AudioListener } from './AudioListener.js';
|
|
3
|
+
import { AudioContext } from './AudioContext.js';
|
|
4
4
|
|
|
5
5
|
// Extras / Audio /////////////////////////////////////////////////////////////////////
|
|
6
6
|
|
|
@@ -129,7 +129,7 @@ export class Audio<NodeType extends AudioNode = GainNode> extends Object3D {
|
|
|
129
129
|
* An {@link https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode | AudioBufferSourceNode} created using
|
|
130
130
|
* {@link https://developer.mozilla.org/en-US/docs/Web/API/AudioContext/createBufferSource | AudioContext.createBufferSource()}.
|
|
131
131
|
*/
|
|
132
|
-
source:
|
|
132
|
+
source: AudioScheduledSourceNode | null;
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
135
|
* Represents an array of {@link https://developer.mozilla.org/en-US/docs/Web/API/AudioNode | AudioNodes}.
|
|
@@ -149,7 +149,7 @@ export class Audio<NodeType extends AudioNode = GainNode> extends Object3D {
|
|
|
149
149
|
* Setup the {@link Audio.source | source} to the audioBuffer, and sets {@link Audio.sourceType | sourceType} to 'audioNode'.
|
|
150
150
|
* @remarks Also sets {@link Audio.hasPlaybackControl | hasPlaybackControl} to false.
|
|
151
151
|
*/
|
|
152
|
-
setNodeSource(audioNode:
|
|
152
|
+
setNodeSource(audioNode: AudioScheduledSourceNode): this;
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
155
|
* Applies the given object of type {@link https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement | HTMLMediaElement} as the source of this audio.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Object3D } from './../core/Object3D';
|
|
2
|
-
import { AudioContext } from './AudioContext';
|
|
1
|
+
import { Object3D } from './../core/Object3D.js';
|
|
2
|
+
import { AudioContext } from './AudioContext.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The {@link AudioListener} represents a virtual {@link https://developer.mozilla.org/en-US/docs/Web/API/AudioListener | listener} of the all positional and non-positional audio effects in the scene.
|
three/src/cameras/Camera.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Matrix4 } from '../math/Matrix4';
|
|
2
|
-
import { Vector3 } from '../math/Vector3';
|
|
3
|
-
import { Object3D } from '../core/Object3D';
|
|
4
|
-
import { Layers } from '../core/Layers';
|
|
5
|
-
import { CoordinateSystem } from '../constants';
|
|
1
|
+
import { Matrix4 } from '../math/Matrix4.js';
|
|
2
|
+
import { Vector3 } from '../math/Vector3.js';
|
|
3
|
+
import { Object3D } from '../core/Object3D.js';
|
|
4
|
+
import { Layers } from '../core/Layers.js';
|
|
5
|
+
import { CoordinateSystem } from '../constants.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Abstract base class for cameras
|
|
@@ -11,7 +11,7 @@ import { CoordinateSystem } from '../constants';
|
|
|
11
11
|
* @see {@link https://threejs.org/docs/index.html#api/en/cameras/Camera | Official Documentation}
|
|
12
12
|
* @see {@link https://github.com/mrdoob/three.js/blob/master/src/cameras/Camera.js | Source}
|
|
13
13
|
*/
|
|
14
|
-
export
|
|
14
|
+
export class Camera extends Object3D {
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
17
|
* Note that this class is not intended to be called directly; you probably want a
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { WebGLCubeRenderTarget } from './../renderers/WebGLCubeRenderTarget';
|
|
2
|
-
import { Scene } from './../scenes/Scene';
|
|
3
|
-
import { WebGLRenderer } from './../renderers/WebGLRenderer';
|
|
4
|
-
import { Object3D } from './../core/Object3D';
|
|
5
|
-
import { CoordinateSystem } from '../constants';
|
|
1
|
+
import { WebGLCubeRenderTarget } from './../renderers/WebGLCubeRenderTarget.js';
|
|
2
|
+
import { Scene } from './../scenes/Scene.js';
|
|
3
|
+
import { WebGLRenderer } from './../renderers/WebGLRenderer.js';
|
|
4
|
+
import { Object3D } from './../core/Object3D.js';
|
|
5
|
+
import { CoordinateSystem } from '../constants.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Creates **6** {@link THREE.PerspectiveCamera | cameras} that render to a {@link THREE.WebGLCubeRenderTarget | WebGLCubeRenderTarget}.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PerspectiveCamera } from './PerspectiveCamera';
|
|
2
|
-
import { Camera } from './Camera';
|
|
1
|
+
import { PerspectiveCamera } from './PerspectiveCamera.js';
|
|
2
|
+
import { Camera } from './Camera.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Dual {@link PerspectiveCamera | PerspectiveCamera}s used for effects such as
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
import { Usage, AttributeGPUType } from '../constants';
|
|
2
|
-
import { Matrix3 } from '
|
|
3
|
-
import { Matrix4 } from '
|
|
1
|
+
import { Usage, AttributeGPUType } from '../constants.js';
|
|
2
|
+
import { Matrix3 } from '../math/Matrix3.js';
|
|
3
|
+
import { Matrix4 } from '../math/Matrix4.js';
|
|
4
|
+
|
|
5
|
+
export type TypedArray =
|
|
6
|
+
| Int8Array
|
|
7
|
+
| Uint8Array
|
|
8
|
+
| Uint8ClampedArray
|
|
9
|
+
| Int16Array
|
|
10
|
+
| Uint16Array
|
|
11
|
+
| Int32Array
|
|
12
|
+
| Uint32Array
|
|
13
|
+
| Float32Array
|
|
14
|
+
| Float64Array;
|
|
4
15
|
|
|
5
16
|
/**
|
|
6
17
|
* This class stores data for an attribute (such as vertex positions, face indices, normals, colors, UVs, and any custom attributes )
|
|
@@ -34,7 +45,7 @@ export class BufferAttribute {
|
|
|
34
45
|
* Default `false`.
|
|
35
46
|
* @throws `TypeError` When the {@link array} is not a `TypedArray`;
|
|
36
47
|
*/
|
|
37
|
-
constructor(array:
|
|
48
|
+
constructor(array: TypedArray, itemSize: number, normalized?: boolean);
|
|
38
49
|
|
|
39
50
|
/**
|
|
40
51
|
* Optional name for this attribute instance.
|
|
@@ -46,7 +57,7 @@ export class BufferAttribute {
|
|
|
46
57
|
* The {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray | TypedArray} holding data stored in the buffer.
|
|
47
58
|
* @returns `TypedArray`
|
|
48
59
|
*/
|
|
49
|
-
array:
|
|
60
|
+
array: TypedArray;
|
|
50
61
|
|
|
51
62
|
/**
|
|
52
63
|
* The length of vectors that are being stored in the {@link BufferAttribute.array | array}.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { BufferAttribute } from './BufferAttribute';
|
|
2
|
-
import { InterleavedBufferAttribute } from './InterleavedBufferAttribute';
|
|
3
|
-
import { Box3 } from '../math/Box3';
|
|
4
|
-
import { Sphere } from '../math/Sphere';
|
|
5
|
-
import { Matrix4 } from '../math/Matrix4';
|
|
6
|
-
import { Quaternion } from '../math/Quaternion';
|
|
7
|
-
import { Vector2 } from '../math/Vector2';
|
|
8
|
-
import { Vector3 } from '../math/Vector3';
|
|
9
|
-
import { EventDispatcher } from './EventDispatcher';
|
|
10
|
-
import { GLBufferAttribute } from './GLBufferAttribute';
|
|
1
|
+
import { BufferAttribute } from './BufferAttribute.js';
|
|
2
|
+
import { InterleavedBufferAttribute } from './InterleavedBufferAttribute.js';
|
|
3
|
+
import { Box3 } from '../math/Box3.js';
|
|
4
|
+
import { Sphere } from '../math/Sphere.js';
|
|
5
|
+
import { Matrix4 } from '../math/Matrix4.js';
|
|
6
|
+
import { Quaternion } from '../math/Quaternion.js';
|
|
7
|
+
import { Vector2 } from '../math/Vector2.js';
|
|
8
|
+
import { Vector3 } from '../math/Vector3.js';
|
|
9
|
+
import { EventDispatcher } from './EventDispatcher.js';
|
|
10
|
+
import { GLBufferAttribute } from './GLBufferAttribute.js';
|
|
11
11
|
|
|
12
12
|
export type NormalBufferAttributes = Record<string, BufferAttribute | InterleavedBufferAttribute>;
|
|
13
13
|
export type NormalOrGLBufferAttributes = Record<
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BufferAttribute } from './BufferAttribute';
|
|
1
|
+
import { BufferAttribute, TypedArray } from './BufferAttribute.js';
|
|
3
2
|
|
|
4
3
|
/**
|
|
5
|
-
* An instanced version of {@link THREE.
|
|
4
|
+
* An instanced version of {@link THREE.BufferAttribute | BufferAttribute}.
|
|
6
5
|
* @see {@link https://threejs.org/docs/index.html#api/en/core/InstancedBufferAttribute | Official Documentation}
|
|
7
6
|
* @see {@link https://github.com/mrdoob/three.js/blob/master/src/core/InstancedBufferAttribute.js | Source}
|
|
8
7
|
*/
|
|
@@ -14,7 +13,7 @@ export class InstancedBufferAttribute extends BufferAttribute {
|
|
|
14
13
|
* @param normalized
|
|
15
14
|
* @param meshPerAttribute
|
|
16
15
|
*/
|
|
17
|
-
constructor(array:
|
|
16
|
+
constructor(array: TypedArray, itemSize: number, normalized?: boolean, meshPerAttribute?: number);
|
|
18
17
|
|
|
19
18
|
/**
|
|
20
19
|
* Defines how often a value of this buffer attribute should be repeated.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { InterleavedBuffer } from './InterleavedBuffer';
|
|
1
|
+
import { InterleavedBuffer } from './InterleavedBuffer.js';
|
|
2
|
+
import { TypedArray } from './BufferAttribute.js';
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* An instanced version of {@link THREE.InterleavedBuffer | InterleavedBuffer}.
|
|
@@ -12,7 +13,7 @@ export class InstancedInterleavedBuffer extends InterleavedBuffer {
|
|
|
12
13
|
* @param itemSize
|
|
13
14
|
* @param meshPerAttribute
|
|
14
15
|
*/
|
|
15
|
-
constructor(array:
|
|
16
|
+
constructor(array: TypedArray, stride: number, meshPerAttribute?: number);
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
* @defaultValue `1`
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { InterleavedBufferAttribute } from './InterleavedBufferAttribute';
|
|
2
|
-
import { Usage } from '../constants';
|
|
1
|
+
import { InterleavedBufferAttribute } from './InterleavedBufferAttribute.js';
|
|
2
|
+
import { Usage } from '../constants.js';
|
|
3
|
+
import { TypedArray } from './BufferAttribute.js';
|
|
3
4
|
|
|
4
5
|
/**
|
|
5
6
|
* **"Interleaved"** means that multiple attributes, possibly of different types, (e.g., _position, normal, uv, color_) are packed into a single array buffer.
|
|
@@ -14,12 +15,12 @@ export class InterleavedBuffer {
|
|
|
14
15
|
* @param array A {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray | TypedArray} with a shared buffer. Stores the geometry data.
|
|
15
16
|
* @param stride The number of typed-array elements per vertex. Expects a `Integer`
|
|
16
17
|
*/
|
|
17
|
-
constructor(array:
|
|
18
|
+
constructor(array: TypedArray, stride: number);
|
|
18
19
|
|
|
19
20
|
/**
|
|
20
21
|
* A {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray | TypedArray} with a shared buffer. Stores the geometry data.
|
|
21
22
|
*/
|
|
22
|
-
array:
|
|
23
|
+
array: TypedArray;
|
|
23
24
|
|
|
24
25
|
/**
|
|
25
26
|
* The number of {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray | TypedArray} elements per vertex.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BufferAttribute } from './BufferAttribute';
|
|
2
|
-
import { InterleavedBuffer } from './InterleavedBuffer';
|
|
3
|
-
import { Matrix4 } from './../math/Matrix4';
|
|
4
|
-
import { Matrix } from './../math/Matrix3';
|
|
1
|
+
import { BufferAttribute, TypedArray } from './BufferAttribute.js';
|
|
2
|
+
import { InterleavedBuffer } from './InterleavedBuffer.js';
|
|
3
|
+
import { Matrix4 } from './../math/Matrix4.js';
|
|
4
|
+
import { Matrix } from './../math/Matrix3.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* @see {@link https://threejs.org/docs/index.html#api/en/core/InterleavedBufferAttribute | Official Documentation}
|
|
@@ -57,7 +57,7 @@ export class InterleavedBufferAttribute {
|
|
|
57
57
|
* The value of {@link InterleavedBufferAttribute.data | data}.{@link InterleavedBuffer.array | array}.
|
|
58
58
|
* @remarks _get-only property_.
|
|
59
59
|
*/
|
|
60
|
-
get array():
|
|
60
|
+
get array(): TypedArray;
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
63
|
* Flag to indicate that the {@link data | .data} ({@link InterleavedBuffer}) attribute has changed and should be re-sent to the GPU.
|
three/src/core/Object3D.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Vector3 } from './../math/Vector3';
|
|
2
|
-
import { Euler } from './../math/Euler';
|
|
3
|
-
import { Quaternion } from './../math/Quaternion';
|
|
4
|
-
import { Matrix4 } from './../math/Matrix4';
|
|
5
|
-
import { Matrix3 } from './../math/Matrix3';
|
|
6
|
-
import { Layers } from './Layers';
|
|
7
|
-
import { WebGLRenderer } from './../renderers/WebGLRenderer';
|
|
8
|
-
import { Scene } from './../scenes/Scene';
|
|
9
|
-
import { Camera } from './../cameras/Camera';
|
|
10
|
-
import { Material } from './../materials/Material';
|
|
11
|
-
import { Group } from './../objects/Group';
|
|
12
|
-
import { Intersection, Raycaster } from './Raycaster';
|
|
13
|
-
import { EventDispatcher, BaseEvent, Event } from './EventDispatcher';
|
|
14
|
-
import { BufferGeometry } from './BufferGeometry';
|
|
15
|
-
import { AnimationClip } from '../animation/AnimationClip';
|
|
1
|
+
import { Vector3 } from './../math/Vector3.js';
|
|
2
|
+
import { Euler } from './../math/Euler.js';
|
|
3
|
+
import { Quaternion } from './../math/Quaternion.js';
|
|
4
|
+
import { Matrix4 } from './../math/Matrix4.js';
|
|
5
|
+
import { Matrix3 } from './../math/Matrix3.js';
|
|
6
|
+
import { Layers } from './Layers.js';
|
|
7
|
+
import { WebGLRenderer } from './../renderers/WebGLRenderer.js';
|
|
8
|
+
import { Scene } from './../scenes/Scene.js';
|
|
9
|
+
import { Camera } from './../cameras/Camera.js';
|
|
10
|
+
import { Material } from './../materials/Material.js';
|
|
11
|
+
import { Group } from './../objects/Group.js';
|
|
12
|
+
import { Intersection, Raycaster } from './Raycaster.js';
|
|
13
|
+
import { EventDispatcher, BaseEvent, Event } from './EventDispatcher.js';
|
|
14
|
+
import { BufferGeometry } from './BufferGeometry.js';
|
|
15
|
+
import { AnimationClip } from '../animation/AnimationClip.js';
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* This is the base class for most objects in three.js and provides a set of properties and methods for manipulating objects in 3D space.
|
three/src/core/Raycaster.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Vector3 } from './../math/Vector3';
|
|
2
|
-
import { Object3D } from './Object3D';
|
|
3
|
-
import { Vector2 } from './../math/Vector2';
|
|
4
|
-
import { Ray } from './../math/Ray';
|
|
5
|
-
import { Camera } from './../cameras/Camera';
|
|
6
|
-
import { Layers } from './Layers';
|
|
1
|
+
import { Vector3 } from './../math/Vector3.js';
|
|
2
|
+
import { Object3D } from './Object3D.js';
|
|
3
|
+
import { Vector2 } from './../math/Vector2.js';
|
|
4
|
+
import { Ray } from './../math/Ray.js';
|
|
5
|
+
import { Camera } from './../cameras/Camera.js';
|
|
6
|
+
import { Layers } from './Layers.js';
|
|
7
7
|
|
|
8
8
|
export interface Face {
|
|
9
9
|
a: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { EventDispatcher } from './EventDispatcher';
|
|
2
|
-
import { Uniform } from './Uniform';
|
|
3
|
-
import { Usage } from '../constants';
|
|
1
|
+
import { EventDispatcher } from './EventDispatcher.js';
|
|
2
|
+
import { Uniform } from './Uniform.js';
|
|
3
|
+
import { Usage } from '../constants.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* @see Example: {@link https://threejs.org/examples/#webgl2_ubo | WebGL2 / UBO}
|
three/src/extras/ImageUtils.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { WebGLRenderer } from '../renderers/WebGLRenderer';
|
|
2
|
-
import { WebGLRenderTarget } from '../renderers/WebGLRenderTarget';
|
|
3
|
-
import { Texture } from '../textures/Texture';
|
|
4
|
-
import { CubeTexture } from '../textures/CubeTexture';
|
|
5
|
-
import { Scene } from '../scenes/Scene';
|
|
1
|
+
import { WebGLRenderer } from '../renderers/WebGLRenderer.js';
|
|
2
|
+
import { WebGLRenderTarget } from '../renderers/WebGLRenderTarget.js';
|
|
3
|
+
import { Texture } from '../textures/Texture.js';
|
|
4
|
+
import { CubeTexture } from '../textures/CubeTexture.js';
|
|
5
|
+
import { Scene } from '../scenes/Scene.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* This class generates a Prefiltered, Mipmapped Radiance Environment Map (PMREM) from a cubeMap environment texture.
|
three/src/extras/core/Curve.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Vector } from './../../math/Vector2';
|
|
2
|
-
import { Vector3 } from './../../math/Vector3';
|
|
1
|
+
import { Vector } from './../../math/Vector2.js';
|
|
2
|
+
import { Vector3 } from './../../math/Vector3.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* An abstract base class for creating a {@link Curve} object that contains methods for interpolation
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Curve } from './Curve';
|
|
2
|
-
import { Vector } from './../../math/Vector2';
|
|
1
|
+
import { Curve } from './Curve.js';
|
|
2
|
+
import { Vector } from './../../math/Vector2.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Curved Path - a curve path is simply a array of connected curves, but retains the api of a curve.
|
three/src/extras/core/Path.d.ts
CHANGED
three/src/extras/core/Shape.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Vector2 } from './../../math/Vector2';
|
|
2
|
-
import { Shape } from './Shape';
|
|
3
|
-
import { Color } from '../../math/Color';
|
|
4
|
-
import { Path } from './Path';
|
|
1
|
+
import { Vector2 } from './../../math/Vector2.js';
|
|
2
|
+
import { Shape } from './Shape.js';
|
|
3
|
+
import { Color } from '../../math/Color.js';
|
|
4
|
+
import { Path } from './Path.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* This class is used to convert a series of shapes to an array of {@link THREE.Path | Path's},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Vector2 } from './../../math/Vector2';
|
|
2
|
-
import { Curve } from './../core/Curve';
|
|
1
|
+
import { Vector2 } from './../../math/Vector2.js';
|
|
2
|
+
import { Curve } from './../core/Curve.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Create a smooth **2D** {@link http://en.wikipedia.org/wiki/B%C3%A9zier_curve#mediaviewer/File:Bezier_curve.svg | cubic bezier curve},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Vector3 } from './../../math/Vector3';
|
|
2
|
-
import { Curve } from './../core/Curve';
|
|
1
|
+
import { Vector3 } from './../../math/Vector3.js';
|
|
2
|
+
import { Curve } from './../core/Curve.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Create a smooth **3D** {@link http://en.wikipedia.org/wiki/B%C3%A9zier_curve#mediaviewer/File:Bezier_curve.svg | cubic bezier curve},
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from './ArcCurve';
|
|
2
|
-
export * from './CatmullRomCurve3';
|
|
3
|
-
export * from './CubicBezierCurve';
|
|
4
|
-
export * from './CubicBezierCurve3';
|
|
5
|
-
export * from './EllipseCurve';
|
|
6
|
-
export * from './LineCurve';
|
|
7
|
-
export * from './LineCurve3';
|
|
8
|
-
export * from './QuadraticBezierCurve';
|
|
9
|
-
export * from './QuadraticBezierCurve3';
|
|
10
|
-
export * from './SplineCurve';
|
|
1
|
+
export * from './ArcCurve.js';
|
|
2
|
+
export * from './CatmullRomCurve3.js';
|
|
3
|
+
export * from './CubicBezierCurve.js';
|
|
4
|
+
export * from './CubicBezierCurve3.js';
|
|
5
|
+
export * from './EllipseCurve.js';
|
|
6
|
+
export * from './LineCurve.js';
|
|
7
|
+
export * from './LineCurve3.js';
|
|
8
|
+
export * from './QuadraticBezierCurve.js';
|
|
9
|
+
export * from './QuadraticBezierCurve3.js';
|
|
10
|
+
export * from './SplineCurve.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Vector2 } from './../../math/Vector2';
|
|
2
|
-
import { Curve } from './../core/Curve';
|
|
1
|
+
import { Vector2 } from './../../math/Vector2.js';
|
|
2
|
+
import { Curve } from './../core/Curve.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Create a smooth **2D** {@link http://en.wikipedia.org/wiki/B%C3%A9zier_curve#mediaviewer/File:B%C3%A9zier_2_big.gif | quadratic bezier curve},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Vector3 } from './../../math/Vector3';
|
|
2
|
-
import { Curve } from './../core/Curve';
|
|
1
|
+
import { Vector3 } from './../../math/Vector3.js';
|
|
2
|
+
import { Curve } from './../core/Curve.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Create a smooth **3D** {@link http://en.wikipedia.org/wiki/B%C3%A9zier_curve#mediaviewer/File:B%C3%A9zier_2_big.gif | quadratic bezier curve},
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Curve } from './../extras/core/Curve';
|
|
2
|
-
import { Vector2 } from './../math/Vector2';
|
|
3
|
-
import { Vector3 } from './../math/Vector3';
|
|
4
|
-
import { Shape } from './../extras/core/Shape';
|
|
5
|
-
import { BufferGeometry } from './../core/BufferGeometry';
|
|
1
|
+
import { Curve } from './../extras/core/Curve.js';
|
|
2
|
+
import { Vector2 } from './../math/Vector2.js';
|
|
3
|
+
import { Vector3 } from './../math/Vector3.js';
|
|
4
|
+
import { Shape } from './../extras/core/Shape.js';
|
|
5
|
+
import { BufferGeometry } from './../core/BufferGeometry.js';
|
|
6
6
|
|
|
7
7
|
export interface ExtrudeGeometryOptions {
|
|
8
8
|
/**
|