12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <!DOCTYPE html>
- <html lang="ar">
- <head>
- <meta charset="utf-8" />
- <base href="../../../" />
- <script src="page.js"></script>
- <link type="text/css" rel="stylesheet" href="page.css" />
- </head>
- <body class="rtl">
- [page:BufferGeometry] → [page:PolyhedronGeometry] →
- <h1>[name]</h1>
- <p class="desc">فئة لإنشاء هندسة الإيكوساهيدرون.</p>
- <iframe
- id="scene"
- src="scenes/geometry-browser.html#IcosahedronGeometry"
- ></iframe>
- <script>
- // iOS iframe auto-resize workaround
- if ( /(iPad|iPhone|iPod)/g.test( navigator.userAgent ) ) {
- const scene = document.getElementById( 'scene' );
- scene.style.width = getComputedStyle( scene ).width;
- scene.style.height = getComputedStyle( scene ).height;
- scene.setAttribute( 'scrolling', 'no' );
- }
- </script>
- <h2>المنشئ (Constructor)</h2>
- <h3>[name]([param:Float radius], [param:Integer detail])</h3>
- <p>
- radius — الافتراضي هو 1. <br />
- detail — الافتراضي هو 0. تعيين هذه القيمة إلى قيمة أكبر من 0 يضيف المزيد
- من الرؤوس مما يجعله لم يعد إيكوساهيدرون. عندما يكون التفصيل أكبر من
- 1، فهو عبارة عن كرة بشكل فعال.
- </p>
- <h2>الخصائص (Properties)</h2>
- <p>انظر فئة [page:PolyhedronGeometry] الأساسية للخصائص المشتركة.</p>
- <h3>[property:Object parameters]</h3>
- <p>
- كائن يحتوي على خاصية لكل من معلمات المنشئ. أي تعديل بعد التجسيد لا يغير
- الهندسة.
- </p>
- <h2>الطرق (Methods)</h2>
- <p>انظر فئة [page:PolyhedronGeometry] الأساسية للطرق المشتركة.</p>
- <h2>المصدر (Source)</h2>
- <p>
- [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
- </p>
- </body>
- </html>
|