IcosahedronGeometry.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <!DOCTYPE html>
  2. <html lang="ar">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="page.css" />
  8. </head>
  9. <body class="rtl">
  10. [page:BufferGeometry] &rarr; [page:PolyhedronGeometry] &rarr;
  11. <h1>[name]</h1>
  12. <p class="desc">فئة لإنشاء هندسة الإيكوساهيدرون.</p>
  13. <iframe
  14. id="scene"
  15. src="scenes/geometry-browser.html#IcosahedronGeometry"
  16. ></iframe>
  17. <script>
  18. // iOS iframe auto-resize workaround
  19. if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
  20. const scene = document.getElementById( 'scene' );
  21. scene.style.width = getComputedStyle( scene ).width;
  22. scene.style.height = getComputedStyle( scene ).height;
  23. scene.setAttribute( 'scrolling', 'no' );
  24. }
  25. </script>
  26. <h2>المنشئ (Constructor)</h2>
  27. <h3>[name]([param:Float radius], [param:Integer detail])</h3>
  28. <p>
  29. radius — الافتراضي هو 1. <br />
  30. detail — الافتراضي هو 0. تعيين هذه القيمة إلى قيمة أكبر من 0 يضيف المزيد
  31. من الرؤوس مما يجعله لم يعد إيكوساهيدرون. عندما يكون التفصيل أكبر من
  32. 1، فهو عبارة عن كرة بشكل فعال.
  33. </p>
  34. <h2>الخصائص (Properties)</h2>
  35. <p>انظر فئة [page:PolyhedronGeometry] الأساسية للخصائص المشتركة.</p>
  36. <h3>[property:Object parameters]</h3>
  37. <p>
  38. كائن يحتوي على خاصية لكل من معلمات المنشئ. أي تعديل بعد التجسيد لا يغير
  39. الهندسة.
  40. </p>
  41. <h2>الطرق (Methods)</h2>
  42. <p>انظر فئة [page:PolyhedronGeometry] الأساسية للطرق المشتركة.</p>
  43. <h2>المصدر (Source)</h2>
  44. <p>
  45. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  46. </p>
  47. </body>
  48. </html>