HemisphereLightHelper.html 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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:Object3D] &rarr;
  11. <h1>[name]</h1>
  12. <div class="desc">Creates a visual aid for a [page:HemisphereLight HemisphereLight].</div>
  13. <h2>Constructor</h2>
  14. <h3>[name]([page:HemisphereLight light], [page:Number sphereSize])</h3>
  15. <div>
  16. light -- The HemisphereLight. <br />
  17. sphereSize -- The size of the sphere that shows the location.
  18. </div>
  19. <div>
  20. Creates an helper for the hemispherelight.
  21. </div>
  22. <h2>Properties</h2>
  23. <h3>[property:Mesh lightSphere]</h3>
  24. <div>
  25. The sphere mesh that shows the location of the hemispherelight.
  26. </div>
  27. <h3>[property:HemisphereLight light]</h3>
  28. <div>
  29. Contains the HemisphereLight.
  30. </div>
  31. <h2>Methods</h2>
  32. <h3>[method:null update]()</h3>
  33. <div>
  34. Updates the helper to match the position and direction of the [page:.light].
  35. </div>
  36. <h2>Source</h2>
  37. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  38. </body>
  39. </html>