HemisphereLightProbe.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="page.css" />
  8. </head>
  9. <body>
  10. [page:Object3D] &rarr; [page:Light] &rarr; [page:LightProbe]
  11. <h1>[name]</h1>
  12. <p class="desc">
  13. Light probes are an alternative way of adding light to a 3D scene.
  14. HemisphereLightProbe is the light estimation data of a single hemisphere
  15. light in the scene. For more information about light probes, go to
  16. [page:LightProbe].
  17. </p>
  18. <h2>Constructor</h2>
  19. <h3>
  20. [name]( [param:Color skyColor], [param:Color groundColor], [param:Float intensity] )
  21. </h3>
  22. <p>
  23. [page:Color skyColor] - (optional) An instance of Color, string
  24. representing a color or a number representing a color.<br />
  25. [page:Color groundColor] - (optional) An instance of Color, string
  26. representing a color or a number representing a color.<br />
  27. [page:Float intensity] - (optional) Numeric value of the light probe's
  28. intensity. Default is 1.<br /><br />
  29. Creates a new [name].
  30. </p>
  31. <h2>Properties</h2>
  32. <p>
  33. See the base [page:LightProbe LightProbe] class for common properties.
  34. </p>
  35. <h3>[property:Boolean isHemisphereLightProbe]</h3>
  36. <p>Read-only flag to check if a given object is of type [name].</p>
  37. <h2>Methods</h2>
  38. <p>See the base [page:LightProbe LightProbe] class for common methods.</p>
  39. <h2>Source</h2>
  40. <p>
  41. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  42. </p>
  43. </body>
  44. </html>