PointLightHelper.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <script src="../../../list.js"></script>
  6. <script src="../../../page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="../../../page.css" />
  8. </head>
  9. <body>
  10. [page:Mesh] &rarr;
  11. <h1>[name]</h1>
  12. <div class="desc">This display a helper for a pointLight </div>
  13. <h2>Example</h2>
  14. <code>var pointLight = new THREE.PointLight( 0xff0000, 1, 100 );
  15. pointLight.position.set( 10, 10, 10 );
  16. scene.add( pointLight );
  17. var sphereSize = 1;
  18. var pointLightHelper = new THREE.PointLightHelper( pointLight, sphereSize );
  19. scene.add( pointLightHelper );
  20. </code>
  21. <h2>Constructor</h2>
  22. <h3>[name]([page:todo light], [page:todo sphereSize])</h3>
  23. <div>
  24. light -- todo <br />
  25. sphereSize -- todo
  26. </div>
  27. <div>
  28. todo
  29. </div>
  30. <h2>Properties</h2>
  31. <h3>[property:Mesh lightSphere]</h3>
  32. <div>
  33. todo
  34. </div>
  35. <h3>[property:PointLight light]</h3>
  36. <div>
  37. todo
  38. </div>
  39. <h2>Methods</h2>
  40. <h3>[method:todo update]()</h3>
  41. <div>
  42. todo
  43. </div>
  44. <h2>Source</h2>
  45. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  46. </body>
  47. </html>