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.

Buffers

[page:DynamicBufferAttribute]

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

[page:Int8Attribute]

Int8Attribute has been removed. Use [page:BufferAttributeTypes Int8BufferAttribute] instead.

[page:Uint8Attribute]

Uint8Attribute has been removed. Use [page:BufferAttributeTypes Uint8BufferAttribute] instead.

[page:Uint8ClampedAttribute]

Uint8ClampedAttribute has been removed. Use [page:BufferAttributeTypes Uint8ClampedBufferAttribute] instead.

[page:Int16Attribute]

Int16Attribute has been removed. Use [page:BufferAttributeTypes Int16BufferAttribute] instead.

[page:Uint16Attribute]

Uint16Attribute has been removed. Use [page:BufferAttributeTypes Uint16BufferAttribute] instead.

[page:Int32Attribute]

Int32Attribute has been removed. Use [page:BufferAttributeTypes Int32BufferAttribute] instead.

[page:Uint32Attribute]

Uint32Attribute has been removed. Use [page:BufferAttributeTypes Uint32BufferAttribute] instead.

[page:Float32Attribute]

Float32Attribute has been removed. Use [page:BufferAttributeTypes Float32BufferAttribute] instead.

[page:Float64Attribute]

Float64Attribute has been removed. Use [page:BufferAttributeTypes Float64BufferAttribute] instead.

Constants

[page:LineStrip]

[page:LinePieces]

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

Geometry

[page:CubeGeometry]

CubeGeometry has been renamed to [page:BoxGeometry].

[page:GeometryUtils]

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

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

Helpers

[page:EdgesHelper]

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

[page:WireframeHelper WireframeHelper]

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

Loaders

[page:XHRLoader]

XHRLoader has been renamed to [page:FileLoader].

Maths

[page:Box2.center]

Box2.center has been renamed to [page:Box2.getCenter]().

[page:Box2.empty]

Box2.empty has been renamed to [page:Box2.isEmpty]().

[page:Box2.isIntersectionBox]

Box2.isIntersectionBox has been renamed to [page:Box2.intersectsBox]().

[page:Box2.size]

Box2.size has been renamed to [page:Box2.getSize]().

[page:Box3.center]

Box3.center has been renamed to [page:Box3.getCenter]().

[page:Box3.empty]

Box3.empty has been renamed to [page:Box3.isEmpty]().

[page:Box3.isIntersectionBox]

Box3.isIntersectionBox has been renamed to [page:Box3.intersectsBox]().

[page:Box3.isIntersectionSphere]

Box3.isIntersectionBox has been renamed to [page:Box3.intersectsSphere]().

[page:Box3.size]

Box3.size has been renamed to [page:Box3.getSize]().

[page:Face4]

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

[page:Line3.center]

Line3.center has been renamed to [page:Line3.getCenter]().

[page:Matrix3.multiplyVector3]

Matrix3.multiplyVector3 has been removed. Use [page:Vector.applyMatrix3]( matrix ) instead.

[page:Matrix3.multiplyVector3Array]

Matrix3.multiplyVector3Array has been renamed to [page:Matrix3.applyToVector3Array]( array ).

[page:Vertex]

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

Materials

[page:MeshFaceMaterial]

MeshFaceMaterial has been removed. Use [page:MultiMaterial] instead.

[page:ParticleBasicMaterial]

ParticleBasicMaterial has been renamed to [page:PointsMaterial].

[page:ParticleSystemMaterial]

ParticleBasicMaterial has been renamed to [page:PointsMaterial].

[page:PointCloudMaterial]

PointCloudMaterial has been renamed to [page:PointsMaterial].

Objects

[page:Particle]

ParticleSystem has been renamed to [page:Sprite].

[page:ParticleSystem]

ParticleSystem has been renamed to [page:Points].

[page:PointCloud]

PointCloud has been renamed to [page:Points].

Renderer

[page: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].

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

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

Textures

[page:ImageUtils]

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

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

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

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