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.
		
		
		
		
		
			
		
			
				
					
					
						
							62 lines
						
					
					
						
							1.5 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							62 lines
						
					
					
						
							1.5 KiB
						
					
					
				
								<!DOCTYPE html>
							 | 
						|
								<html lang="en">
							 | 
						|
									<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:Mesh] →
							 | 
						|
								
							 | 
						|
										<h1>[name]</h1>
							 | 
						|
								
							 | 
						|
										<p class="desc">
							 | 
						|
											Renders a sphere to visualize a light probe in the scene.
							 | 
						|
										<p>
							 | 
						|
								
							 | 
						|
										<h2>Code Example</h2>
							 | 
						|
								
							 | 
						|
										<code>
							 | 
						|
										const helper = new LightProbeHelper( lightProbe, 1 );
							 | 
						|
										scene.add( helper );
							 | 
						|
										</code>
							 | 
						|
								
							 | 
						|
										<h2>Examples</h2>
							 | 
						|
								
							 | 
						|
										<p>[example:webgl_lightprobe_cubecamera WebGL / lightprobe / cubecamera]</p>
							 | 
						|
								
							 | 
						|
										<h2>Constructor</h2>
							 | 
						|
								
							 | 
						|
										<h3>[name]( [param:LightProbe lightProbe], [param:Number size] )</h3>
							 | 
						|
										<p>
							 | 
						|
										[page:LightProbe lightProbe] -- the light probe.<br />
							 | 
						|
										[page:Number size] -- size of the helper sphere
							 | 
						|
										</p>
							 | 
						|
								
							 | 
						|
								
							 | 
						|
										<h2>Properties</h2>
							 | 
						|
										<p>See the base [page:Mesh] class for common properties.</p>
							 | 
						|
								
							 | 
						|
										<h3>[property:LightProbe lightProbe]</h3>
							 | 
						|
										<p>The light probe.</p>
							 | 
						|
								
							 | 
						|
										<h3>[property:Number size]</h3>
							 | 
						|
										<p>The size of the helper sphere.</p>
							 | 
						|
								
							 | 
						|
										<h2>Methods</h2>
							 | 
						|
										<p>See the base [page:Mesh] class for common methods.</p>
							 | 
						|
								
							 | 
						|
										<h3>[method:undefined dispose]()</h3>
							 | 
						|
										<p>
							 | 
						|
										Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
							 | 
						|
										</p>
							 | 
						|
								
							 | 
						|
								
							 | 
						|
										<h2>Source</h2>
							 | 
						|
								
							 | 
						|
										<p>
							 | 
						|
											[link:https://github.com/mrdoob/three.js/blob/master/examples/jsm/helpers/LightProbeHelper.js examples/jsm/helpers/LightProbeHelper.js]
							 | 
						|
										</p>
							 | 
						|
									</body>
							 | 
						|
								</html>
							 | 
						|
								
							 |