You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.8 KiB
HTML
65 lines
1.8 KiB
HTML
3 weeks ago
|
<!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#DodecahedronGeometry"
|
||
|
></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 يضيف
|
||
|
الرؤوس مما يجعله لم يعد دوديكاهيدرون.
|
||
|
</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>
|