AmbientLightProbe.html 1.3 KB

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