LightShadow.html 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. <h1>[name]</h1>
  12. <div class="desc">TODO</div>
  13. <h2>Constructor</h2>
  14. <h3>[name]( [page:Camera camera] )</h3>
  15. <div>
  16. [page:Camera camera] — The shadow's view of the world.
  17. </div>
  18. <h2>Properties</h2>
  19. <h3>[property:Camera camera]</h3>
  20. <div>
  21. The shadow's view of the world.
  22. </div>
  23. <h3>[property:Float bias]</h3>
  24. <div>
  25. Shadow map bias, how much to add or subtract from the normalized depth when deciding whether a surface is in shadow.<br />
  26. Default — *0*.
  27. </div>
  28. <h3>[property:Float radius]</h3>
  29. <div>
  30. TODO<br />
  31. Default - *0*.
  32. </div>
  33. <h3>[property:Vector2 mapSize]</h3>
  34. <div>
  35. The width and height of the shadow map stored in a [page:Vector2 Vector2].<br />
  36. Default — *( 512, 512 )*.
  37. </div>
  38. <h3>[property:WebGLRenderTarget map]</h3>
  39. <div>
  40. The depth map generated using the internal camera; a location beyond a pixel's depth is in shadow. Computed internally during rendering.
  41. </div>
  42. <h3>[property:Matrix4 matrix]</h3>
  43. <div>
  44. Model to shadow camera space, to compute location and depth in shadow map. Stored in a [page:Matrix4 Matrix4]. Computed internally during rendering.
  45. </div>
  46. <h2>Methods</h2>
  47. <h3>[method:LightShadow copy]( [page:LightShadow source] )</h3>
  48. <div>
  49. Copies value of *source* to this LightShadow object.
  50. </div>
  51. <h3>[method:LightShadow clone]()</h3>
  52. <div>
  53. It returns a clone of LightShadow.
  54. </div>
  55. <h2>Source</h2>
  56. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  57. </body>
  58. </html>