You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							93 lines
						
					
					
						
							2.8 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							93 lines
						
					
					
						
							2.8 KiB
						
					
					
				
								<!DOCTYPE html>
							 | 
						|
								<html lang="it">
							 | 
						|
									<head>
							 | 
						|
										<meta charset="utf-8" />
							 | 
						|
										<base href="../../../" />
							 | 
						|
										<script src="page.js"></script>
							 | 
						|
										<link type="text/css" rel="stylesheet" href="page.css" />
							 | 
						|
									</head>
							 | 
						|
									<body>
							 | 
						|
								        [page:Object3D] → [page:Light] →
							 | 
						|
								
							 | 
						|
										<h1>[name]</h1>
							 | 
						|
								
							 | 
						|
										<p class="desc">
							 | 
						|
								      Una sorgente di luce posizionata direttamente sopra la scena, con il colore che sfuma dal
							 | 
						|
								      colore del cielo al colore del suolo.<br /><br />
							 | 
						|
								
							 | 
						|
								      Questa luce non può essere usata per proiettare le ombre.
							 | 
						|
										</p>
							 | 
						|
								
							 | 
						|
										<h2>Codice di Esempio</h2>
							 | 
						|
								
							 | 
						|
										<code>
							 | 
						|
										const light = new THREE.HemisphereLight( 0xffffbb, 0x080820, 1 );
							 | 
						|
										scene.add( light );
							 | 
						|
										</code>
							 | 
						|
								
							 | 
						|
										<h2>Esempi</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>Costruttore</h2>
							 | 
						|
										<h3>[name]( [param:Integer skyColor], [param:Integer groundColor], [param:Float intensity] )</h3>
							 | 
						|
								    <p>
							 | 
						|
										[page:Integer skyColor] - (opzionale) colore esadecimale del cielo. Il valore predefinito è 0xffffff.<br />
							 | 
						|
										[page:Integer groundColor] - (opzionale) colore esadecimale del suolo. Il valore predefinito è 0xffffff.<br />
							 | 
						|
										[page:Float intensity] - (opzionale) valore numerico della forza/intensità della luce. Il valore predefinito è 1.<br /><br />
							 | 
						|
								
							 | 
						|
								    Crea un nuova [name].
							 | 
						|
										</p>
							 | 
						|
								
							 | 
						|
										<h2>Proprietà</h2>
							 | 
						|
										<p>
							 | 
						|
								      Vedi la classe base [page:Light Light] per le proprietà comuni.
							 | 
						|
										</p>
							 | 
						|
								
							 | 
						|
										<h3>[property:Float color]</h3>
							 | 
						|
										<p>
							 | 
						|
								      Il colore del cielo della luce, come passato nel costruttore.
							 | 
						|
								      Il valore predefinito è un nuovo [page:Color] impostato a bianco (0xffffff).
							 | 
						|
										</p>
							 | 
						|
								
							 | 
						|
										<h3>[property:Float groundColor]</h3>
							 | 
						|
										<p>
							 | 
						|
								      Il colore del suolo della luce, come passato nel costruttore.
							 | 
						|
								      Il valore predefinito è un nuovo [page:Color] impostato a bianco (0xffffff).
							 | 
						|
										</p>
							 | 
						|
								
							 | 
						|
										<h3>[property:Boolean isHemisphereLight]</h3>
							 | 
						|
										<p>
							 | 
						|
											Flag di sola lettura per verificare se l'oggetto dato è del tipo [name].
							 | 
						|
										</p>
							 | 
						|
								
							 | 
						|
										<h3>[property:Vector3 position]</h3>
							 | 
						|
										<p>
							 | 
						|
								      Questo è impostato uguale a [page:Object3D.DefaultUp] (0, 1, 0), in modo che la luce risplenda
							 | 
						|
								      dall'alto verso il basso.
							 | 
						|
										</p>
							 | 
						|
								
							 | 
						|
										<h2>Metodi</h2>
							 | 
						|
										<p>
							 | 
						|
								      Vedi la classe base [page:Light Light] per i metodi comuni.
							 | 
						|
										</p>
							 | 
						|
								
							 | 
						|
										<h3>[method:this copy]( [param:HemisphereLight source] )</h3>
							 | 
						|
										<p>
							 | 
						|
								      Copia i valori di [page:.color color], [page:.intensity intensity] e
							 | 
						|
											[page:.groundColor groundColor] dalla luce della [page:Light sorgente] (source) in questa luce.
							 | 
						|
										</p>
							 | 
						|
								
							 | 
						|
										<h2>Source</h2>
							 | 
						|
								
							 | 
						|
										<p>
							 | 
						|
											[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
							 | 
						|
										</p>
							 | 
						|
									</body>
							 | 
						|
								</html>
							 | 
						|
								
							 |