-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs: Translating materials section into Arabic (ar). (#26209)
* update list.json to include the materials section of arabic docs * add arabic translation for LineBasicMaterial page * add arabic translation for LineDashedMaterial page * add arabic translation for Material page * add arabic translation for MeshBasicMaterial page * add arabic translation for MeshDepthMaterial page * add arabic translation for MeshDistanceMaterial page * add arabic translation for MeshLambertMaterial page * add arabic translation for MeshMatcapMaterial page * add arabic translation for MeshNormalMaterial page * add arabic translation for MeshPhongMaterial page * add arabic translation for MeshPhysicalMaterial page * add arabic translation for MeshStandardMaterial page * add arabic translation for MeshToonMaterial page * add arabic translation for PointsMaterial page * add arabic translation for RawShaderMaterial page * add arabic translation for ShaderMaterial page * add arabic translation for ShadowMaterial page * add arabic translation for SpriteMaterial page
- Loading branch information
Showing
19 changed files
with
3,525 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
<!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:Material] → | ||
|
||
<h1>[name]</h1> | ||
|
||
<p class="desc">مادة لرسم الهندسة على طريقة الإطار السلكي.</p> | ||
|
||
<h2>مثال الكود</h2> | ||
<code> | ||
const material = new THREE.LineBasicMaterial( { | ||
color: 0xffffff, | ||
linewidth: 1, | ||
linecap: 'round', //ignored by WebGLRenderer | ||
linejoin: 'round' //ignored by WebGLRenderer | ||
} ); | ||
</code> | ||
|
||
<h2>أمثلة (Examples)</h2> | ||
<p> | ||
[example:webgl_buffergeometry_drawrange WebGL / buffergeometry / drawrange]<br /> | ||
[example:webgl_buffergeometry_lines WebGL / buffergeometry / lines]<br /> | ||
[example:webgl_buffergeometry_lines_indexed WebGL / buffergeometry / lines / indexed]<br /> | ||
[example:webgl_decals WebGL / decals]<br /> | ||
[example:webgl_geometry_nurbs WebGL / geometry / nurbs]<br /> | ||
[example:webgl_geometry_shapes WebGL / geometry / shapes]<br /> | ||
[example:webgl_geometry_spline_editor WebGL / geometry / spline / editor]<br /> | ||
[example:webgl_interactive_buffergeometry WebGL / interactive / buffergeometry]<br /> | ||
[example:webgl_interactive_voxelpainter WebGL / interactive / voxelpainter]<br /> | ||
[example:webgl_lines_colors WebGL / lines / colors]<br /> | ||
[example:webgl_lines_dashed WebGL / lines / dashed]<br /> | ||
[example:webgl_materials WebGL / materials]<br /> | ||
[example:physics_ammo_rope physics / ammo / rope] | ||
</p> | ||
|
||
<h2>المنشئ (Constructor)</h2> | ||
<h3>[name]( [param:Object parameters] )</h3> | ||
|
||
<p> | ||
[page:Object parameters] - (اختياري) كائن به خاصية واحدة أو أكثر | ||
تحدد مظهر المادة. يمكن تمرير أي خاصية من المادة (بما في ذلك أي خاصية موروثة من [page:Material]) هنا.<br /><br /> | ||
|
||
الاستثناء هو الخاصية [page:Hexadecimal color]، التي يمكن تمريرها كسلسلة ست عشرية وهي `0xffffff` (أبيض) بشكل افتراضي. | ||
يتم استدعاء [page:Color.set]( color ) داخليًا. | ||
</p> | ||
|
||
<h2>الخصائص (Properties)</h2> | ||
<p>انظر إلى الفئة الأساسية [page:Material] للحصول على خصائص شائعة.</p> | ||
|
||
<h3>[property:Color color]</h3> | ||
<p>[page:Color] للمادة ، الافتراضي هو الأبيض (0xffffff).</p> | ||
|
||
<h3>[property:Boolean fog]</h3> | ||
<p>ما إذا كانت المادة متأثرة بالضباب. الافتراضي هو `true`.</p> | ||
|
||
<h3>[property:Float linewidth]</h3> | ||
<p> | ||
يتحكم في سمك الخط. الافتراضي هو `1`.<br /><br /> | ||
|
||
بسبب قيود | ||
[link:https://www.khronos.org/registry/OpenGL/specs/gl/glspec46.core.pdf OpenGL Core Profile] | ||
مع [page:WebGLRenderer WebGL] renderer على معظم | ||
المنصات سيكون linewidth دائمًا 1 بغض النظر عن القيمة المحددة. | ||
</p> | ||
|
||
<h3>[property:String linecap]</h3> | ||
<p> | ||
تحديد مظهر نهايات الخط. القيم الممكنة هي 'butt' و 'round' و | ||
'square'. الافتراضي هو 'round'.<br /><br /> | ||
|
||
هذا يتوافق مع | ||
[link:https://developer.mozilla.org/en/docs/Web/API/CanvasRenderingContext2D/lineCap 2D Canvas lineCap] | ||
خاصية ويتم تجاهلها من قبل [page:WebGLRenderer WebGL] renderer. | ||
</p> | ||
|
||
<h3>[property:String linejoin]</h3> | ||
<p> | ||
تحديد مظهر مفاصل الخط. القيم الممكنة هي 'round' و 'bevel' و | ||
'miter'. الافتراضي هو 'round'. <br /><br /> | ||
|
||
هذا يتوافق مع | ||
[link:https://developer.mozilla.org/en/docs/Web/API/CanvasRenderingContext2D/lineJoin 2D Canvas lineJoin] | ||
خاصية ويتم تجاهلها من قبل [page:WebGLRenderer WebGL] renderer. | ||
</p> | ||
|
||
<h3>[property:Texture map]</h3> | ||
<p>يحدد لون الخطوط باستخدام بيانات من [page:Texture].</p> | ||
|
||
<h2>الطرق (Methods)</h2> | ||
<p>انظر إلى قاعدة [page:Material] class للطرق المشتركة.</p> | ||
|
||
<h2>المصدر (Source)</h2> | ||
|
||
<p> | ||
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js] | ||
</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
<!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:Material] → [page:LineBasicMaterial] → | ||
|
||
<h1>[name]</h1> | ||
|
||
<p class="desc"> | ||
مادة لرسم الهندسة على طريقة الإطار السلكي بخطوط متقطعة. | ||
</p> | ||
|
||
<h2>مثال الكود</h2> | ||
|
||
<code> | ||
const material = new THREE.LineDashedMaterial( { | ||
color: 0xffffff, | ||
linewidth: 1, | ||
scale: 1, | ||
dashSize: 3, | ||
gapSize: 1, | ||
} ); | ||
</code> | ||
|
||
<h2>أمثلة (Examples)</h2> | ||
|
||
<p>[example:webgl_lines_dashed WebGL / lines / dashed]<br /></p> | ||
|
||
<h2>المنشئ (Constructor)</h2> | ||
|
||
<h3>[name]( [param:Object parameters] )</h3> | ||
<p> | ||
[page:Object parameters] - (اختياري) كائن به خاصية واحدة أو أكثر | ||
تحدد مظهر المادة. يمكن تمرير أي خاصية من المادة (بما في ذلك أي خاصية موروثة من [page:LineBasicMaterial]) | ||
هنا. | ||
</p> | ||
|
||
<h2>الخصائص (Properties)</h2> | ||
<p>انظر إلى الفئة الأساسية [page:LineBasicMaterial] للحصول على خصائص شائعة.</p> | ||
|
||
<h3>[property:number dashSize]</h3> | ||
<p> | ||
حجم الشَرطة. هذا هو كل من الفجوة مع الضربة. الافتراضي هو | ||
`3`. | ||
</p> | ||
|
||
<h3>[property:number gapSize]</h3> | ||
<p>حجم الفجوة. الافتراضي هو `1`.</p> | ||
|
||
<h3>[property:Boolean isLineDashedMaterial]</h3> | ||
<p>علامة قراءة فقط للتحقق مما إذا كان كائنًا معينًا من نوع [name].</p> | ||
|
||
<h3>[property:number scale]</h3> | ||
<p>مقياس الجزء المتقطع من الخط. الافتراضي هو `1`.</p> | ||
|
||
<h2>الطرق (Methods)</h2> | ||
<p>انظر إلى الفئة الأساسية [page:LineBasicMaterial] للحصول على طرق شائعة.</p> | ||
|
||
<h2>المصدر (Source)</h2> | ||
<p> | ||
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js] | ||
</p> | ||
</body> | ||
</html> |
Oops, something went wrong.