HemisphereLightProbe.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. HemisphereLightProbe is the light estimation data
  14. of a single hemisphere light in the scene. For more information about light probes, go to [page:LightProbe].
  15. </p>
  16. <h2>Constructor</h2>
  17. <h3>[name]( [param:Color skyColor], [param:Color groundColor], [param:Float intensity] )</h3>
  18. <p>
  19. [page:Color skyColor] - (optional) An instance of Color, string representing a color or a number representing a color.<br />
  20. [page:Color groundColor] - (optional) An instance of Color, string representing a color or a number representing a color.<br />
  21. [page:Float intensity] - (optional) Numeric value of the light probe's intensity. Default is 1.<br /><br />
  22. Creates a new [name].
  23. </p>
  24. <h2>Properties</h2>
  25. <p>
  26. See the base [page:LightProbe LightProbe] class for common properties.
  27. </p>
  28. <h3>[property:Boolean isHemisphereLightProbe]</h3>
  29. <p>
  30. Read-only flag to check if a given object is of type [name].
  31. </p>
  32. <h2>Methods</h2>
  33. <p>
  34. See the base [page:LightProbe LightProbe] class for common methods.
  35. </p>
  36. <h2>Source</h2>
  37. <p>
  38. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  39. </p>
  40. </body>
  41. </html>