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.
55 lines
1.4 KiB
HTML
55 lines
1.4 KiB
HTML
<!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] →
|
|
|
|
<h1>[name]</h1>
|
|
|
|
<p class="desc">
|
|
يمكن استخدام هذا ككائن مساعد لعرض [page:BufferGeometry geometry] كإطار سلكي.
|
|
</p>
|
|
|
|
<h2>مثال الكود</h2>
|
|
|
|
<code>
|
|
const geometry = new THREE.SphereGeometry( 100, 100, 100 );
|
|
|
|
const wireframe = new THREE.WireframeGeometry( geometry );
|
|
|
|
const line = new THREE.LineSegments( wireframe );
|
|
line.material.depthTest = false;
|
|
line.material.opacity = 0.25;
|
|
line.material.transparent = true;
|
|
|
|
scene.add( line );
|
|
</code>
|
|
|
|
<h2>أمثلة (Examples)</h2>
|
|
|
|
<p>[example:webgl_helpers helpers]</p>
|
|
|
|
<h2>المنشئ (Constructor)</h2>
|
|
|
|
<h3>[name]( [param:BufferGeometry geometry] )</h3>
|
|
<p>geometry — أي كائن هندسي.</p>
|
|
|
|
<h2>الخصائص (Properties)</h2>
|
|
<p>انظر فئة [page:BufferGeometry] الأساسية للخصائص المشتركة.</p>
|
|
|
|
<h2>الطرق (Methods)</h2>
|
|
<p>انظر فئة [page:BufferGeometry] الأساسية للطرق المشتركة.</p>
|
|
|
|
<h2>المصدر (Source)</h2>
|
|
|
|
<p>
|
|
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
|
</p>
|
|
</body>
|
|
</html>
|