DeprecatedList.html 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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>Buffers</h2>
  18. <h3>[page:DynamicBufferAttribute]</h3>
  19. <div>DynamicBufferAttribute has been removed. Use [page:BufferAttribute.setDynamic BufferAttribute.setDynamic]( true ) instead.</div>
  20. <h3>[page:Int8Attribute]</h3>
  21. <div>Int8Attribute has been removed. Use [page:BufferAttributeTypes Int8BufferAttribute] instead.</div>
  22. <h3>[page:Uint8Attribute]</h3>
  23. <div>Uint8Attribute has been removed. Use [page:BufferAttributeTypes Uint8BufferAttribute] instead.</div>
  24. <h3>[page:Uint8ClampedAttribute]</h3>
  25. <div>Uint8ClampedAttribute has been removed. Use [page:BufferAttributeTypes Uint8ClampedBufferAttribute] instead.</div>
  26. <h3>[page:Int16Attribute]</h3>
  27. <div>Int16Attribute has been removed. Use [page:BufferAttributeTypes Int16BufferAttribute] instead.</div>
  28. <h3>[page:Uint16Attribute]</h3>
  29. <div>Uint16Attribute has been removed. Use [page:BufferAttributeTypes Uint16BufferAttribute] instead.</div>
  30. <h3>[page:Int32Attribute]</h3>
  31. <div>Int32Attribute has been removed. Use [page:BufferAttributeTypes Int32BufferAttribute] instead.</div>
  32. <h3>[page:Uint32Attribute]</h3>
  33. <div>Uint32Attribute has been removed. Use [page:BufferAttributeTypes Uint32BufferAttribute] instead.</div>
  34. <h3>[page:Float32Attribute]</h3>
  35. <div>Float32Attribute has been removed. Use [page:BufferAttributeTypes Float32BufferAttribute] instead.</div>
  36. <h3>[page:Float64Attribute]</h3>
  37. <div>Float64Attribute has been removed. Use [page:BufferAttributeTypes Float64BufferAttribute] instead.</div>
  38. <h2>Constants</h2>
  39. <h3>[page:LineStrip]</h3>
  40. <h3>[page:LinePieces]</h3>
  41. <div>
  42. LinePieces mode is no longer supported for [page:Line]s. Create a [page:LineSegments] instead.
  43. </div>
  44. <h2>Geometry</h2>
  45. <h3>[page:CubeGeometry]</h3>
  46. <div>
  47. CubeGeometry has been renamed to [page:BoxGeometry].
  48. </div>
  49. <h3>[page:GeometryUtils]</h3>
  50. <div>
  51. GeometryUtils.merge has been moved to [page:Geometry.merge].<br /><br />
  52. GeometryUtils.center has been moved to [page:Geometry.center].
  53. </div>
  54. <h2>Helpers</h2>
  55. <h3>[page:EdgesHelper]</h3>
  56. <div>EdgesHelper has been removed. Use [page:EdgesGeometry] instead.</div>
  57. <h3>[page:WireframeHelper WireframeHelper]</h3>
  58. <div>WireframeHelper has been removed. Use [page:WireframeGeometry] instead.</div>
  59. <h2>Loaders</h2>
  60. <h3>[page:XHRLoader]</h3>
  61. <div>XHRLoader has been renamed to [page:FileLoader].</div>
  62. <h2>Maths</h2>
  63. <h3>[page:Box2.center]</h3>
  64. <div>Box2.center has been renamed to [page:Box2.getCenter]().</div>
  65. <h3>[page:Box2.empty]</h3>
  66. <div>Box2.empty has been renamed to [page:Box2.isEmpty]().</div>
  67. <h3>[page:Box2.isIntersectionBox]</h3>
  68. <div>Box2.isIntersectionBox has been renamed to [page:Box2.intersectsBox]().</div>
  69. <h3>[page:Box2.size]</h3>
  70. <div>Box2.size has been renamed to [page:Box2.getSize]().</div>
  71. <h3>[page:Box3.center]</h3>
  72. <div>Box3.center has been renamed to [page:Box3.getCenter]().</div>
  73. <h3>[page:Box3.empty]</h3>
  74. <div>Box3.empty has been renamed to [page:Box3.isEmpty]().</div>
  75. <h3>[page:Box3.isIntersectionBox]</h3>
  76. <div>Box3.isIntersectionBox has been renamed to [page:Box3.intersectsBox]().</div>
  77. <h3>[page:Box3.isIntersectionSphere]</h3>
  78. <div>Box3.isIntersectionBox has been renamed to [page:Box3.intersectsSphere]().</div>
  79. <h3>[page:Box3.size]</h3>
  80. <div>Box3.size has been renamed to [page:Box3.getSize]().</div>
  81. <h3>[page:Face4]</h3>
  82. <div>Face4 has been removed. Use [page:Face3] instead.</div>
  83. <h3>[page:Line3.center]</h3>
  84. <div>Line3.center has been renamed to [page:Line3.getCenter]().</div>
  85. <h3>[page:Matrix3.multiplyVector3]</h3>
  86. <div>Matrix3.multiplyVector3 has been removed. Use [page:Vector.applyMatrix3]( matrix ) instead.<div>
  87. <h3>[page:Matrix3.multiplyVector3Array]</h3>
  88. <div>Matrix3.multiplyVector3Array has been renamed to [page:Matrix3.applyToVector3Array]( array ).</div>
  89. <h3>[page:Vertex]</h3>
  90. <div>Vertex has been removed. Use [page:Vector3] instead.</div>
  91. <h2>Materials</h2>
  92. <h3>[page:MeshFaceMaterial]</h3>
  93. <div>MeshFaceMaterial has been removed. Use [page:MultiMaterial] instead.</div>
  94. <h3>[page:ParticleBasicMaterial]</h3>
  95. <div>ParticleBasicMaterial has been renamed to [page:PointsMaterial].</div>
  96. <h3>[page:ParticleSystemMaterial]</h3>
  97. <div>ParticleBasicMaterial has been renamed to [page:PointsMaterial].</div>
  98. <h3>[page:PointCloudMaterial]</h3>
  99. <div>PointCloudMaterial has been renamed to [page:PointsMaterial].</div>
  100. <h2>Objects</h2>
  101. <h3>[page:Particle]</h3>
  102. <div>ParticleSystem has been renamed to [page:Sprite].</div>
  103. <h3>[page:ParticleSystem]</h3>
  104. <div>ParticleSystem has been renamed to [page:Points].</div>
  105. <h3>[page:PointCloud]</h3>
  106. <div>PointCloud has been renamed to [page:Points].</div>
  107. <h2>Renderer</h2>
  108. <h3>[page:Projector]</h3>
  109. <div>
  110. Projector has been moved to
  111. [link:https://github.com/mrdoob/three.js/blob/master/examples/js/renderers/Projector.js /examples/js/renderers/Projector.js].<br /><br />
  112. Projector.projectVector() is now [page:Vector.project].<br /><br />
  113. Projector.unprojectVector() is now [page:Vector.unproject].<br /><br />
  114. Projector:.pickingRay() is now [page:Raycaster.setFromCamera].
  115. </div>
  116. <h2>Textures</h2>
  117. <h3>[page:ImageUtils]</h3>
  118. <div>
  119. ImageUtils.loadTexture has been deprecated. Use [page:TextureLoader] instead.<br /><br />
  120. ImageUtils.loadTextureCube has been deprecated. Use [page:CubeTextureLoader] instead.<br /><br />
  121. ImageUtils.loadCompressedTexture has been removed. Use [page:DDSLoader] instead.<br /><br />
  122. ImageUtils.loadCompressedTextureCube has been removed. Use [page:DDSLoader] instead.
  123. </div>
  124. </body>
  125. </html>