PointLightShadow.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>PointLightShadow - Three.js Docs</title>
  6. <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
  7. <script src="../scripts/highlight.min.js"></script>
  8. <link type="text/css" rel="stylesheet" href="../styles/highlight-three.css">
  9. <link type="text/css" rel="stylesheet" href="../styles/page.css">
  10. </head>
  11. <body>
  12. <p class="inheritance" translate="no"><a href="LightShadow.html">LightShadow</a> → </p>
  13. <h1 translate="no">PointLightShadow</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>Represents the shadow configuration of point lights.</p></div>
  17. </header>
  18. <article>
  19. <div class="container-overview">
  20. <h2>Constructor</h2>
  21. <h3 class="name name-method" id="PointLightShadow" translate="no">new <a href="#PointLightShadow">PointLightShadow</a><span class="signature">()</span> </h3>
  22. <div class="method">
  23. <div class="description">
  24. <p>Constructs a new point light shadow.</p>
  25. </div>
  26. </div>
  27. </div>
  28. <h2 class="subsection-title">Properties</h2>
  29. <div class="member">
  30. <h3 class="name" id="isPointLightShadow" translate="no">.<a href="#isPointLightShadow">isPointLightShadow</a><span class="type-signature"> : boolean</span> <span class="type-signature">(readonly) </span></h3>
  31. <div class="description">
  32. <p>This flag can be used for type testing.<br/>Default is <code>true</code>.</p>
  33. </div>
  34. </div>
  35. <h2 class="subsection-title">Methods</h2>
  36. <h3 class="name name-method" id="updateMatrices" translate="no">.<a href="#updateMatrices">updateMatrices</a><span class="signature">( light : <span class="param-type">Light</span>, viewportIndex : <span class="param-type">number</span> )</span> </h3>
  37. <div class="method">
  38. <div class="description">
  39. <p>Update the matrices for the camera and shadow, used internally by the renderer.</p>
  40. </div>
  41. <table class="params">
  42. <tbody>
  43. <tr>
  44. <td class="name"><code>light</code></td>
  45. <td class="description last"><p>The light for which the shadow is being rendered.</p></td>
  46. </tr>
  47. <tr>
  48. <td class="name"><code>viewportIndex</code></td>
  49. <td class="description last"><p>The viewport index.<br/>Default is <code>0</code>.</p></td>
  50. </tr>
  51. </tbody>
  52. </table>
  53. <dl class="details">
  54. <dt class="tag-overrides"><strong>Overrides:</strong> <a href="LightShadow.html#updateMatrices">LightShadow#updateMatrices</a></dt>
  55. </dl>
  56. </div>
  57. <h2 class="subsection-title">Source</h2>
  58. <p>
  59. <a href="https://github.com/mrdoob/three.js/blob/master/src/lights/PointLightShadow.js" target="_blank" rel="noopener" translate="no">src/lights/PointLightShadow.js</a>
  60. </p>
  61. </article>
  62. </section>
  63. <script src="../scripts/linenumber.js"></script>
  64. <script src="../scripts/page.js"></script>
  65. </body>
  66. </html>
粤ICP备19079148号