@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.
- three/LICENSE +0 -0
- three/README.md +2 -2
- three/build/three.d.cts +0 -0
- three/build/three.d.ts +0 -0
- three/build/three.min.d.ts +0 -0
- three/build/three.module.d.ts +0 -0
- three/build/three.module.min.d.ts +0 -0
- three/examples/jsm/animation/AnimationClipCreator.d.ts +0 -0
- three/examples/jsm/animation/CCDIKSolver.d.ts +7 -7
- three/examples/jsm/animation/MMDAnimationHelper.d.ts +0 -0
- three/examples/jsm/animation/MMDPhysics.d.ts +0 -0
- three/examples/jsm/cameras/CinematicCamera.d.ts +0 -0
- three/examples/jsm/capabilities/WebGL.d.ts +1 -0
- three/examples/jsm/controls/ArcballControls.d.ts +7 -1
- three/examples/jsm/controls/DragControls.d.ts +10 -1
- three/examples/jsm/controls/FirstPersonControls.d.ts +0 -0
- three/examples/jsm/controls/FlyControls.d.ts +5 -1
- three/examples/jsm/controls/MapControls.d.ts +0 -0
- three/examples/jsm/controls/OrbitControls.d.ts +21 -19
- three/examples/jsm/controls/PointerLockControls.d.ts +0 -0
- three/examples/jsm/controls/TrackballControls.d.ts +12 -2
- three/examples/jsm/controls/TransformControls.d.ts +40 -3
- three/examples/jsm/csm/CSM.d.ts +0 -0
- three/examples/jsm/csm/CSMFrustum.d.ts +0 -0
- three/examples/jsm/csm/CSMHelper.d.ts +0 -0
- three/examples/jsm/csm/CSMShader.d.ts +0 -0
- three/examples/jsm/curves/CurveExtras.d.ts +0 -0
- three/examples/jsm/curves/NURBSCurve.d.ts +8 -2
- three/examples/jsm/curves/NURBSSurface.d.ts +0 -0
- three/examples/jsm/curves/NURBSUtils.d.ts +0 -0
- three/examples/jsm/deprecated/Geometry.d.ts +0 -0
- three/examples/jsm/effects/AnaglyphEffect.d.ts +0 -0
- three/examples/jsm/effects/AsciiEffect.d.ts +0 -0
- three/examples/jsm/effects/OutlineEffect.d.ts +0 -0
- three/examples/jsm/effects/ParallaxBarrierEffect.d.ts +0 -0
- three/examples/jsm/effects/PeppersGhostEffect.d.ts +0 -0
- three/examples/jsm/effects/StereoEffect.d.ts +0 -0
- three/examples/jsm/environments/DebugEnvironment.d.ts +5 -0
- three/examples/jsm/environments/RoomEnvironment.d.ts +0 -0
- three/examples/jsm/exporters/DRACOExporter.d.ts +0 -0
- three/examples/jsm/exporters/EXRExporter.d.ts +2 -1
- three/examples/jsm/exporters/GLTFExporter.d.ts +0 -0
- three/examples/jsm/exporters/KTX2Exporter.d.ts +0 -0
- three/examples/jsm/exporters/MMDExporter.d.ts +0 -0
- three/examples/jsm/exporters/OBJExporter.d.ts +0 -0
- three/examples/jsm/exporters/PLYExporter.d.ts +0 -0
- three/examples/jsm/exporters/STLExporter.d.ts +0 -0
- three/examples/jsm/exporters/USDZExporter.d.ts +0 -0
- three/examples/jsm/geometries/BoxLineGeometry.d.ts +0 -0
- three/examples/jsm/geometries/ConvexGeometry.d.ts +0 -0
- three/examples/jsm/geometries/DecalGeometry.d.ts +0 -0
- three/examples/jsm/geometries/ParametricGeometries.d.ts +0 -0
- three/examples/jsm/geometries/ParametricGeometry.d.ts +0 -0
- three/examples/jsm/geometries/RoundedBoxGeometry.d.ts +0 -0
- three/examples/jsm/geometries/TeapotGeometry.d.ts +0 -0
- three/examples/jsm/geometries/TextGeometry.d.ts +0 -0
- three/examples/jsm/helpers/LightProbeHelper.d.ts +0 -0
- three/examples/jsm/helpers/OctreeHelper.d.ts +0 -0
- three/examples/jsm/helpers/PositionalAudioHelper.d.ts +0 -0
- three/examples/jsm/helpers/RectAreaLightHelper.d.ts +0 -0
- three/examples/jsm/helpers/VertexNormalsHelper.d.ts +0 -0
- three/examples/jsm/helpers/VertexTangentsHelper.d.ts +0 -0
- three/examples/jsm/helpers/ViewHelper.d.ts +0 -0
- three/examples/jsm/interactive/HTMLMesh.d.ts +0 -0
- three/examples/jsm/interactive/InteractiveGroup.d.ts +14 -1
- three/examples/jsm/interactive/SelectionBox.d.ts +0 -0
- three/examples/jsm/interactive/SelectionHelper.d.ts +1 -0
- three/examples/jsm/libs/fflate.module.d.ts +0 -0
- three/examples/jsm/libs/lil-gui.module.min.d.ts +609 -1
- three/examples/jsm/libs/meshopt_decoder.module.d.ts +0 -0
- three/examples/jsm/libs/stats.module.d.ts +0 -0
- three/examples/jsm/libs/tween.module.d.ts +219 -2
- three/examples/jsm/lights/LightProbeGenerator.d.ts +0 -0
- three/examples/jsm/lights/RectAreaLightUniformsLib.d.ts +0 -0
- three/examples/jsm/lines/Line2.d.ts +0 -0
- three/examples/jsm/lines/LineGeometry.d.ts +0 -0
- three/examples/jsm/lines/LineMaterial.d.ts +0 -0
- three/examples/jsm/lines/LineSegments2.d.ts +0 -0
- three/examples/jsm/lines/LineSegmentsGeometry.d.ts +0 -0
- three/examples/jsm/lines/Wireframe.d.ts +0 -0
- three/examples/jsm/lines/WireframeGeometry2.d.ts +0 -0
- three/examples/jsm/loaders/3DMLoader.d.ts +1 -8
- three/examples/jsm/loaders/3MFLoader.d.ts +1 -8
- three/examples/jsm/loaders/AMFLoader.d.ts +1 -8
- three/examples/jsm/loaders/BVHLoader.d.ts +1 -8
- three/examples/jsm/loaders/ColladaLoader.d.ts +1 -8
- three/examples/jsm/loaders/DDSLoader.d.ts +0 -0
- three/examples/jsm/loaders/DRACOLoader.d.ts +8 -7
- three/examples/jsm/loaders/EXRLoader.d.ts +0 -0
- three/examples/jsm/loaders/FBXLoader.d.ts +1 -8
- three/examples/jsm/loaders/FontLoader.d.ts +4 -4
- three/examples/jsm/loaders/GCodeLoader.d.ts +1 -8
- three/examples/jsm/loaders/GLTFLoader.d.ts +1 -9
- three/examples/jsm/loaders/HDRCubeTextureLoader.d.ts +5 -5
- three/examples/jsm/loaders/KMZLoader.d.ts +1 -8
- three/examples/jsm/loaders/KTX2Loader.d.ts +0 -0
- three/examples/jsm/loaders/KTXLoader.d.ts +0 -0
- three/examples/jsm/loaders/LDrawLoader.d.ts +1 -8
- three/examples/jsm/loaders/LUT3dlLoader.d.ts +1 -8
- three/examples/jsm/loaders/LUTCubeLoader.d.ts +1 -8
- three/examples/jsm/loaders/LWOLoader.d.ts +1 -8
- three/examples/jsm/loaders/LogLuvLoader.d.ts +0 -0
- three/examples/jsm/loaders/LottieLoader.d.ts +4 -5
- three/examples/jsm/loaders/MD2Loader.d.ts +1 -8
- three/examples/jsm/loaders/MDDLoader.d.ts +1 -8
- three/examples/jsm/loaders/MMDLoader.d.ts +1 -8
- three/examples/jsm/loaders/MTLLoader.d.ts +1 -9
- three/examples/jsm/loaders/NRRDLoader.d.ts +1 -7
- three/examples/jsm/loaders/OBJLoader.d.ts +1 -8
- three/examples/jsm/loaders/PCDLoader.d.ts +1 -8
- three/examples/jsm/loaders/PDBLoader.d.ts +1 -8
- three/examples/jsm/loaders/PLYLoader.d.ts +1 -8
- three/examples/jsm/loaders/PVRLoader.d.ts +0 -0
- three/examples/jsm/loaders/RGBELoader.d.ts +0 -0
- three/examples/jsm/loaders/RGBMLoader.d.ts +0 -0
- three/examples/jsm/loaders/STLLoader.d.ts +1 -8
- three/examples/jsm/loaders/SVGLoader.d.ts +1 -8
- three/examples/jsm/loaders/TDSLoader.d.ts +1 -8
- three/examples/jsm/loaders/TGALoader.d.ts +0 -7
- three/examples/jsm/loaders/TIFFLoader.d.ts +0 -0
- three/examples/jsm/loaders/TTFLoader.d.ts +1 -8
- three/examples/jsm/loaders/TiltLoader.d.ts +1 -8
- three/examples/jsm/loaders/USDZLoader.d.ts +1 -9
- three/examples/jsm/loaders/VOXLoader.d.ts +1 -8
- three/examples/jsm/loaders/VRMLLoader.d.ts +1 -8
- three/examples/jsm/loaders/VTKLoader.d.ts +1 -8
- three/examples/jsm/loaders/XYZLoader.d.ts +1 -8
- three/examples/jsm/materials/MeshGouraudMaterial.d.ts +0 -0
- three/examples/jsm/math/Capsule.d.ts +0 -0
- three/examples/jsm/math/ColorConverter.d.ts +0 -0
- three/examples/jsm/math/ConvexHull.d.ts +0 -0
- three/examples/jsm/math/ImprovedNoise.d.ts +0 -0
- three/examples/jsm/math/Lut.d.ts +0 -0
- three/examples/jsm/math/MeshSurfaceSampler.d.ts +0 -0
- three/examples/jsm/math/OBB.d.ts +0 -0
- three/examples/jsm/math/Octree.d.ts +0 -0
- three/examples/jsm/math/SimplexNoise.d.ts +0 -0
- three/examples/jsm/misc/ConvexObjectBreaker.d.ts +0 -0
- three/examples/jsm/misc/GPUComputationRenderer.d.ts +0 -0
- three/examples/jsm/misc/Gyroscope.d.ts +0 -0
- three/examples/jsm/misc/MD2Character.d.ts +0 -0
- three/examples/jsm/misc/MD2CharacterComplex.d.ts +0 -0
- three/examples/jsm/misc/MorphAnimMesh.d.ts +0 -0
- three/examples/jsm/misc/MorphBlendMesh.d.ts +0 -0
- three/examples/jsm/misc/ProgressiveLightMap.d.ts +0 -0
- three/examples/jsm/misc/RollerCoaster.d.ts +0 -0
- three/examples/jsm/misc/TubePainter.d.ts +0 -0
- three/examples/jsm/misc/Volume.d.ts +0 -0
- three/examples/jsm/misc/VolumeSlice.d.ts +0 -0
- three/examples/jsm/modifiers/CurveModifier.d.ts +0 -0
- three/examples/jsm/modifiers/EdgeSplitModifier.d.ts +0 -0
- three/examples/jsm/modifiers/SimplifyModifier.d.ts +0 -0
- three/examples/jsm/modifiers/TessellateModifier.d.ts +0 -0
- three/examples/jsm/nodes/Nodes.d.ts +0 -0
- three/examples/jsm/nodes/accessors/BitangentNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/BufferNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/CameraNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/CubeTextureNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/InstanceNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/MaterialNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/MaterialReferenceNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/ModelNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/ModelViewProjectionNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/NormalNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/Object3DNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/PointUVNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/PositionNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/ReferenceNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/ReflectVectorNode.d.ts +1 -1
- three/examples/jsm/nodes/accessors/SkinningNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/StorageBufferNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/TangentNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/TextureNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/UVNode.d.ts +0 -0
- three/examples/jsm/nodes/accessors/UserDataNode.d.ts +0 -0
- three/examples/jsm/nodes/code/CodeNode.d.ts +0 -0
- three/examples/jsm/nodes/code/ExpressionNode.d.ts +0 -0
- three/examples/jsm/nodes/code/FunctionCallNode.d.ts +0 -0
- three/examples/jsm/nodes/code/FunctionNode.d.ts +0 -0
- three/examples/jsm/nodes/core/ArrayUniformNode.d.ts +0 -0
- three/examples/jsm/nodes/core/AttributeNode.d.ts +0 -0
- three/examples/jsm/nodes/core/BypassNode.d.ts +0 -0
- three/examples/jsm/nodes/core/CacheNode.d.ts +0 -0
- three/examples/jsm/nodes/core/ConstNode.d.ts +0 -0
- three/examples/jsm/nodes/core/ContextNode.d.ts +0 -0
- three/examples/jsm/nodes/core/InputNode.d.ts +0 -0
- three/examples/jsm/nodes/core/Node.d.ts +1 -1
- three/examples/jsm/nodes/core/NodeAttribute.d.ts +0 -0
- three/examples/jsm/nodes/core/NodeBuilder.d.ts +0 -0
- three/examples/jsm/nodes/core/NodeCache.d.ts +0 -0
- three/examples/jsm/nodes/core/NodeCode.d.ts +0 -0
- three/examples/jsm/nodes/core/NodeFrame.d.ts +0 -0
- three/examples/jsm/nodes/core/NodeFunction.d.ts +0 -0
- three/examples/jsm/nodes/core/NodeFunctionInput.d.ts +0 -0
- three/examples/jsm/nodes/core/NodeKeywords.d.ts +0 -0
- three/examples/jsm/nodes/core/NodeParser.d.ts +0 -0
- three/examples/jsm/nodes/core/NodeUniform.d.ts +0 -0
- three/examples/jsm/nodes/core/NodeUtils.d.ts +0 -0
- three/examples/jsm/nodes/core/NodeVar.d.ts +0 -0
- three/examples/jsm/nodes/core/NodeVarying.d.ts +0 -0
- three/examples/jsm/nodes/core/PropertyNode.d.ts +0 -0
- three/examples/jsm/nodes/core/StackNode.d.ts +0 -0
- three/examples/jsm/nodes/core/TempNode.d.ts +0 -0
- three/examples/jsm/nodes/core/UniformNode.d.ts +0 -0
- three/examples/jsm/nodes/core/VarNode.d.ts +0 -0
- three/examples/jsm/nodes/core/VaryingNode.d.ts +0 -0
- three/examples/jsm/nodes/core/constants.d.ts +0 -0
- three/examples/jsm/nodes/display/BlendModeNode.d.ts +1 -1
- three/examples/jsm/nodes/display/ColorAdjustmentNode.d.ts +0 -0
- three/examples/jsm/nodes/display/ColorSpaceNode.d.ts +0 -0
- three/examples/jsm/nodes/display/FrontFacingNode.d.ts +0 -0
- three/examples/jsm/nodes/display/NormalMapNode.d.ts +0 -0
- three/examples/jsm/nodes/display/PosterizeNode.d.ts +0 -0
- three/examples/jsm/nodes/display/ToneMappingNode.d.ts +0 -0
- three/examples/jsm/nodes/display/ViewportNode.d.ts +0 -0
- three/examples/jsm/nodes/fog/FogExp2Node.d.ts +0 -0
- three/examples/jsm/nodes/fog/FogNode.d.ts +0 -0
- three/examples/jsm/nodes/fog/FogRangeNode.d.ts +0 -0
- three/examples/jsm/nodes/functions/BSDF/BRDF_GGX.d.ts +0 -0
- three/examples/jsm/nodes/functions/BSDF/BRDF_Lambert.d.ts +0 -0
- three/examples/jsm/nodes/functions/BSDF/DFGApprox.d.ts +0 -0
- three/examples/jsm/nodes/functions/BSDF/D_GGX.d.ts +0 -0
- three/examples/jsm/nodes/functions/BSDF/F_Schlick.d.ts +0 -0
- three/examples/jsm/nodes/functions/BSDF/V_GGX_SmithCorrelated.d.ts +0 -0
- three/examples/jsm/nodes/functions/PhysicalLightingModel.d.ts +0 -0
- three/examples/jsm/nodes/functions/material/getGeometryRoughness.d.ts +0 -0
- three/examples/jsm/nodes/functions/material/getRoughness.d.ts +0 -0
- three/examples/jsm/nodes/geometry/RangeNode.d.ts +0 -0
- three/examples/jsm/nodes/gpgpu/ComputeNode.d.ts +0 -0
- three/examples/jsm/nodes/lighting/AONode.d.ts +0 -0
- three/examples/jsm/nodes/lighting/AnalyticLightNode.d.ts +0 -0
- three/examples/jsm/nodes/lighting/EnvironmentNode.d.ts +0 -0
- three/examples/jsm/nodes/lighting/HemisphereLightNode.d.ts +0 -0
- three/examples/jsm/nodes/lighting/LightUtils.d.ts +0 -0
- three/examples/jsm/nodes/lighting/LightingContextNode.d.ts +0 -0
- three/examples/jsm/nodes/lighting/LightingNode.d.ts +0 -0
- three/examples/jsm/nodes/lighting/LightsNode.d.ts +0 -0
- three/examples/jsm/nodes/lighting/PointLightNode.d.ts +0 -0
- three/examples/jsm/nodes/lighting/SpotLightNode.d.ts +0 -0
- three/examples/jsm/nodes/loaders/NodeLoader.d.ts +1 -9
- three/examples/jsm/nodes/loaders/NodeMaterialLoader.d.ts +0 -0
- three/examples/jsm/nodes/loaders/NodeObjectLoader.d.ts +0 -0
- three/examples/jsm/nodes/materials/LineBasicNodeMaterial.d.ts +0 -0
- three/examples/jsm/nodes/materials/Materials.d.ts +0 -0
- three/examples/jsm/nodes/materials/MeshBasicNodeMaterial.d.ts +0 -0
- three/examples/jsm/nodes/materials/MeshPhysicalNodeMaterial.d.ts +0 -0
- three/examples/jsm/nodes/materials/MeshStandardNodeMaterial.d.ts +0 -0
- three/examples/jsm/nodes/materials/NodeMaterial.d.ts +0 -0
- three/examples/jsm/nodes/materials/PointsNodeMaterial.d.ts +0 -0
- three/examples/jsm/nodes/materials/SpriteNodeMaterial.d.ts +0 -0
- three/examples/jsm/nodes/materialx/MaterialXNodes.d.ts +0 -0
- three/examples/jsm/nodes/materialx/lib/mx_hsv.d.ts +0 -0
- three/examples/jsm/nodes/materialx/lib/mx_noise.d.ts +0 -0
- three/examples/jsm/nodes/math/CondNode.d.ts +0 -0
- three/examples/jsm/nodes/math/MathNode.d.ts +0 -0
- three/examples/jsm/nodes/math/OperatorNode.d.ts +0 -0
- three/examples/jsm/nodes/procedural/CheckerNode.d.ts +0 -0
- three/examples/jsm/nodes/shadernode/ShaderNode.d.ts +0 -0
- three/examples/jsm/nodes/shadernode/ShaderNodeBaseElements.d.ts +0 -0
- three/examples/jsm/nodes/shadernode/ShaderNodeElements.d.ts +0 -0
- three/examples/jsm/nodes/utils/ArrayElementNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/ConvertNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/EquirectUVNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/JoinNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/MatcapUVNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/MaxMipLevelNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/OscNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/RemapNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/RotateUVNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/SpecularMIPLevelNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/SplitNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/SpriteSheetUVNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/TimerNode.d.ts +0 -0
- three/examples/jsm/nodes/utils/TriplanarTexturesNode.d.ts +0 -0
- three/examples/jsm/objects/GroundProjectedSkybox.d.ts +0 -0
- three/examples/jsm/objects/Lensflare.d.ts +0 -0
- three/examples/jsm/objects/MarchingCubes.d.ts +0 -0
- three/examples/jsm/objects/Reflector.d.ts +0 -0
- three/examples/jsm/objects/ReflectorForSSRPass.d.ts +0 -0
- three/examples/jsm/objects/Refractor.d.ts +0 -0
- three/examples/jsm/objects/ShadowMesh.d.ts +0 -0
- three/examples/jsm/objects/Sky.d.ts +0 -0
- three/examples/jsm/objects/Water.d.ts +0 -0
- three/examples/jsm/objects/Water2.d.ts +0 -0
- three/examples/jsm/physics/AmmoPhysics.d.ts +0 -0
- three/examples/jsm/physics/RapierPhysics.d.ts +0 -0
- three/examples/jsm/postprocessing/AfterimagePass.d.ts +0 -0
- three/examples/jsm/postprocessing/BloomPass.d.ts +0 -0
- three/examples/jsm/postprocessing/BokehPass.d.ts +0 -0
- three/examples/jsm/postprocessing/ClearPass.d.ts +0 -0
- three/examples/jsm/postprocessing/CubeTexturePass.d.ts +0 -0
- three/examples/jsm/postprocessing/DotScreenPass.d.ts +0 -0
- three/examples/jsm/postprocessing/EffectComposer.d.ts +0 -0
- three/examples/jsm/postprocessing/FilmPass.d.ts +1 -1
- three/examples/jsm/postprocessing/GlitchPass.d.ts +0 -0
- three/examples/jsm/postprocessing/HalftonePass.d.ts +0 -0
- three/examples/jsm/postprocessing/LUTPass.d.ts +0 -0
- three/examples/jsm/postprocessing/MaskPass.d.ts +0 -0
- three/examples/jsm/postprocessing/OutlinePass.d.ts +0 -0
- three/examples/jsm/postprocessing/OutputPass.d.ts +0 -0
- three/examples/jsm/postprocessing/Pass.d.ts +0 -0
- three/examples/jsm/postprocessing/RenderPass.d.ts +15 -5
- three/examples/jsm/postprocessing/RenderPixelatedPass.d.ts +0 -0
- three/examples/jsm/postprocessing/SAOPass.d.ts +1 -10
- three/examples/jsm/postprocessing/SMAAPass.d.ts +0 -0
- three/examples/jsm/postprocessing/SSAARenderPass.d.ts +0 -0
- three/examples/jsm/postprocessing/SSAOPass.d.ts +2 -5
- three/examples/jsm/postprocessing/SSRPass.d.ts +0 -0
- three/examples/jsm/postprocessing/SavePass.d.ts +0 -0
- three/examples/jsm/postprocessing/ShaderPass.d.ts +0 -0
- three/examples/jsm/postprocessing/TAARenderPass.d.ts +0 -0
- three/examples/jsm/postprocessing/TexturePass.d.ts +0 -0
- three/examples/jsm/postprocessing/UnrealBloomPass.d.ts +0 -0
- three/examples/jsm/renderers/CSS2DRenderer.d.ts +0 -0
- three/examples/jsm/renderers/CSS3DRenderer.d.ts +0 -0
- three/examples/jsm/renderers/Projector.d.ts +0 -0
- three/examples/jsm/renderers/SVGRenderer.d.ts +0 -0
- three/examples/jsm/renderers/webgl/nodes/SlotNode.d.ts +0 -0
- three/examples/jsm/renderers/webgl/nodes/WebGLNodeBuilder.d.ts +0 -0
- three/examples/jsm/renderers/webgl/nodes/WebGLNodes.d.ts +0 -0
- three/examples/jsm/shaders/ACESFilmicToneMappingShader.d.ts +0 -0
- three/examples/jsm/shaders/AfterimageShader.d.ts +0 -0
- three/examples/jsm/shaders/BasicShader.d.ts +0 -0
- three/examples/jsm/shaders/BleachBypassShader.d.ts +0 -0
- three/examples/jsm/shaders/BlendShader.d.ts +0 -0
- three/examples/jsm/shaders/BokehShader.d.ts +0 -0
- three/examples/jsm/shaders/BokehShader2.d.ts +0 -0
- three/examples/jsm/shaders/BrightnessContrastShader.d.ts +0 -0
- three/examples/jsm/shaders/ColorCorrectionShader.d.ts +0 -0
- three/examples/jsm/shaders/ColorifyShader.d.ts +0 -0
- three/examples/jsm/shaders/ConvolutionShader.d.ts +0 -0
- three/examples/jsm/shaders/CopyShader.d.ts +0 -0
- three/examples/jsm/shaders/DOFMipMapShader.d.ts +0 -0
- three/examples/jsm/shaders/DepthLimitedBlurShader.d.ts +0 -0
- three/examples/jsm/shaders/DigitalGlitch.d.ts +0 -0
- three/examples/jsm/shaders/DotScreenShader.d.ts +0 -0
- three/examples/jsm/shaders/FXAAShader.d.ts +0 -0
- three/examples/jsm/shaders/FilmShader.d.ts +1 -3
- three/examples/jsm/shaders/FocusShader.d.ts +0 -0
- three/examples/jsm/shaders/FreiChenShader.d.ts +0 -0
- three/examples/jsm/shaders/GammaCorrectionShader.d.ts +0 -0
- three/examples/jsm/shaders/GodRaysShader.d.ts +0 -0
- three/examples/jsm/shaders/HalftoneShader.d.ts +0 -0
- three/examples/jsm/shaders/HorizontalBlurShader.d.ts +0 -0
- three/examples/jsm/shaders/HorizontalTiltShiftShader.d.ts +0 -0
- three/examples/jsm/shaders/HueSaturationShader.d.ts +0 -0
- three/examples/jsm/shaders/KaleidoShader.d.ts +0 -0
- three/examples/jsm/shaders/LuminosityHighPassShader.d.ts +0 -0
- three/examples/jsm/shaders/LuminosityShader.d.ts +0 -0
- three/examples/jsm/shaders/MirrorShader.d.ts +0 -0
- three/examples/jsm/shaders/NormalMapShader.d.ts +0 -0
- three/examples/jsm/shaders/OutputShader.d.ts +0 -0
- three/examples/jsm/shaders/RGBShiftShader.d.ts +0 -0
- three/examples/jsm/shaders/SAOShader.d.ts +0 -2
- three/examples/jsm/shaders/SMAAShader.d.ts +0 -0
- three/examples/jsm/shaders/SSAOShader.d.ts +0 -1
- three/examples/jsm/shaders/SSRShader.d.ts +0 -0
- three/examples/jsm/shaders/SepiaShader.d.ts +0 -0
- three/examples/jsm/shaders/SobelOperatorShader.d.ts +0 -0
- three/examples/jsm/shaders/SubsurfaceScatteringShader.d.ts +0 -0
- three/examples/jsm/shaders/TechnicolorShader.d.ts +0 -0
- three/examples/jsm/shaders/ToonShader.d.ts +0 -0
- three/examples/jsm/shaders/TriangleBlurShader.d.ts +0 -0
- three/examples/jsm/shaders/UnpackDepthRGBAShader.d.ts +0 -0
- three/examples/jsm/shaders/VelocityShader.d.ts +0 -0
- three/examples/jsm/shaders/VerticalBlurShader.d.ts +0 -0
- three/examples/jsm/shaders/VerticalTiltShiftShader.d.ts +0 -0
- three/examples/jsm/shaders/VignetteShader.d.ts +0 -0
- three/examples/jsm/shaders/VolumeShader.d.ts +0 -0
- three/examples/jsm/shaders/WaterRefractionShader.d.ts +0 -0
- three/examples/jsm/textures/FlakesTexture.d.ts +0 -0
- three/examples/jsm/utils/BufferGeometryUtils.d.ts +0 -0
- three/examples/jsm/utils/CameraUtils.d.ts +0 -0
- three/examples/jsm/utils/GeometryCompressionUtils.d.ts +0 -0
- three/examples/jsm/utils/GeometryUtils.d.ts +0 -0
- three/examples/jsm/utils/LDrawUtils.d.ts +0 -0
- three/examples/jsm/utils/PackedPhongMaterial.d.ts +0 -0
- three/examples/jsm/utils/SceneUtils.d.ts +0 -0
- three/examples/jsm/utils/ShadowMapViewer.d.ts +0 -0
- three/examples/jsm/utils/SkeletonUtils.d.ts +0 -0
- three/examples/jsm/utils/UVsDebug.d.ts +0 -0
- three/examples/jsm/webxr/ARButton.d.ts +0 -0
- three/examples/jsm/webxr/OculusHandModel.d.ts +0 -0
- three/examples/jsm/webxr/OculusHandPointerModel.d.ts +0 -0
- three/examples/jsm/webxr/Text2D.d.ts +0 -0
- three/examples/jsm/webxr/VRButton.d.ts +0 -0
- three/examples/jsm/webxr/XRButton.d.ts +0 -0
- three/examples/jsm/webxr/XRControllerModelFactory.d.ts +0 -0
- three/examples/jsm/webxr/XREstimatedLight.d.ts +7 -2
- three/examples/jsm/webxr/XRHandMeshModel.d.ts +0 -0
- three/examples/jsm/webxr/XRHandModelFactory.d.ts +0 -0
- three/examples/jsm/webxr/XRHandPrimitiveModel.d.ts +0 -0
- three/examples/jsm/webxr/XRPlanes.d.ts +0 -0
- three/index.d.ts +1 -2
- three/package.json +4 -6
- three/src/Three.Legacy.d.ts +0 -0
- three/src/Three.d.ts +5 -3
- three/src/animation/AnimationAction.d.ts +0 -0
- three/src/animation/AnimationClip.d.ts +0 -0
- three/src/animation/AnimationMixer.d.ts +6 -1
- three/src/animation/AnimationObjectGroup.d.ts +0 -0
- three/src/animation/AnimationUtils.d.ts +0 -1
- three/src/animation/KeyframeTrack.d.ts +0 -0
- three/src/animation/PropertyBinding.d.ts +0 -0
- three/src/animation/PropertyMixer.d.ts +0 -0
- three/src/animation/tracks/BooleanKeyframeTrack.d.ts +0 -0
- three/src/animation/tracks/ColorKeyframeTrack.d.ts +0 -0
- three/src/animation/tracks/NumberKeyframeTrack.d.ts +0 -0
- three/src/animation/tracks/QuaternionKeyframeTrack.d.ts +0 -0
- three/src/animation/tracks/StringKeyframeTrack.d.ts +0 -0
- three/src/animation/tracks/VectorKeyframeTrack.d.ts +0 -0
- three/src/audio/Audio.d.ts +0 -0
- three/src/audio/AudioAnalyser.d.ts +0 -0
- three/src/audio/AudioContext.d.ts +0 -0
- three/src/audio/AudioListener.d.ts +0 -0
- three/src/audio/PositionalAudio.d.ts +0 -0
- three/src/cameras/ArrayCamera.d.ts +0 -0
- three/src/cameras/Camera.d.ts +0 -0
- three/src/cameras/CubeCamera.d.ts +6 -4
- three/src/cameras/OrthographicCamera.d.ts +0 -0
- three/src/cameras/PerspectiveCamera.d.ts +0 -0
- three/src/cameras/StereoCamera.d.ts +0 -0
- three/src/constants.d.ts +15 -1
- three/src/core/BufferAttribute.d.ts +0 -0
- three/src/core/BufferGeometry.d.ts +1 -1
- three/src/core/Clock.d.ts +0 -0
- three/src/core/EventDispatcher.d.ts +30 -12
- three/src/core/GLBufferAttribute.d.ts +0 -0
- three/src/core/InstancedBufferAttribute.d.ts +0 -0
- three/src/core/InstancedBufferGeometry.d.ts +0 -0
- three/src/core/InstancedInterleavedBuffer.d.ts +0 -0
- three/src/core/InterleavedBuffer.d.ts +0 -0
- three/src/core/InterleavedBufferAttribute.d.ts +0 -0
- three/src/core/Layers.d.ts +0 -0
- three/src/core/Object3D.d.ts +17 -12
- three/src/core/Raycaster.d.ts +10 -10
- three/src/core/RenderTarget.d.ts +3 -1
- three/src/core/Uniform.d.ts +0 -0
- three/src/core/UniformsGroup.d.ts +1 -1
- three/src/extras/DataUtils.d.ts +0 -0
- three/src/extras/Earcut.d.ts +0 -0
- three/src/extras/ImageUtils.d.ts +0 -0
- three/src/extras/PMREMGenerator.d.ts +0 -0
- three/src/extras/ShapeUtils.d.ts +0 -0
- three/src/extras/core/Curve.d.ts +0 -0
- three/src/extras/core/CurvePath.d.ts +2 -2
- three/src/extras/core/Interpolations.d.ts +0 -0
- three/src/extras/core/Path.d.ts +10 -10
- three/src/extras/core/Shape.d.ts +0 -0
- three/src/extras/core/ShapePath.d.ts +0 -0
- three/src/extras/curves/ArcCurve.d.ts +0 -0
- three/src/extras/curves/CatmullRomCurve3.d.ts +0 -0
- three/src/extras/curves/CubicBezierCurve.d.ts +0 -0
- three/src/extras/curves/CubicBezierCurve3.d.ts +0 -0
- three/src/extras/curves/Curves.d.ts +0 -0
- three/src/extras/curves/EllipseCurve.d.ts +0 -0
- three/src/extras/curves/LineCurve.d.ts +0 -0
- three/src/extras/curves/LineCurve3.d.ts +0 -0
- three/src/extras/curves/QuadraticBezierCurve.d.ts +0 -0
- three/src/extras/curves/QuadraticBezierCurve3.d.ts +0 -0
- three/src/extras/curves/SplineCurve.d.ts +0 -0
- three/src/geometries/BoxGeometry.d.ts +0 -0
- three/src/geometries/CapsuleGeometry.d.ts +0 -0
- three/src/geometries/CircleGeometry.d.ts +0 -0
- three/src/geometries/ConeGeometry.d.ts +0 -0
- three/src/geometries/CylinderGeometry.d.ts +0 -0
- three/src/geometries/DodecahedronGeometry.d.ts +0 -0
- three/src/geometries/EdgesGeometry.d.ts +0 -0
- three/src/geometries/ExtrudeGeometry.d.ts +0 -0
- three/src/geometries/Geometries.d.ts +0 -0
- three/src/geometries/IcosahedronGeometry.d.ts +0 -0
- three/src/geometries/LatheGeometry.d.ts +0 -0
- three/src/geometries/OctahedronGeometry.d.ts +0 -0
- three/src/geometries/PlaneGeometry.d.ts +0 -0
- three/src/geometries/PolyhedronGeometry.d.ts +0 -0
- three/src/geometries/RingGeometry.d.ts +0 -0
- three/src/geometries/ShapeGeometry.d.ts +0 -0
- three/src/geometries/SphereGeometry.d.ts +0 -0
- three/src/geometries/TetrahedronGeometry.d.ts +0 -0
- three/src/geometries/TorusGeometry.d.ts +0 -0
- three/src/geometries/TorusKnotGeometry.d.ts +0 -0
- three/src/geometries/TubeGeometry.d.ts +0 -0
- three/src/geometries/WireframeGeometry.d.ts +0 -0
- three/src/helpers/ArrowHelper.d.ts +0 -0
- three/src/helpers/AxesHelper.d.ts +0 -0
- three/src/helpers/Box3Helper.d.ts +0 -0
- three/src/helpers/BoxHelper.d.ts +0 -0
- three/src/helpers/CameraHelper.d.ts +0 -0
- three/src/helpers/DirectionalLightHelper.d.ts +0 -0
- three/src/helpers/GridHelper.d.ts +0 -0
- three/src/helpers/HemisphereLightHelper.d.ts +0 -0
- three/src/helpers/PlaneHelper.d.ts +0 -0
- three/src/helpers/PointLightHelper.d.ts +0 -0
- three/src/helpers/PolarGridHelper.d.ts +0 -0
- three/src/helpers/SkeletonHelper.d.ts +0 -0
- three/src/helpers/SpotLightHelper.d.ts +0 -0
- three/src/lights/AmbientLight.d.ts +0 -0
- three/src/lights/DirectionalLight.d.ts +0 -0
- three/src/lights/DirectionalLightShadow.d.ts +0 -0
- three/src/lights/HemisphereLight.d.ts +0 -0
- three/src/lights/Light.d.ts +0 -0
- three/src/lights/LightProbe.d.ts +0 -0
- three/src/lights/LightShadow.d.ts +0 -0
- three/src/lights/PointLight.d.ts +0 -0
- three/src/lights/PointLightShadow.d.ts +0 -0
- three/src/lights/RectAreaLight.d.ts +0 -0
- three/src/lights/SpotLight.d.ts +0 -0
- three/src/lights/SpotLightShadow.d.ts +0 -0
- three/src/loaders/AnimationLoader.d.ts +3 -10
- three/src/loaders/AudioLoader.d.ts +1 -10
- three/src/loaders/BufferGeometryLoader.d.ts +3 -13
- three/src/loaders/Cache.d.ts +0 -0
- three/src/loaders/CompressedTextureLoader.d.ts +4 -6
- three/src/loaders/CubeTextureLoader.d.ts +5 -7
- three/src/loaders/DataTextureLoader.d.ts +4 -6
- three/src/loaders/FileLoader.d.ts +8 -8
- three/src/loaders/ImageBitmapLoader.d.ts +8 -9
- three/src/loaders/ImageLoader.d.ts +3 -5
- three/src/loaders/Loader.d.ts +8 -6
- three/src/loaders/LoaderUtils.d.ts +0 -0
- three/src/loaders/LoadingManager.d.ts +0 -0
- three/src/loaders/MaterialLoader.d.ts +4 -11
- three/src/loaders/ObjectLoader.d.ts +18 -25
- three/src/loaders/TextureLoader.d.ts +4 -6
- three/src/materials/LineBasicMaterial.d.ts +0 -0
- three/src/materials/LineDashedMaterial.d.ts +0 -0
- three/src/materials/Material.d.ts +7 -1
- three/src/materials/Materials.d.ts +0 -0
- three/src/materials/MeshBasicMaterial.d.ts +0 -0
- three/src/materials/MeshDepthMaterial.d.ts +0 -0
- three/src/materials/MeshDistanceMaterial.d.ts +0 -0
- three/src/materials/MeshLambertMaterial.d.ts +0 -0
- three/src/materials/MeshMatcapMaterial.d.ts +0 -0
- three/src/materials/MeshNormalMaterial.d.ts +0 -0
- three/src/materials/MeshPhongMaterial.d.ts +0 -0
- three/src/materials/MeshPhysicalMaterial.d.ts +0 -0
- three/src/materials/MeshStandardMaterial.d.ts +0 -0
- three/src/materials/MeshToonMaterial.d.ts +0 -0
- three/src/materials/PointsMaterial.d.ts +0 -0
- three/src/materials/RawShaderMaterial.d.ts +0 -0
- three/src/materials/ShaderMaterial.d.ts +0 -0
- three/src/materials/ShadowMaterial.d.ts +0 -0
- three/src/materials/SpriteMaterial.d.ts +0 -0
- three/src/math/Box2.d.ts +0 -0
- three/src/math/Box3.d.ts +0 -0
- three/src/math/Color.d.ts +1 -2
- three/src/math/ColorManagement.d.ts +35 -23
- three/src/math/Cylindrical.d.ts +0 -0
- three/src/math/Euler.d.ts +0 -0
- three/src/math/Frustum.d.ts +0 -0
- three/src/math/Interpolant.d.ts +0 -0
- three/src/math/Line3.d.ts +0 -0
- three/src/math/MathUtils.d.ts +0 -0
- three/src/math/Matrix3.d.ts +0 -0
- three/src/math/Matrix4.d.ts +0 -0
- three/src/math/Plane.d.ts +0 -0
- three/src/math/Quaternion.d.ts +0 -0
- three/src/math/Ray.d.ts +0 -0
- three/src/math/Sphere.d.ts +0 -0
- three/src/math/Spherical.d.ts +0 -0
- three/src/math/SphericalHarmonics3.d.ts +0 -0
- three/src/math/Triangle.d.ts +0 -0
- three/src/math/Vector2.d.ts +0 -0
- three/src/math/Vector3.d.ts +0 -0
- three/src/math/Vector4.d.ts +0 -0
- three/src/math/interpolants/CubicInterpolant.d.ts +0 -0
- three/src/math/interpolants/DiscreteInterpolant.d.ts +0 -0
- three/src/math/interpolants/LinearInterpolant.d.ts +0 -0
- three/src/math/interpolants/QuaternionLinearInterpolant.d.ts +0 -0
- three/src/objects/Bone.d.ts +0 -0
- three/src/objects/Group.d.ts +2 -2
- three/src/objects/InstancedMesh.d.ts +11 -6
- three/src/objects/LOD.d.ts +0 -0
- three/src/objects/Line.d.ts +0 -0
- three/src/objects/LineLoop.d.ts +0 -0
- three/src/objects/LineSegments.d.ts +0 -0
- three/src/objects/Mesh.d.ts +4 -5
- three/src/objects/Points.d.ts +0 -0
- three/src/objects/Skeleton.d.ts +0 -0
- three/src/objects/SkinnedMesh.d.ts +0 -0
- three/src/objects/Sprite.d.ts +2 -4
- three/src/renderers/WebGL1Renderer.d.ts +0 -0
- three/src/renderers/WebGL3DRenderTarget.d.ts +0 -0
- three/src/renderers/WebGLArrayRenderTarget.d.ts +0 -0
- three/src/renderers/WebGLCubeRenderTarget.d.ts +0 -0
- three/src/renderers/WebGLMultipleRenderTargets.d.ts +0 -0
- three/src/renderers/WebGLRenderTarget.d.ts +0 -0
- three/src/renderers/WebGLRenderer.d.ts +2 -1
- three/src/renderers/shaders/ShaderChunk.d.ts +0 -0
- three/src/renderers/shaders/ShaderLib.d.ts +0 -0
- three/src/renderers/shaders/UniformsLib.d.ts +0 -0
- three/src/renderers/shaders/UniformsUtils.d.ts +0 -0
- three/src/renderers/webgl/WebGLAttributes.d.ts +0 -0
- three/src/renderers/webgl/WebGLBindingStates.d.ts +0 -0
- three/src/renderers/webgl/WebGLBufferRenderer.d.ts +0 -0
- three/src/renderers/webgl/WebGLCapabilities.d.ts +0 -0
- three/src/renderers/webgl/WebGLClipping.d.ts +0 -0
- three/src/renderers/webgl/WebGLCubeMaps.d.ts +0 -0
- three/src/renderers/webgl/WebGLCubeUVMaps.d.ts +0 -0
- three/src/renderers/webgl/WebGLExtensions.d.ts +0 -0
- three/src/renderers/webgl/WebGLGeometries.d.ts +0 -0
- three/src/renderers/webgl/WebGLIndexedBufferRenderer.d.ts +0 -0
- three/src/renderers/webgl/WebGLInfo.d.ts +0 -0
- three/src/renderers/webgl/WebGLLights.d.ts +5 -0
- three/src/renderers/webgl/WebGLObjects.d.ts +0 -0
- three/src/renderers/webgl/WebGLProgram.d.ts +1 -1
- three/src/renderers/webgl/WebGLPrograms.d.ts +0 -0
- three/src/renderers/webgl/WebGLProperties.d.ts +0 -0
- three/src/renderers/webgl/WebGLRenderLists.d.ts +0 -0
- three/src/renderers/webgl/WebGLShader.d.ts +0 -0
- three/src/renderers/webgl/WebGLShadowMap.d.ts +0 -0
- three/src/renderers/webgl/WebGLState.d.ts +0 -0
- three/src/renderers/webgl/WebGLTextures.d.ts +0 -0
- three/src/renderers/webgl/WebGLUniforms.d.ts +0 -0
- three/src/renderers/webgl/WebGLUniformsGroups.d.ts +0 -0
- three/src/renderers/webgl/WebGLUtils.d.ts +0 -0
- three/src/renderers/webxr/WebXRController.d.ts +21 -3
- three/src/renderers/webxr/WebXRManager.d.ts +10 -1
- three/src/scenes/Fog.d.ts +0 -0
- three/src/scenes/FogExp2.d.ts +0 -0
- three/src/scenes/Scene.d.ts +0 -0
- three/src/textures/CanvasTexture.d.ts +0 -0
- three/src/textures/CompressedArrayTexture.d.ts +0 -0
- three/src/textures/CompressedTexture.d.ts +0 -0
- three/src/textures/CubeTexture.d.ts +0 -0
- three/src/textures/Data3DTexture.d.ts +0 -0
- three/src/textures/DataArrayTexture.d.ts +0 -0
- three/src/textures/DataTexture.d.ts +0 -0
- three/src/textures/DepthTexture.d.ts +0 -0
- three/src/textures/FramebufferTexture.d.ts +0 -0
- three/src/textures/Source.d.ts +0 -0
- three/src/textures/Texture.d.ts +4 -4
- three/src/textures/VideoTexture.d.ts +0 -0
- three/src/textures/types.d.ts +0 -0
- three/src/utils.d.ts +1 -0
- three/examples/jsm/loaders/BasisTextureLoader.d.ts +0 -32
- three/examples/jsm/loaders/IFCLoader.d.ts +0 -675
- three/src/lights/AmbientLightProbe.d.ts +0 -26
- three/src/lights/HemisphereLightProbe.d.ts +0 -27
|
@@ -1,2 +1,219 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
type EasingFunction = (amount: number) => number;
|
|
2
|
+
interface EasingFunctionGroup {
|
|
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
|
+
Easing,
|
|
206
|
+
Group,
|
|
207
|
+
Interpolation,
|
|
208
|
+
Sequence,
|
|
209
|
+
Tween,
|
|
210
|
+
VERSION,
|
|
211
|
+
add,
|
|
212
|
+
exports as default,
|
|
213
|
+
getAll,
|
|
214
|
+
nextId,
|
|
215
|
+
now,
|
|
216
|
+
remove,
|
|
217
|
+
removeAll,
|
|
218
|
+
update,
|
|
219
|
+
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import { Loader, LoadingManager, Object3D } from '../../../src/Three.js';
|
|
2
2
|
|
|
3
|
-
export class Rhino3dmLoader extends Loader {
|
|
3
|
+
export class Rhino3dmLoader extends Loader<Object3D> {
|
|
4
4
|
constructor(manager?: LoadingManager);
|
|
5
5
|
|
|
6
|
-
load(
|
|
7
|
-
url: string,
|
|
8
|
-
onLoad: (object: Object3D) => void,
|
|
9
|
-
onProgress?: (event: ProgressEvent) => void,
|
|
10
|
-
onError?: (event: ErrorEvent) => void,
|
|
11
|
-
): void;
|
|
12
|
-
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<Object3D>;
|
|
13
6
|
parse(data: ArrayBufferLike, onLoad: (object: Object3D) => void, onError?: (event: ErrorEvent) => void): void;
|
|
14
7
|
setLibraryPath(path: string): Rhino3dmLoader;
|
|
15
8
|
setWorkerLimit(workerLimit: number): Rhino3dmLoader;
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
import { Loader, LoadingManager, Group } from '../../../src/Three.js';
|
|
2
2
|
|
|
3
|
-
export class ThreeMFLoader extends Loader {
|
|
3
|
+
export class ThreeMFLoader extends Loader<Group> {
|
|
4
4
|
constructor(manager?: LoadingManager);
|
|
5
5
|
availableExtensions: object[];
|
|
6
6
|
|
|
7
|
-
load(
|
|
8
|
-
url: string,
|
|
9
|
-
onLoad: (object: Group) => void,
|
|
10
|
-
onProgress?: (event: ProgressEvent) => void,
|
|
11
|
-
onError?: (event: ErrorEvent) => void,
|
|
12
|
-
): void;
|
|
13
|
-
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<Group>;
|
|
14
7
|
parse(data: ArrayBuffer): Group;
|
|
15
8
|
addExtension(extension: object): void;
|
|
16
9
|
}
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { Loader, LoadingManager, Group } from '../../../src/Three.js';
|
|
2
2
|
|
|
3
|
-
export class AMFLoader extends Loader {
|
|
3
|
+
export class AMFLoader extends Loader<Group> {
|
|
4
4
|
constructor(manager?: LoadingManager);
|
|
5
5
|
|
|
6
|
-
load(
|
|
7
|
-
url: string,
|
|
8
|
-
onLoad: (object: Group) => void,
|
|
9
|
-
onProgress?: (event: ProgressEvent) => void,
|
|
10
|
-
onError?: (event: ErrorEvent) => void,
|
|
11
|
-
): void;
|
|
12
|
-
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<Group>;
|
|
13
6
|
parse(data: ArrayBuffer): Group;
|
|
14
7
|
}
|
|
@@ -5,17 +5,10 @@ export interface BVH {
|
|
|
5
5
|
skeleton: Skeleton;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
export class BVHLoader extends Loader {
|
|
8
|
+
export class BVHLoader extends Loader<BVH> {
|
|
9
9
|
constructor(manager?: LoadingManager);
|
|
10
10
|
animateBonePositions: boolean;
|
|
11
11
|
animateBoneRotations: boolean;
|
|
12
12
|
|
|
13
|
-
load(
|
|
14
|
-
url: string,
|
|
15
|
-
onLoad: (bvh: BVH) => void,
|
|
16
|
-
onProgress?: (event: ProgressEvent) => void,
|
|
17
|
-
onError?: (event: ErrorEvent) => void,
|
|
18
|
-
): void;
|
|
19
|
-
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<BVH>;
|
|
20
13
|
parse(text: string): BVH;
|
|
21
14
|
}
|
|
@@ -6,15 +6,8 @@ export interface Collada {
|
|
|
6
6
|
scene: Scene;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export class ColladaLoader extends Loader {
|
|
9
|
+
export class ColladaLoader extends Loader<Collada> {
|
|
10
10
|
constructor(manager?: LoadingManager);
|
|
11
11
|
|
|
12
|
-
load(
|
|
13
|
-
url: string,
|
|
14
|
-
onLoad: (collada: Collada) => void,
|
|
15
|
-
onProgress?: (event: ProgressEvent) => void,
|
|
16
|
-
onError?: (event: ErrorEvent) => void,
|
|
17
|
-
): void;
|
|
18
|
-
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<Collada>;
|
|
19
12
|
parse(text: string, path: string): Collada;
|
|
20
13
|
}
|
|
File without changes
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { Loader, LoadingManager, BufferGeometry } from '../../../src/Three.js';
|
|
2
2
|
|
|
3
|
-
export class DRACOLoader extends Loader {
|
|
3
|
+
export class DRACOLoader extends Loader<BufferGeometry> {
|
|
4
4
|
constructor(manager?: LoadingManager);
|
|
5
5
|
|
|
6
|
+
setDecoderPath(path: string): DRACOLoader;
|
|
7
|
+
setDecoderConfig(config: object): DRACOLoader;
|
|
8
|
+
setWorkerLimit(workerLimit: number): DRACOLoader;
|
|
9
|
+
|
|
6
10
|
load(
|
|
7
11
|
url: string,
|
|
8
|
-
onLoad
|
|
12
|
+
onLoad?: (data: BufferGeometry) => void,
|
|
9
13
|
onProgress?: (event: ProgressEvent) => void,
|
|
10
|
-
onError?: (
|
|
14
|
+
onError?: (err: unknown) => void,
|
|
11
15
|
): void;
|
|
12
|
-
|
|
13
|
-
setDecoderPath(path: string): DRACOLoader;
|
|
14
|
-
setDecoderConfig(config: object): DRACOLoader;
|
|
15
|
-
setWorkerLimit(workerLimit: number): DRACOLoader;
|
|
16
|
+
|
|
16
17
|
preload(): DRACOLoader;
|
|
17
18
|
dispose(): DRACOLoader;
|
|
18
19
|
}
|
|
File without changes
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { Group, Loader, LoadingManager } from '../../../src/Three.js';
|
|
2
2
|
|
|
3
|
-
export class FBXLoader extends Loader {
|
|
3
|
+
export class FBXLoader extends Loader<Group> {
|
|
4
4
|
constructor(manager?: LoadingManager);
|
|
5
5
|
|
|
6
|
-
load(
|
|
7
|
-
url: string,
|
|
8
|
-
onLoad: (object: Group) => void,
|
|
9
|
-
onProgress?: (event: ProgressEvent) => void,
|
|
10
|
-
onError?: (event: ErrorEvent) => void,
|
|
11
|
-
): void;
|
|
12
|
-
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<Group>;
|
|
13
6
|
parse(FBXBuffer: ArrayBuffer | string, path: string): Group;
|
|
14
7
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Shape, Loader, LoadingManager } from '../../../src/Three.js';
|
|
2
2
|
|
|
3
|
-
export class FontLoader extends Loader {
|
|
3
|
+
export class FontLoader extends Loader<Font> {
|
|
4
4
|
constructor(manager?: LoadingManager);
|
|
5
5
|
|
|
6
6
|
load(
|
|
7
7
|
url: string,
|
|
8
|
-
onLoad?: (
|
|
8
|
+
onLoad?: (data: Font) => void,
|
|
9
9
|
onProgress?: (event: ProgressEvent) => void,
|
|
10
|
-
onError?: (
|
|
10
|
+
onError?: (err: unknown) => void,
|
|
11
11
|
): void;
|
|
12
|
-
|
|
12
|
+
|
|
13
13
|
parse(json: any): Font;
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import { Group, Loader, LoadingManager } from '../../../src/Three.js';
|
|
2
2
|
|
|
3
|
-
export class GCodeLoader extends Loader {
|
|
3
|
+
export class GCodeLoader extends Loader<Group> {
|
|
4
4
|
constructor(manager?: LoadingManager);
|
|
5
5
|
splitLayer: boolean;
|
|
6
6
|
|
|
7
|
-
load(
|
|
8
|
-
url: string,
|
|
9
|
-
onLoad: (object: Group) => void,
|
|
10
|
-
onProgress?: (event: ProgressEvent) => void,
|
|
11
|
-
onError?: (event: ErrorEvent) => void,
|
|
12
|
-
): void;
|
|
13
|
-
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<Group>;
|
|
14
7
|
parse(data: string): Group;
|
|
15
8
|
}
|
|
@@ -39,18 +39,10 @@ export interface GLTF {
|
|
|
39
39
|
userData: any;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
export class GLTFLoader extends Loader {
|
|
42
|
+
export class GLTFLoader extends Loader<GLTF> {
|
|
43
43
|
constructor(manager?: LoadingManager);
|
|
44
44
|
dracoLoader: DRACOLoader | null;
|
|
45
45
|
|
|
46
|
-
load(
|
|
47
|
-
url: string,
|
|
48
|
-
onLoad: (gltf: GLTF) => void,
|
|
49
|
-
onProgress?: (event: ProgressEvent) => void,
|
|
50
|
-
onError?: (event: ErrorEvent) => void,
|
|
51
|
-
): void;
|
|
52
|
-
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<GLTF>;
|
|
53
|
-
|
|
54
46
|
setDRACOLoader(dracoLoader: DRACOLoader): GLTFLoader;
|
|
55
47
|
|
|
56
48
|
register(callback: (parser: GLTFParser) => GLTFLoaderPlugin): GLTFLoader;
|
|
@@ -2,17 +2,17 @@ import { CubeTexture, Loader, LoadingManager, TextureDataType } from '../../../s
|
|
|
2
2
|
|
|
3
3
|
import { RGBELoader } from './RGBELoader.js';
|
|
4
4
|
|
|
5
|
-
export class HDRCubeTextureLoader extends Loader {
|
|
5
|
+
export class HDRCubeTextureLoader extends Loader<CubeTexture, readonly string[]> {
|
|
6
6
|
constructor(manager?: LoadingManager);
|
|
7
7
|
hdrLoader: RGBELoader;
|
|
8
8
|
type: TextureDataType;
|
|
9
9
|
|
|
10
10
|
load(
|
|
11
|
-
|
|
12
|
-
onLoad
|
|
11
|
+
url: readonly string[],
|
|
12
|
+
onLoad?: (data: CubeTexture) => void,
|
|
13
13
|
onProgress?: (event: ProgressEvent) => void,
|
|
14
|
-
onError?: (
|
|
14
|
+
onError?: (err: unknown) => void,
|
|
15
15
|
): CubeTexture;
|
|
16
|
-
|
|
16
|
+
|
|
17
17
|
setDataType(type: TextureDataType): this;
|
|
18
18
|
}
|
|
@@ -2,15 +2,8 @@ import { Loader, LoadingManager } from '../../../src/Three.js';
|
|
|
2
2
|
|
|
3
3
|
import { Collada } from './ColladaLoader.js';
|
|
4
4
|
|
|
5
|
-
export class KMZLoader extends Loader {
|
|
5
|
+
export class KMZLoader extends Loader<Collada> {
|
|
6
6
|
constructor(manager?: LoadingManager);
|
|
7
7
|
|
|
8
|
-
load(
|
|
9
|
-
url: string,
|
|
10
|
-
onLoad: (kmz: Collada) => void,
|
|
11
|
-
onProgress?: (event: ProgressEvent) => void,
|
|
12
|
-
onError?: (event: ErrorEvent) => void,
|
|
13
|
-
): void;
|
|
14
|
-
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<Collada>;
|
|
15
8
|
parse(data: ArrayBuffer): Collada;
|
|
16
9
|
}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Loader, LoadingManager, Group, Material } from '../../../src/Three.js';
|
|
2
2
|
|
|
3
|
-
export class LDrawLoader extends Loader {
|
|
3
|
+
export class LDrawLoader extends Loader<Group> {
|
|
4
4
|
materials: Material[];
|
|
5
5
|
materialsLibrary: Record<string, Material>;
|
|
6
6
|
fileMap: Record<string, string>;
|
|
@@ -8,13 +8,6 @@ export class LDrawLoader extends Loader {
|
|
|
8
8
|
|
|
9
9
|
constructor(manager?: LoadingManager);
|
|
10
10
|
|
|
11
|
-
load(
|
|
12
|
-
url: string,
|
|
13
|
-
onLoad: (data: Group) => void,
|
|
14
|
-
onProgress?: (event: ProgressEvent) => void,
|
|
15
|
-
onError?: (event: ErrorEvent) => void,
|
|
16
|
-
): void;
|
|
17
|
-
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<Group>;
|
|
18
11
|
preloadMaterials(url: string): Promise<void>;
|
|
19
12
|
setFileMap(fileMap: Record<string, string>): void;
|
|
20
13
|
setMaterials(materials: Material[]): void;
|
|
@@ -6,15 +6,8 @@ export interface LUT3dlResult {
|
|
|
6
6
|
texture3D: Data3DTexture;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export class LUT3dlLoader extends Loader {
|
|
9
|
+
export class LUT3dlLoader extends Loader<LUT3dlResult> {
|
|
10
10
|
constructor(manager?: LoadingManager);
|
|
11
11
|
|
|
12
|
-
load(
|
|
13
|
-
url: string,
|
|
14
|
-
onLoad: (result: LUT3dlResult) => void,
|
|
15
|
-
onProgress?: (event: ProgressEvent) => void,
|
|
16
|
-
onError?: (event: Error) => void,
|
|
17
|
-
): any;
|
|
18
|
-
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<LUT3dlResult>;
|
|
19
12
|
parse(data: string): LUT3dlResult;
|
|
20
13
|
}
|
|
@@ -9,15 +9,8 @@ export interface LUTCubeResult {
|
|
|
9
9
|
texture3D: Data3DTexture;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
export class LUTCubeLoader extends Loader {
|
|
12
|
+
export class LUTCubeLoader extends Loader<LUTCubeResult> {
|
|
13
13
|
constructor(manager?: LoadingManager);
|
|
14
14
|
|
|
15
|
-
load(
|
|
16
|
-
url: string,
|
|
17
|
-
onLoad: (result: LUTCubeResult) => void,
|
|
18
|
-
onProgress?: (event: ProgressEvent) => void,
|
|
19
|
-
onError?: (event: Error) => void,
|
|
20
|
-
): any;
|
|
21
|
-
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<LUTCubeResult>;
|
|
22
15
|
parse(data: string): LUTCubeResult;
|
|
23
16
|
}
|
|
@@ -12,15 +12,8 @@ export interface LWOLoaderParameters {
|
|
|
12
12
|
resourcePath?: string;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
export class LWOLoader extends Loader {
|
|
15
|
+
export class LWOLoader extends Loader<LWO> {
|
|
16
16
|
constructor(manager?: LoadingManager, parameters?: LWOLoaderParameters);
|
|
17
17
|
|
|
18
|
-
load(
|
|
19
|
-
url: string,
|
|
20
|
-
onLoad: (lwo: LWO) => void,
|
|
21
|
-
onProgress?: (event: ProgressEvent) => void,
|
|
22
|
-
onError?: (event: ErrorEvent) => void,
|
|
23
|
-
): void;
|
|
24
|
-
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<LWO>;
|
|
25
18
|
parse(data: ArrayBuffer, path: string, modelName: string): LWO;
|
|
26
19
|
}
|
|
File without changes
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import { CanvasTexture, Loader, LoadingManager } from '../../../src/Three.js';
|
|
2
2
|
|
|
3
|
-
export class LottieLoader extends Loader {
|
|
3
|
+
export class LottieLoader extends Loader<CanvasTexture> {
|
|
4
4
|
constructor(manager?: LoadingManager);
|
|
5
5
|
|
|
6
6
|
load(
|
|
7
7
|
url: string,
|
|
8
|
-
onLoad
|
|
8
|
+
onLoad?: (data: CanvasTexture) => void,
|
|
9
9
|
onProgress?: (event: ProgressEvent) => void,
|
|
10
|
-
onError?: (
|
|
11
|
-
):
|
|
12
|
-
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<CanvasTexture>;
|
|
10
|
+
onError?: (err: unknown) => void,
|
|
11
|
+
): CanvasTexture;
|
|
13
12
|
|
|
14
13
|
setQuality(value: number): void;
|
|
15
14
|
}
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { BufferGeometry, Loader, LoadingManager } from '../../../src/Three.js';
|
|
2
2
|
|
|
3
|
-
export class MD2Loader extends Loader {
|
|
3
|
+
export class MD2Loader extends Loader<BufferGeometry> {
|
|
4
4
|
constructor(manager?: LoadingManager);
|
|
5
5
|
|
|
6
|
-
load(
|
|
7
|
-
url: string,
|
|
8
|
-
onLoad: (geometry: BufferGeometry) => void,
|
|
9
|
-
onProgress?: (event: ProgressEvent) => void,
|
|
10
|
-
onError?: (event: ErrorEvent) => void,
|
|
11
|
-
): void;
|
|
12
|
-
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<BufferGeometry>;
|
|
13
6
|
parse(data: ArrayBuffer): BufferGeometry;
|
|
14
7
|
}
|
|
@@ -5,15 +5,8 @@ export interface MDD {
|
|
|
5
5
|
clip: AnimationClip;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
export class MDDLoader extends Loader {
|
|
8
|
+
export class MDDLoader extends Loader<MDD> {
|
|
9
9
|
constructor(manager?: LoadingManager);
|
|
10
10
|
|
|
11
|
-
load(
|
|
12
|
-
url: string,
|
|
13
|
-
onLoad: (result: MDD) => void,
|
|
14
|
-
onProgress?: (event: ProgressEvent) => void,
|
|
15
|
-
onError?: (event: ErrorEvent) => void,
|
|
16
|
-
): void;
|
|
17
|
-
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<MDD>;
|
|
18
11
|
parse(data: ArrayBuffer): MDD;
|
|
19
12
|
}
|
|
@@ -5,7 +5,7 @@ export interface MMDLoaderAnimationObject {
|
|
|
5
5
|
mesh: SkinnedMesh;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
export class MMDLoader extends Loader {
|
|
8
|
+
export class MMDLoader extends Loader<SkinnedMesh> {
|
|
9
9
|
constructor(manager?: LoadingManager);
|
|
10
10
|
animationBuilder: object;
|
|
11
11
|
animationPath: string;
|
|
@@ -13,13 +13,6 @@ export class MMDLoader extends Loader {
|
|
|
13
13
|
meshBuilder: object;
|
|
14
14
|
parser: object | null;
|
|
15
15
|
|
|
16
|
-
load(
|
|
17
|
-
url: string,
|
|
18
|
-
onLoad: (mesh: SkinnedMesh) => void,
|
|
19
|
-
onProgress?: (event: ProgressEvent) => void,
|
|
20
|
-
onError?: (event: ErrorEvent) => void,
|
|
21
|
-
): void;
|
|
22
|
-
loadAsync(url: string, onProgress?: (event: ProgressEvent) => void): Promise<SkinnedMesh>;
|
|
23
16
|
loadAnimation(
|
|
24
17
|
url: string,
|
|
25
18
|
object: SkinnedMesh | Camera,
|