diff --git a/docs/examples/en/animations/CCDIKSolver.html b/docs/examples/en/animations/CCDIKSolver.html index 7025708e0d6cb1..aeef5518eff745 100644 --- a/docs/examples/en/animations/CCDIKSolver.html +++ b/docs/examples/en/animations/CCDIKSolver.html @@ -16,6 +16,17 @@

[name]

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { CCDIKSolver } from 'three/addons/animation/CCDIKSolver.js'; + +

Code Example

diff --git a/docs/examples/en/animations/MMDAnimationHelper.html b/docs/examples/en/animations/MMDAnimationHelper.html index 1ba7fd81419ee9..fab86e05b289ca 100644 --- a/docs/examples/en/animations/MMDAnimationHelper.html +++ b/docs/examples/en/animations/MMDAnimationHelper.html @@ -14,6 +14,17 @@

[name]

It uses [page:CCDIKSolver] and [page:MMDPhysics] inside.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { MMDAnimationHelper } from 'three/addons/animation/MMDAnimationHelper.js'; + +

Code Example

diff --git a/docs/examples/en/animations/MMDPhysics.html b/docs/examples/en/animations/MMDPhysics.html index 148256b5c5c937..7e5bc939c099f9 100644 --- a/docs/examples/en/animations/MMDPhysics.html +++ b/docs/examples/en/animations/MMDPhysics.html @@ -13,6 +13,17 @@

[name]

[name] calculates Physics for model loaded by [page:MMDLoader] with [link:https://github.com/kripken/ammo.js/ ammo.js] (Bullet-based JavaScript Physics engine).

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { MMDPhysics } from 'three/addons/animation/MMDPhysics.js'; + +

Code Example

diff --git a/docs/examples/en/controls/ArcballControls.html b/docs/examples/en/controls/ArcballControls.html index 8e7a65fdf9a7c7..9565896556b0d7 100644 --- a/docs/examples/en/controls/ArcballControls.html +++ b/docs/examples/en/controls/ArcballControls.html @@ -31,9 +31,19 @@

[name]

To use this, as with all files in the /examples directory, you will have to include the file separately in your HTML. +

+ +

Import

+

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons].

+ + import { ArcballControls } from 'three/addons/controls/ArcballControls.js'; + +

Code Example

diff --git a/docs/examples/en/controls/DragControls.html b/docs/examples/en/controls/DragControls.html index 073e21a2945996..7b5dbfac399834 100644 --- a/docs/examples/en/controls/DragControls.html +++ b/docs/examples/en/controls/DragControls.html @@ -12,9 +12,20 @@

[name]

- This class can be used to provide a drag'n'drop interaction. + This class can be used to provide a drag'n'drop interaction.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { DragControls } from 'three/addons/controls/DragControls.js'; + +

Code Example

diff --git a/docs/examples/en/controls/FirstPersonControls.html b/docs/examples/en/controls/FirstPersonControls.html index f2b01b6409f0b2..ca97463eaabcdd 100644 --- a/docs/examples/en/controls/FirstPersonControls.html +++ b/docs/examples/en/controls/FirstPersonControls.html @@ -14,6 +14,17 @@

[name]

This class is an alternative implementation of [page:FlyControls].

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { FirstPersonControls } from 'three/addons/controls/FirstPersonControls.js'; + +

Examples

[example:webgl_geometry_terrain webgl / geometry / terrain ]

diff --git a/docs/examples/en/controls/FlyControls.html b/docs/examples/en/controls/FlyControls.html index 1a096fcd66e89a..8579abf9343927 100644 --- a/docs/examples/en/controls/FlyControls.html +++ b/docs/examples/en/controls/FlyControls.html @@ -15,6 +15,17 @@

[name]

3D space without any limitations (e.g. focus on a specific target).

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { FlyControls } from 'three/addons/controls/FlyControls.js'; + +

Examples

[example:misc_controls_fly misc / controls / fly ]

diff --git a/docs/examples/en/controls/OrbitControls.html b/docs/examples/en/controls/OrbitControls.html index c7429566a84a04..0104d3ccc10a3c 100644 --- a/docs/examples/en/controls/OrbitControls.html +++ b/docs/examples/en/controls/OrbitControls.html @@ -10,13 +10,23 @@

