mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-26 15:34:57 +01:00
67 lines
1.2 KiB
HTML
Executable File
67 lines
1.2 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<script src="../../../list.js"></script>
|
|
<script src="../../../page.js"></script>
|
|
<link type="text/css" rel="stylesheet" href="../../../page.css" />
|
|
</head>
|
|
<body>
|
|
[page:Mesh] →
|
|
|
|
<h1>[name]</h1>
|
|
|
|
<div class="desc">This display a helper for a pointLight </div>
|
|
|
|
|
|
<h2>Example</h2>
|
|
|
|
<code>var pointLight = new THREE.PointLight( 0xff0000, 1, 100 );
|
|
pointLight.position.set( 10, 10, 10 );
|
|
scene.add( pointLight );
|
|
|
|
var sphereSize = 1;
|
|
var pointLightHelper = new THREE.PointLightHelper( pointLight, sphereSize );
|
|
scene.add( pointLightHelper );
|
|
</code>
|
|
[example:webgl_helpers Example using various helpers]
|
|
|
|
|
|
<h2>Constructor</h2>
|
|
|
|
<h3>[name]([page:todo light], [page:todo sphereSize])</h3>
|
|
<div>
|
|
light -- todo <br />
|
|
sphereSize -- todo
|
|
</div>
|
|
<div>
|
|
todo
|
|
</div>
|
|
|
|
|
|
<h2>Properties</h2>
|
|
|
|
<h3>[property:Mesh lightSphere]</h3>
|
|
<div>
|
|
todo
|
|
</div>
|
|
|
|
<h3>[property:PointLight light]</h3>
|
|
<div>
|
|
todo
|
|
</div>
|
|
|
|
|
|
<h2>Methods</h2>
|
|
|
|
<h3>[method:todo update]()</h3>
|
|
<div>
|
|
todo
|
|
</div>
|
|
|
|
<h2>Source</h2>
|
|
|
|
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
|
</body>
|
|
</html>
|