DodecahedronGeometry.html 1.8 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]
  11. <h1>[name]</h1>
  12. <p class="desc">فئة لإنشاء هندسات الدوديكاهيدرون.</p>
  13. <iframe
  14. id="scene"
  15. src="scenes/geometry-browser.html#DodecahedronGeometry"
  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. </p>
  33. <h2>الخصائص (Properties)</h2>
  34. <p>انظر فئة [page:PolyhedronGeometry] الأساسية للخصائص المشتركة.</p>
  35. <h3>[property:Object parameters]</h3>
  36. <p>
  37. كائن يحتوي على خاصية لكل من معلمات المنشئ. أي تعديل بعد التجسيد لا يغير
  38. الهندسة.
  39. </p>
  40. <h2>الطرق (Methods)</h2>
  41. <p>انظر فئة [page:PolyhedronGeometry] الأساسية للطرق المشتركة.</p>
  42. <h2>المصدر (Source)</h2>
  43. <p>
  44. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  45. </p>
  46. </body>
  47. </html>