PointLightHelper.html 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. <h1>[name]</h1>
  11. <div class="desc">This display a helper for a pointLight </div>
  12. <h2>Example</h2>
  13. <code>var pointLight = new THREE.PointLight( 0xff0000, 1, 100 );
  14. pointLight.position.set( 10, 10, 10 );
  15. scene.add( pointLight );
  16. var sphereSize = 1;
  17. var pointLightHelper = new THREE.PointLightHelper( pointLight, sphereSize );
  18. scene.add( pointLightHelper );
  19. </code>
  20. <h2>Constructor</h2>
  21. <h3>[name]([page:todo light], [page:todo sphereSize])</h3>
  22. <div>
  23. light -- todo <br />
  24. sphereSize -- todo
  25. </div>
  26. <div>
  27. todo
  28. </div>
  29. <h2>Properties</h2>
  30. <h3>.[page:Mesh lightSphere]</h3>
  31. <div>
  32. todo
  33. </div>
  34. <h3>.[page:PointLight light]</h3>
  35. <div>
  36. todo
  37. </div>
  38. <h2>Methods</h2>
  39. <h3>.update() [page:todo]</h3>
  40. <div>
  41. todo
  42. </div>
  43. <h2>Source</h2>
  44. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  45. </body>
  46. </html>