AmbientLightProbe.html 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. AmbientLightProbe is the light estimation data
  14. of a single ambient 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 color], [param:Float intensity] )</h3>
  18. <p>
  19. [page:Color color] - (optional) An instance of Color, string representing a color or a number representing a color.<br />
  20. [page:Float intensity] - (optional) Numeric value of the light probe's intensity. Default is 1.<br /><br />
  21. Creates a new [name].
  22. </p>
  23. <h2>Properties</h2>
  24. <p>
  25. See the base [page:LightProbe LightProbe] class for common properties.
  26. </p>
  27. <h2>Methods</h2>
  28. <p>
  29. See the base [page:LightProbe LightProbe] class for common methods.
  30. </p>
  31. <h2>Source</h2>
  32. <p>
  33. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  34. </p>
  35. </body>
  36. </html>