[name]

- Orbit controls allow the camera to orbit around a target.
+ Orbit controls allow the camera to orbit around a target.
- To use this, as with all files in the /examples directory, you will have to - include the file separately in your HTML. + To use this, as with all files in the /examples directory, you will have to + include the file separately in your HTML. +

+ +

Import

+

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons].

+ + import { OrbitControls } from 'three/addons/controls/OrbitControls.js'; + +

Code Example

diff --git a/docs/examples/en/controls/PointerLockControls.html b/docs/examples/en/controls/PointerLockControls.html index 5b2698292b76f9..4906a6ed1647fd 100644 --- a/docs/examples/en/controls/PointerLockControls.html +++ b/docs/examples/en/controls/PointerLockControls.html @@ -12,10 +12,21 @@

[name]

- The implementation of this class is based on the [link:https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API Pointer Lock API]. - [name] is a perfect choice for first person 3D games. + The implementation of this class is based on the [link:https://developer.mozilla.org/en-US/docs/Web/API/Pointer_Lock_API Pointer Lock API]. + [name] is a perfect choice for first person 3D games.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { PointerLockControls } from 'three/addons/controls/PointerLockControls.js'; + +

Code Example

diff --git a/docs/examples/en/controls/TrackballControls.html b/docs/examples/en/controls/TrackballControls.html index 3ecbfbc98f1c07..1ee8aa8157aeec 100644 --- a/docs/examples/en/controls/TrackballControls.html +++ b/docs/examples/en/controls/TrackballControls.html @@ -18,6 +18,17 @@

[name]

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { TrackballControls } from 'three/addons/controls/TrackballControls.js'; + +

Examples

[example:misc_controls_trackball misc / controls / trackball ]

diff --git a/docs/examples/en/controls/TransformControls.html b/docs/examples/en/controls/TransformControls.html index 1a030425199404..811441a9626ba6 100644 --- a/docs/examples/en/controls/TransformControls.html +++ b/docs/examples/en/controls/TransformControls.html @@ -18,6 +18,17 @@

[name]

[name] expects that its attached 3D object is part of the scene graph.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { TransformControls } from 'three/addons/controls/TransformControls.js'; + +

Examples

[example:misc_controls_transform misc / controls / transform ]

diff --git a/docs/examples/en/exporters/ColladaExporter.html b/docs/examples/en/exporters/ColladaExporter.html index 6cc323cda2dc46..25dc3c1ddea6a1 100644 --- a/docs/examples/en/exporters/ColladaExporter.html +++ b/docs/examples/en/exporters/ColladaExporter.html @@ -17,6 +17,17 @@

[name]

This exporter only supports exporting geometry, materials, textures, and scene hierarchy.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { ColladaExporter } from 'three/addons/exporters/ColladaExporter.js'; + +

Code Example

diff --git a/docs/examples/en/exporters/DRACOExporter.html b/docs/examples/en/exporters/DRACOExporter.html index 60c15a554b1b83..39b8545d97b910 100644 --- a/docs/examples/en/exporters/DRACOExporter.html +++ b/docs/examples/en/exporters/DRACOExporter.html @@ -24,6 +24,17 @@

[name]

using [link:https://github.com/AnalyticalGraphicsInc/gltf-pipeline glTF-Pipeline].

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { DRACOExporter } from 'three/addons/exporters/DRACOExporter.js'; + +

Code Example

diff --git a/docs/examples/en/exporters/EXRExporter.html b/docs/examples/en/exporters/EXRExporter.html index cf8f90e2f83769..fba1be4c981a52 100644 --- a/docs/examples/en/exporters/EXRExporter.html +++ b/docs/examples/en/exporters/EXRExporter.html @@ -21,6 +21,17 @@

[name]

and DI.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { EXRExporter } from 'three/addons/exporters/EXRExporter.js'; + +

Code Example

diff --git a/docs/examples/en/exporters/GLTFExporter.html b/docs/examples/en/exporters/GLTFExporter.html index f343e909c3c61b..a4fd41627a3e13 100644 --- a/docs/examples/en/exporters/GLTFExporter.html +++ b/docs/examples/en/exporters/GLTFExporter.html @@ -20,6 +20,17 @@

[name]

textures, skins, skeletons, morph targets, animations, lights, and/or cameras.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { GLTFExporter } from 'three/addons/exporters/GLTFExporter.js'; + +

Extensions

diff --git a/docs/examples/en/exporters/OBJExporter.html b/docs/examples/en/exporters/OBJExporter.html index 441466cbb7a818..d4d11713d84cce 100644 --- a/docs/examples/en/exporters/OBJExporter.html +++ b/docs/examples/en/exporters/OBJExporter.html @@ -10,12 +10,22 @@

[name]

- An exporter for the [link:https://en.wikipedia.org/wiki/Wavefront_.obj_file OBJ] file format. + An exporter for the [link:https://en.wikipedia.org/wiki/Wavefront_.obj_file OBJ] file format. +

+ [name] is not able to export material data into MTL files so only geometry data are supported.

-

- [name] is not able to export material data into MTL files so only geometry data are supported. + +

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons].

+ + import { OBJExporter } from 'three/addons/exporters/OBJExporter.js'; + +

Code Example

diff --git a/docs/examples/en/exporters/PLYExporter.html b/docs/examples/en/exporters/PLYExporter.html index e06d08497b8895..c70b8d3c64bb7f 100644 --- a/docs/examples/en/exporters/PLYExporter.html +++ b/docs/examples/en/exporters/PLYExporter.html @@ -18,6 +18,17 @@

[name]

uv coordinates. No textures or texture references are saved.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { PLYExporter } from 'three/addons/exporters/PLYExporter.js'; + +

Code Example

diff --git a/docs/examples/en/exporters/STLExporter.html b/docs/examples/en/exporters/STLExporter.html index 0ac6ef38dc43fb..fde8f506b6763c 100644 --- a/docs/examples/en/exporters/STLExporter.html +++ b/docs/examples/en/exporters/STLExporter.html @@ -17,6 +17,17 @@

[name]

STL files contain no scale information or indexes, and the units are arbitrary.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { STLExporter } from 'three/addons/exporters/STLExporter.js'; + +

Code Example

diff --git a/docs/examples/en/geometries/ConvexGeometry.html b/docs/examples/en/geometries/ConvexGeometry.html index c1d953d1139cca..ddbbd0d087fa71 100644 --- a/docs/examples/en/geometries/ConvexGeometry.html +++ b/docs/examples/en/geometries/ConvexGeometry.html @@ -11,8 +11,21 @@

[name]

-

[name] can be used to generate a convex hull for a given array of 3D points. - The average time complexity for this task is considered to be O(nlog(n)).

+

+ [name] can be used to generate a convex hull for a given array of 3D points. + The average time complexity for this task is considered to be O(nlog(n)). +

+ +

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { ConvexGeometry } from 'three/addons/geometries/ConvexGeometry.js'; +

Code Example

diff --git a/docs/examples/en/geometries/DecalGeometry.html b/docs/examples/en/geometries/DecalGeometry.html index 5b3b9245bc4574..f0630acba33e6d 100644 --- a/docs/examples/en/geometries/DecalGeometry.html +++ b/docs/examples/en/geometries/DecalGeometry.html @@ -11,7 +11,21 @@

[name]

-

[name] can be used to create a decal mesh that serves different kinds of purposes e.g. adding unique details to models, performing dynamic visual environmental changes or covering seams.

+

+ [name] can be used to create a decal mesh that serves different kinds of purposes e.g. adding unique details + to models, performing dynamic visual environmental changes or covering seams. +

+ +

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { DecalGeometry } from 'three/addons/geometries/DecalGeometry.js'; +

Code Example

diff --git a/docs/examples/en/geometries/ParametricGeometry.html b/docs/examples/en/geometries/ParametricGeometry.html index 53bf11a2b15c8d..e4b5f56fe1e72d 100644 --- a/docs/examples/en/geometries/ParametricGeometry.html +++ b/docs/examples/en/geometries/ParametricGeometry.html @@ -11,23 +11,20 @@

[name]

-

Generate geometry representing a parametric surface.

- - + + import { ParametricGeometry } from 'three/addons/geometries/ParametricGeometry.js'; +

Code Example

diff --git a/docs/examples/en/geometries/TextGeometry.html b/docs/examples/en/geometries/TextGeometry.html index ace3d2a2b26ff9..c4eb6c29b6ba8b 100644 --- a/docs/examples/en/geometries/TextGeometry.html +++ b/docs/examples/en/geometries/TextGeometry.html @@ -17,21 +17,16 @@

[name]

See the [page:FontLoader] page for additional details.

- + + import { TextGeometry } from 'three/addons/geometries/TextGeometry.js'; +

Code Example

diff --git a/docs/examples/en/helpers/LightProbeHelper.html b/docs/examples/en/helpers/LightProbeHelper.html index 328e5cbd3059a0..8fdb088ea62f40 100644 --- a/docs/examples/en/helpers/LightProbeHelper.html +++ b/docs/examples/en/helpers/LightProbeHelper.html @@ -15,6 +15,17 @@

[name]

Renders a sphere to visualize a light probe in the scene.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { LightProbeHelper } from 'three/addons/helpers/LightProbeHelper.js'; + +

Code Example

diff --git a/docs/examples/en/helpers/PositionalAudioHelper.html b/docs/examples/en/helpers/PositionalAudioHelper.html index abc75a9d7ce7fe..b5bb4b570d2bf5 100644 --- a/docs/examples/en/helpers/PositionalAudioHelper.html +++ b/docs/examples/en/helpers/PositionalAudioHelper.html @@ -13,6 +13,17 @@

[name]

This helper displays the directional cone of a [page:PositionalAudio].

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { PositionalAudioHelper } from 'three/addons/helpers/PositionalAudioHelper.js'; + +

Code Example

const positionalAudio = new THREE.PositionalAudio( listener ); diff --git a/docs/examples/en/helpers/RectAreaLightHelper.html b/docs/examples/en/helpers/RectAreaLightHelper.html index 096fd880ae9e7e..778599fae114ac 100644 --- a/docs/examples/en/helpers/RectAreaLightHelper.html +++ b/docs/examples/en/helpers/RectAreaLightHelper.html @@ -15,6 +15,17 @@

[name]

Creates a visual aid for a [page:RectAreaLight].

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { RectAreaLightHelper } from 'three/addons/helpers/RectAreaLightHelper.js'; + +

Code Example

diff --git a/docs/examples/en/helpers/VertexNormalsHelper.html b/docs/examples/en/helpers/VertexNormalsHelper.html index e8c9fe2732e3ce..4ea3f082d9c6e6 100644 --- a/docs/examples/en/helpers/VertexNormalsHelper.html +++ b/docs/examples/en/helpers/VertexNormalsHelper.html @@ -17,6 +17,17 @@

[name]

have been calculated using [page:BufferGeometry.computeVertexNormals computeVertexNormals].

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { VertexNormalsHelper } from 'three/addons/helpers/VertexNormalsHelper.js'; + +

Code Example

diff --git a/docs/examples/en/helpers/VertexTangentsHelper.html b/docs/examples/en/helpers/VertexTangentsHelper.html index 21b38592573047..3c99ce3ef531da 100644 --- a/docs/examples/en/helpers/VertexTangentsHelper.html +++ b/docs/examples/en/helpers/VertexTangentsHelper.html @@ -17,6 +17,17 @@

[name]

have been calculated using [page:BufferGeometry.computeTangents computeTangents].

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { VertexTangentsHelper } from 'three/addons/helpers/VertexTangentsHelper.js'; + +

Code Example

diff --git a/docs/examples/en/lights/LightProbeGenerator.html b/docs/examples/en/lights/LightProbeGenerator.html index dbe74f01710355..5f0f5ce4dc025b 100644 --- a/docs/examples/en/lights/LightProbeGenerator.html +++ b/docs/examples/en/lights/LightProbeGenerator.html @@ -14,6 +14,17 @@

[name]

Utility class for creating instances of [page:LightProbe].

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { LightProbeGenerator } from 'three/addons/lights/LightProbeGenerator.js'; + +

Examples

diff --git a/docs/examples/en/loaders/3DMLoader.html b/docs/examples/en/loaders/3DMLoader.html index ec721cbdcf9f8d..12bb489395320c 100644 --- a/docs/examples/en/loaders/3DMLoader.html +++ b/docs/examples/en/loaders/3DMLoader.html @@ -17,6 +17,17 @@

[name]

The loader currently uses [link:https://www.npmjs.com/package/rhino3dm/v/0.15.0-beta rhino3dm.js 0.15.0-beta.]

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { 3DMLoader } from 'three/addons/loaders/3DMLoader.js'; + +

Supported Conversions

diff --git a/docs/examples/en/loaders/DRACOLoader.html b/docs/examples/en/loaders/DRACOLoader.html index 0b29dbeccccf96..f68ceee641098b 100644 --- a/docs/examples/en/loaders/DRACOLoader.html +++ b/docs/examples/en/loaders/DRACOLoader.html @@ -31,6 +31,17 @@

[name]

decoder instances.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { DRACOLoader } from 'three/addons/loaders/DRACOLoader.js'; + +

Code Example

diff --git a/docs/examples/en/loaders/FontLoader.html b/docs/examples/en/loaders/FontLoader.html index cd5dfd0287f4f0..da797aeaf2bd02 100644 --- a/docs/examples/en/loaders/FontLoader.html +++ b/docs/examples/en/loaders/FontLoader.html @@ -19,6 +19,17 @@

[name]

You can convert fonts online using [link:https://gero3.github.io/facetype.js/ facetype.js]

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { FontLoader } from 'three/addons/loaders/FontLoader.js'; + +

Code Example

diff --git a/docs/examples/en/loaders/KTX2Loader.html b/docs/examples/en/loaders/KTX2Loader.html index 4db6185de96970..f15530cc58cf02 100644 --- a/docs/examples/en/loaders/KTX2Loader.html +++ b/docs/examples/en/loaders/KTX2Loader.html @@ -27,6 +27,17 @@

[name]

directory.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { KTX2Loader } from 'three/addons/loaders/KTX2Loader.js'; + +

Code Example

diff --git a/docs/examples/en/loaders/LDrawLoader.html b/docs/examples/en/loaders/LDrawLoader.html index a7132bcf4a430f..00fd9c22e17902 100644 --- a/docs/examples/en/loaders/LDrawLoader.html +++ b/docs/examples/en/loaders/LDrawLoader.html @@ -29,6 +29,16 @@

[name]

See section 'Packing LDraw models'. The LDrawLoader example loads several packed files. The official parts library is not included due to its large size.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { LDrawLoader } from 'three/addons/loaders/LDrawLoader.js'; +

Extensions

diff --git a/docs/examples/en/loaders/MMDLoader.html b/docs/examples/en/loaders/MMDLoader.html index 7458af24639579..36a8e95aecffa9 100644 --- a/docs/examples/en/loaders/MMDLoader.html +++ b/docs/examples/en/loaders/MMDLoader.html @@ -17,6 +17,17 @@

[name]

If you want raw content of MMD resources, use .loadPMD/PMX/VMD/VPD methods. +

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { MMDLoader } from 'three/addons/loaders/MMDLoader.js'; + +

Code Example

diff --git a/docs/examples/en/loaders/MTLLoader.html b/docs/examples/en/loaders/MTLLoader.html index 4cc1c29a1b13c6..cb4e18ebd0a419 100644 --- a/docs/examples/en/loaders/MTLLoader.html +++ b/docs/examples/en/loaders/MTLLoader.html @@ -16,6 +16,17 @@

[name]

(material) properties of objects within one or more .OBJ files.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { MTLLoader } from 'three/addons/loaders/MTLLoader.js'; + +

Constructor

[name]( [param:LoadingManager loadingManager] )

diff --git a/docs/examples/en/loaders/OBJLoader.html b/docs/examples/en/loaders/OBJLoader.html index 626828a3b5ac6f..f17952c4a50812 100644 --- a/docs/examples/en/loaders/OBJLoader.html +++ b/docs/examples/en/loaders/OBJLoader.html @@ -18,6 +18,17 @@

[name]

vertices, and texture vertices.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { OBJLoader } from 'three/addons/loaders/OBJLoader.js'; + +

Code Example

diff --git a/docs/examples/en/loaders/PCDLoader.html b/docs/examples/en/loaders/PCDLoader.html index 9b1eb3eb7493bb..2161564bef8ccd 100644 --- a/docs/examples/en/loaders/PCDLoader.html +++ b/docs/examples/en/loaders/PCDLoader.html @@ -22,6 +22,17 @@

[name]

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { PCDLoader } from 'three/addons/loaders/PCDLoader.js'; + +

Code Example

diff --git a/docs/examples/en/loaders/PDBLoader.html b/docs/examples/en/loaders/PDBLoader.html index 4d38e2dd635ea6..906fdc1fcc2625 100644 --- a/docs/examples/en/loaders/PDBLoader.html +++ b/docs/examples/en/loaders/PDBLoader.html @@ -15,6 +15,17 @@

[name]

The [link:http://en.wikipedia.org/wiki/Protein_Data_Bank_(file_format) Protein Data Bank] file format is a textual file describing the three-dimensional structures of molecules.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { PDBLoader } from 'three/addons/loaders/PDBLoader.js'; + +

Code Example

diff --git a/docs/examples/en/loaders/PRWMLoader.html b/docs/examples/en/loaders/PRWMLoader.html index dbdd39e19083a8..2177b838edea7c 100644 --- a/docs/examples/en/loaders/PRWMLoader.html +++ b/docs/examples/en/loaders/PRWMLoader.html @@ -19,6 +19,17 @@

[name]

on this [link:https://github.com/kchapelier/PRWM here].

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { PRWMLoader } from 'three/addons/loaders/PRWMLoader.js'; + +

Code Example

diff --git a/docs/examples/en/loaders/SVGLoader.html b/docs/examples/en/loaders/SVGLoader.html index 53fddfdf936fa6..c99f1c8a1dbf0d 100644 --- a/docs/examples/en/loaders/SVGLoader.html +++ b/docs/examples/en/loaders/SVGLoader.html @@ -15,6 +15,17 @@

[name]

[link:https://en.wikipedia.org/wiki/Scalable_Vector_Graphics Scalable Vector Graphics] is an XML-based vector image format for two-dimensional graphics with support for interactivity and animation.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { SVGLoader } from 'three/addons/loaders/SVGLoader.js'; + +

Code Example

diff --git a/docs/examples/en/loaders/TGALoader.html b/docs/examples/en/loaders/TGALoader.html index 6616f918d1f7d7..391b931e28db9d 100644 --- a/docs/examples/en/loaders/TGALoader.html +++ b/docs/examples/en/loaders/TGALoader.html @@ -15,6 +15,17 @@

[name]

[link:https://en.wikipedia.org/wiki/Truevision_TGA TGA] is a raster graphics, image file format.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { TGALoader } from 'three/addons/loaders/TGALoader.js'; + +

Code Example

diff --git a/docs/examples/en/math/Lut.html b/docs/examples/en/math/Lut.html index 37fde3527bbe0a..0f9a370cb2587c 100644 --- a/docs/examples/en/math/Lut.html +++ b/docs/examples/en/math/Lut.html @@ -10,9 +10,20 @@

[name]

- Represents a lookup table for colormaps. It is used to determine the color values from a range of data values. + Represents a lookup table for colormaps. It is used to determine the color values from a range of data values.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { Lut } from 'three/addons/math/Lut.js'; + +

Code Example

diff --git a/docs/examples/en/math/MeshSurfaceSampler.html b/docs/examples/en/math/MeshSurfaceSampler.html index 5cd6691bd062a9..1907711e304d17 100644 --- a/docs/examples/en/math/MeshSurfaceSampler.html +++ b/docs/examples/en/math/MeshSurfaceSampler.html @@ -13,6 +13,17 @@

[name]

Weighted sampling is useful for effects like heavier foliage growth in certain areas of terrain, or concentrated particle emissions from specific parts of a mesh. Vertex weights may be written programmatically, or painted by hand as vertex colors in 3D tools like Blender.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { MeshSurfaceSampler } from 'three/addons/math/MeshSurfaceSampler.js'; + +

Code Example

diff --git a/docs/examples/en/math/OBB.html b/docs/examples/en/math/OBB.html index 8d99766377b4d1..0ffd648f29a1c2 100644 --- a/docs/examples/en/math/OBB.html +++ b/docs/examples/en/math/OBB.html @@ -13,6 +13,17 @@

[name]

Represents an oriented bounding box (OBB) in 3D space.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { OBB } from 'three/addons/math/OBB.js'; + +

Examples

[example:webgl_math_obb] diff --git a/docs/examples/en/math/convexhull/ConvexHull.html b/docs/examples/en/math/convexhull/ConvexHull.html index b12a88ff86a125..81c74ab0fab518 100644 --- a/docs/examples/en/math/convexhull/ConvexHull.html +++ b/docs/examples/en/math/convexhull/ConvexHull.html @@ -13,6 +13,17 @@

[name]

A convex hull class. Implements the Quickhull algorithm by: Dirk Gregorius. March 2014, Game Developers Conference: [link:http://media.steampowered.com/apps/valve/2014/DirkGregorius_ImplementingQuickHull.pdf Implementing QuickHull].

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { ConvexHull } from 'three/addons/math/ConvexHull.js'; + +

Constructor

diff --git a/docs/examples/en/math/convexhull/Face.html b/docs/examples/en/math/convexhull/Face.html index 3d95701b837f13..b82a0a22eb8a69 100644 --- a/docs/examples/en/math/convexhull/Face.html +++ b/docs/examples/en/math/convexhull/Face.html @@ -10,9 +10,21 @@

[name]

- Represents a section bounded by a specific amount of half-edges. The current implementation assumes that a face always consist of three edges. + Represents a section bounded by a specific amount of half-edges. The current implementation + assumes that a face always consist of three edges.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { Face } from 'three/addons/math/ConvexHull.js'; + +

Constructor

diff --git a/docs/examples/en/math/convexhull/HalfEdge.html b/docs/examples/en/math/convexhull/HalfEdge.html index a6e51dc75e1da1..bc76e5b36457db 100644 --- a/docs/examples/en/math/convexhull/HalfEdge.html +++ b/docs/examples/en/math/convexhull/HalfEdge.html @@ -10,9 +10,20 @@

[name]

- The basis for a half-edge data structure, also known as doubly connected edge list (DCEL).
+ The basis for a half-edge data structure, also known as doubly connected edge list (DCEL).

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { HalfEdge } from 'three/addons/math/ConvexHull.js'; + +

Constructor

diff --git a/docs/examples/en/math/convexhull/VertexList.html b/docs/examples/en/math/convexhull/VertexList.html index 0355a2e644533b..cfd565dac2a39f 100644 --- a/docs/examples/en/math/convexhull/VertexList.html +++ b/docs/examples/en/math/convexhull/VertexList.html @@ -13,6 +13,17 @@

[name]

A doubly linked list of vertices.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { VertexList } from 'three/addons/math/ConvexHull.js'; + +

Constructor

diff --git a/docs/examples/en/math/convexhull/VertexNode.html b/docs/examples/en/math/convexhull/VertexNode.html index b6bdda2b32fe5b..e6663fef8f7e1e 100644 --- a/docs/examples/en/math/convexhull/VertexNode.html +++ b/docs/examples/en/math/convexhull/VertexNode.html @@ -13,6 +13,17 @@

[name]

A vertex as a double linked list node.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { VertexNode } from 'three/addons/math/ConvexHull.js'; + +

Constructor

diff --git a/docs/examples/en/objects/Lensflare.html b/docs/examples/en/objects/Lensflare.html index e78650bee6cee7..c0ccfbbdb50caf 100644 --- a/docs/examples/en/objects/Lensflare.html +++ b/docs/examples/en/objects/Lensflare.html @@ -15,6 +15,17 @@

[name]

Creates a simulated lens flare that tracks a light. [name] can only be used when setting the `alpha` context parameter of [page:WebGLRenderer] to `true`.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { Lensflare } from 'three/addons/objects/Lensflare.js'; + +

Code Example

diff --git a/docs/examples/en/postprocessing/EffectComposer.html b/docs/examples/en/postprocessing/EffectComposer.html index db89c9451d3b6d..609eaff26debc5 100644 --- a/docs/examples/en/postprocessing/EffectComposer.html +++ b/docs/examples/en/postprocessing/EffectComposer.html @@ -16,6 +16,17 @@

[name]

The last pass is automatically rendered to screen.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { EffectComposer } from 'three/addons/postprocessing/EffectComposer.js'; + +

Examples

diff --git a/docs/examples/en/renderers/CSS2DRenderer.html b/docs/examples/en/renderers/CSS2DRenderer.html index 3719404521d708..631abd882d6dd5 100644 --- a/docs/examples/en/renderers/CSS2DRenderer.html +++ b/docs/examples/en/renderers/CSS2DRenderer.html @@ -14,6 +14,17 @@

[name]

`[name]` only supports 100% browser and display zoom.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { CSS2DRenderer } from 'three/addons/renderers/CSS2DRenderer.js'; + +

Examples

diff --git a/docs/examples/en/renderers/CSS3DRenderer.html b/docs/examples/en/renderers/CSS3DRenderer.html index 8c5cade4cc1e32..ad3baee5d5575e 100644 --- a/docs/examples/en/renderers/CSS3DRenderer.html +++ b/docs/examples/en/renderers/CSS3DRenderer.html @@ -23,6 +23,17 @@

[name]

So `[name]` is just focused on ordinary DOM elements. These elements are wrapped into special objects (`CSS3DObject` or `CSS3DSprite`) and then added to the scene graph.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { CSS3DRenderer } from 'three/addons/renderers/CSS3DRenderer.js'; + +

Examples

diff --git a/docs/examples/en/renderers/SVGRenderer.html b/docs/examples/en/renderers/SVGRenderer.html index 17eb1e82d76ee1..a030a4974f59bb 100644 --- a/docs/examples/en/renderers/SVGRenderer.html +++ b/docs/examples/en/renderers/SVGRenderer.html @@ -33,6 +33,17 @@

[name]

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { SVGRenderer } from 'three/addons/renderers/SVGRenderer.js'; + +

Examples

diff --git a/docs/examples/en/utils/BufferGeometryUtils.html b/docs/examples/en/utils/BufferGeometryUtils.html index 08af0f8e6d1b54..db3c3260ecccf1 100644 --- a/docs/examples/en/utils/BufferGeometryUtils.html +++ b/docs/examples/en/utils/BufferGeometryUtils.html @@ -10,9 +10,19 @@

[name]

- A class containing utility functions for [page:BufferGeometry BufferGeometry] instances. + A class containing utility functions for [page:BufferGeometry BufferGeometry] instances.

+

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + + import { BufferGeometryUtils } from 'three/addons/utils/BufferGeometryUtils.js'; +

Methods

diff --git a/docs/examples/en/utils/CameraUtils.html b/docs/examples/en/utils/CameraUtils.html index ebcbe0dae6e614..5d2876df7c98e4 100644 --- a/docs/examples/en/utils/CameraUtils.html +++ b/docs/examples/en/utils/CameraUtils.html @@ -9,8 +9,20 @@

[name]

-

A class containing useful utility functions for camera manipulation.

+

+ A class containing useful utility functions for camera manipulation. +

+ +

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + import { CameraUtils } from 'three/addons/utils/CameraUtils.js'; +

Methods

diff --git a/docs/examples/en/utils/SceneUtils.html b/docs/examples/en/utils/SceneUtils.html index 6a46df2bcf7878..3ad2e2174a29c4 100644 --- a/docs/examples/en/utils/SceneUtils.html +++ b/docs/examples/en/utils/SceneUtils.html @@ -9,8 +9,20 @@

[name]

-

A class containing useful utility functions for scene manipulation.

+

+ A class containing useful utility functions for scene manipulation. +

+ +

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + import { SceneUtils } from 'three/addons/utils/SceneUtils.js'; +

Methods

diff --git a/docs/examples/en/utils/SkeletonUtils.html b/docs/examples/en/utils/SkeletonUtils.html index 879cc51d932d05..52010633fbde7c 100644 --- a/docs/examples/en/utils/SkeletonUtils.html +++ b/docs/examples/en/utils/SkeletonUtils.html @@ -9,8 +9,20 @@

[name]

-

Utility functions for [page:Skeleton], [page:SkinnedMesh], and [page:Bone] manipulation.

+

+ Utility functions for [page:Skeleton], [page:SkinnedMesh], and [page:Bone] manipulation. +

+ +

Import

+ +

+ [name] is an add-on, and must be imported explicitly. + See [link:#manual/introduction/Installation Installation / Addons]. +

+ + import { SkeletonUtils } from 'three/addons/utils/SkeletonUtils.js'; +

Methods