TetrahedronGeometry.html 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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#TetrahedronGeometry"
  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. </p>
  39. <h2>الطرق (Methods)</h2>
  40. <p>انظر فئة [page:PolyhedronGeometry] الأساسية للطرق المشتركة.</p>
  41. <h2>المصدر (Source)</h2>
  42. <p>
  43. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  44. </p>
  45. </body>
  46. </html>