DeprecatedList.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../" />
  6. <script src="list.js"></script>
  7. <script src="page.js"></script>
  8. <link type="text/css" rel="stylesheet" href="page.css" />
  9. </head>
  10. <body>
  11. <h1>Deprecated API List</h1>
  12. <div>
  13. As Three.js has a rapidly evolving interface, you may come across examples that
  14. suggest the use of API elements that are no longer part of the core.<br /><br />
  15. Below is a list of such elements, along with info regarding their replacements.
  16. </div>
  17. <h2>Deprecated Constants</h2>
  18. <h3>[page:LineStrip LineStrip]</h3>
  19. <h3>[page:LinePieces LinePieces]</h3>
  20. <div>
  21. [page:Line Line] LinePieces mode is no longer supported. Create a [page:LineSegments LineSegments] instead.
  22. </div>
  23. <h2>Deprecated Objects</h2>
  24. <h3>[page:GeometryUtils GeometryUtils]</h3>
  25. <div>
  26. GeometryUtils.merge has been moved to [page:Geometry.merge Geometry.merge].<br /><br />
  27. GeometryUtils.center has been moved to [page:Geometry.center Geometry.center].
  28. </div>
  29. <h3>[page:ImageUtils ImageUtils]</h3>
  30. <div>
  31. ImageUtils.loadTexture has been deprecated. Use [page:TextureLoader TextureLoader] instead.<br /><br />
  32. ImageUtils.loadTextureCube has been deprecated. Use [page:CubeTextureLoader CubeTextureLoader] instead.<br /><br />
  33. ImageUtils.loadCompressedTexture has been removed. Use [page:DDSLoader DDSLoader] instead.<br /><br />
  34. ImageUtils.loadCompressedTextureCube has been removed. Use [page:DDSLoader DDSLoader] instead.
  35. </div>
  36. <h2>Deprecated Classes</h2>
  37. <h3>[page:EdgesHelper EdgesHelper]</h3>
  38. <div>EdgesHelper has been removed. Use [page:EdgesGeometry EdgesGeometry] instead.</div>
  39. <h3>[page:DynamicBufferAttribute DynamicBufferAttribute]</h3>
  40. <div>DynamicBufferAttribute has been removed. Use [page:BufferAttribute.setDynamic BufferAttribute.setDynamic]( true ) instead.</div>
  41. <h3>[page:Face4 Face4]</h3>
  42. <div>Face4 has been removed. Use [page:Face3 Face3] instead.</div>
  43. <h3>[page:ParticleBasicMaterial ParticleBasicMaterial]</h3>
  44. <div>ParticleBasicMaterial has been renamed to [page:PointsMaterial PointsMaterial].</div>
  45. <h3>[page:ParticleSystem ParticleSystem]</h3>
  46. <div>ParticleSystem has been renamed to [page:Points Points].</div>
  47. <h3>[page:ParticleSystemMaterial ParticleSystemMaterial]</h3>
  48. <div>ParticleBasicMaterial has been renamed to [page:PointsMaterial PointsMaterial].</div>
  49. <h3>[page:PointCloud PointCloud]</h3>
  50. <div>PointCloud has been renamed to [page:Points Points].</div>
  51. <h3>[page:PointCloudMaterial PointCloudMaterial]</h3>
  52. <div>PointCloudMaterial has been renamed to [page:PointsMaterial PointsMaterial].</div>
  53. <h3>[page:Projector Projector]</h3>
  54. <div>
  55. Projector has been moved to
  56. [link:https://github.com/mrdoob/three.js/blob/master/examples/js/renderers/Projector.js /examples/js/renderers/Projector.js].<br /><br />
  57. Projector.projectVector() is now [page:Vector.project Vector.project].<br /><br />
  58. Projector.unprojectVector() is now [page:Vector.unproject Vector.unproject].<br /><br />
  59. Projector:.pickingRay() is now [page:Raycaster.setFromCamera Raycaster.setFromCamera].
  60. </div>
  61. <h3>[page:Vertex Vertex]</h3>
  62. <div>Vertex has been removed. Use [page:Vector3 Vector3] instead.</div>
  63. <h3>[page:WireframeHelper WireframeHelper]</h3>
  64. <div>WireframeHelper has been removed. Use [page:WireframeGeometry WireframeGeometry] instead.</div>
  65. </body>
  66. </html>