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.
94 lines
3.1 KiB
HTML
94 lines
3.1 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:Object3D] → [page:Light] →
|
|
|
|
<h1>[name]</h1>
|
|
|
|
<p class="desc">
|
|
مصدر ضوء موضوع مباشرة فوق المشهد ، مع تلاشي اللون من
|
|
لون السماء إلى لون الأرض. <br /> <br />
|
|
لا يمكن استخدام هذا الضوء لإلقاء الظلال.
|
|
</p>
|
|
|
|
<h2>مثال للكود</h2>
|
|
<code>
|
|
const light = new THREE.HemisphereLight( 0xffffbb, 0x080820, 1 );
|
|
scene.add( light );
|
|
</code>
|
|
|
|
<h2>أمثلة (Examples)</h2>
|
|
|
|
<p>
|
|
[example:webgl_animation_skinning_blending animation / skinning / blending ]<br />
|
|
[example:webgl_lights_hemisphere lights / hemisphere ]<br />
|
|
[example:misc_controls_pointerlock controls / pointerlock ]<br />
|
|
[example:webgl_loader_collada_kinematics loader / collada / kinematics ]<br />
|
|
[example:webgl_loader_stl loader / stl ]
|
|
</p>
|
|
|
|
<h2>المنشئ (Constructor)</h2>
|
|
<h3>
|
|
[name]( [param:Integer skyColor], [param:Integer groundColor],
|
|
[param:Float intensity] )
|
|
</h3>
|
|
<p>
|
|
[page:Integer skyColor] - (optional) لون سداسي عشري للسماء. الافتراضي
|
|
هو 0xffffff.<br />
|
|
[page:Integer groundColor] - (optional) لون سداسي عشري للأرض.
|
|
الافتراضي هو 0xffffff.<br />
|
|
[page:Float intensity] - (optional) قيمة رقمية لـ
|
|
قوة / شدة الضوء. الافتراضي هو 1.<br /><br />
|
|
|
|
يخلق جديد [name].
|
|
</p>
|
|
|
|
<h2>الخصائص (Properties)</h2>
|
|
<p>انظر قائمة [page:Light Light] الأساسية للخصائص المشتركة.</p>
|
|
|
|
<h3>[property:Float color]</h3>
|
|
<p>
|
|
لون سماء الضوء ، كما تم تمريره في المُنشئ. الافتراضي هو جديد
|
|
[page:Color] محدد على الأبيض (0xffffff).
|
|
</p>
|
|
|
|
<h3>[property:Float groundColor]</h3>
|
|
<p>
|
|
لون أرضية الضوء ، كما تم تمريره في المُنشئ. الافتراضي هو جديد
|
|
[page:Color] محدد على الأبيض (0xffffff).
|
|
</p>
|
|
|
|
<h3>[property:Boolean isHemisphereLight]</h3>
|
|
<p>علامة للقراءة فقط للتحقق مما إذا كان كائنًا معينًا من نوع [name].</p>
|
|
|
|
<h3>[property:Vector3 position]</h3>
|
|
<p>
|
|
يتم تعيين هذا يساوي [page:Object3D.DEFAULT_UP] (0، 1، 0) ، بحيث
|
|
يشرق الضوء من أعلى إلى أسفل.
|
|
</p>
|
|
|
|
<h2>الطرق (Methods)</h2>
|
|
|
|
<p>انظر قائمة [page:Light Light] الأساسية للطرق المشتركة.</p>
|
|
|
|
<h3>[method:this copy]( [param:HemisphereLight source] )</h3>
|
|
<p>
|
|
ينسخ قيمة [page:.color color] و[page:.intensity intensity] و
|
|
[page:.groundColor groundColor] من ضوء المصدر [page:Light source] إلى
|
|
هذا واحد.
|
|
</p>
|
|
|
|
<h2>المصدر (Source)</h2>
|
|
|
|
<p>
|
|
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
|
</p>
|
|
</body>
|
|
</html>
|