Deprecated API List

As Three.js has a rapidly evolving interface, you may come across examples that suggest the use of API elements that are no longer part of the core.

Below is a list of such elements, along with info regarding their replacements.

Deprecated Constants

[page:LineStrip LineStrip]

[page:LinePieces LinePieces]

[page:Line Line] LinePieces mode is no longer supported. Create a [page:LineSegments LineSegments] instead.

Deprecated Objects

[page:GeometryUtils GeometryUtils]

GeometryUtils.merge has been moved to [page:Geometry.merge Geometry.merge].

GeometryUtils.center has been moved to [page:Geometry.center Geometry.center].

[page:ImageUtils ImageUtils]

ImageUtils.loadTexture has been deprecated. Use [page:TextureLoader TextureLoader] instead.

ImageUtils.loadTextureCube has been deprecated. Use [page:CubeTextureLoader CubeTextureLoader] instead.

ImageUtils.loadCompressedTexture has been removed. Use [page:DDSLoader DDSLoader] instead.

ImageUtils.loadCompressedTextureCube has been removed. Use [page:DDSLoader DDSLoader] instead.

Deprecated Classes

[page:EdgesHelper EdgesHelper]

EdgesHelper has been removed. Use [page:EdgesGeometry EdgesGeometry] instead.

[page:DynamicBufferAttribute DynamicBufferAttribute]

DynamicBufferAttribute has been removed. Use [page:BufferAttribute.setDynamic BufferAttribute.setDynamic]( true ) instead.

[page:Face4 Face4]

Face4 has been removed. Use [page:Face3 Face3] instead.

[page:ParticleBasicMaterial ParticleBasicMaterial]

ParticleBasicMaterial has been renamed to [page:PointsMaterial PointsMaterial].

[page:ParticleSystem ParticleSystem]

ParticleSystem has been renamed to [page:Points Points].

[page:ParticleSystemMaterial ParticleSystemMaterial]

ParticleBasicMaterial has been renamed to [page:PointsMaterial PointsMaterial].

[page:PointCloud PointCloud]

PointCloud has been renamed to [page:Points Points].

[page:PointCloudMaterial PointCloudMaterial]

PointCloudMaterial has been renamed to [page:PointsMaterial PointsMaterial].

[page:Projector Projector]

Projector has been moved to [link:https://github.com/mrdoob/three.js/blob/master/examples/js/renderers/Projector.js /examples/js/renderers/Projector.js].

Projector.projectVector() is now [page:Vector.project Vector.project].

Projector.unprojectVector() is now [page:Vector.unproject Vector.unproject].

Projector:.pickingRay() is now [page:Raycaster.setFromCamera Raycaster.setFromCamera].

[page:Vertex Vertex]

Vertex has been removed. Use [page:Vector3 Vector3] instead.

[page:WireframeHelper WireframeHelper]

WireframeHelper has been removed. Use [page:WireframeGeometry WireframeGeometry] instead.