LightProbeHelper.html 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="list.js"></script>
  7. <script src="page.js"></script>
  8. <link type="text/css" rel="stylesheet" href="page.css" />
  9. </head>
  10. <body>
  11. [page:Object3D] &rarr; [page:Mesh] &rarr;
  12. <h1>[name]</h1>
  13. <p class="desc">
  14. Renders a sphere to visualize a light probe in the scene.
  15. <p>
  16. <h2>Example</h2>
  17. <div>[example:webgl_lightprobe_cubecamera WebGL / lightprobe / cubecamera]</div>
  18. <code>
  19. var helper = new LightProbeHelper( lightProbe, 1 );
  20. scene.add( helper );
  21. </code>
  22. <h2>Constructor</h2>
  23. <h3>[name]( [param:LightProbe lightProbe], [param:Number size] )</h3>
  24. <p>
  25. [page:LightProbe lightProbe] -- the light probe.<br />
  26. [page:Number size] -- size of the helper sphere
  27. </p>
  28. <h2>Properties</h2>
  29. <p>See the base [page:Mesh] class for common properties.</p>
  30. <h3>[property:LightProbe lightProbe]</h3>
  31. <p>The light probe.</p>
  32. <h3>[property:Number size]</h3>
  33. <p>The size of the helper sphere.</p>
  34. <h2>Methods</h2>
  35. <p>See the base [page:Mesh] class for common methods.</p>
  36. <h3>[method:null dispose]()</h3>
  37. <p>Frees internal resources.</p>
  38. <h2>Source</h2>
  39. <p>
  40. [link:https://github.com/mrdoob/three.js/blob/master/examples/jsm/helpers/LightProbeHelper.js examples/jsm/helpers/LightProbeHelper.js]
  41. </p>
  42. </body>
  43. </html>