ProjectorLightNode.html 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>ProjectorLightNode - 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="EventDispatcher.html">EventDispatcher</a> → <a href="Node.html">Node</a> → <a href="LightingNode.html">LightingNode</a> → <a href="AnalyticLightNode.html">AnalyticLightNode</a> → <a href="SpotLightNode.html">SpotLightNode</a> → </p>
  13. <h1 translate="no">ProjectorLightNode</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>An implementation of a projector light node.</p></div>
  17. </header>
  18. <article>
  19. <div class="container-overview">
  20. <h2>Constructor</h2>
  21. <h3 class="name name-method" id="ProjectorLightNode" translate="no">new <a href="#ProjectorLightNode">ProjectorLightNode</a><span class="signature">()</span> </h3>
  22. <div class="method">
  23. </div>
  24. </div>
  25. <h2 class="subsection-title">Methods</h2>
  26. <h3 class="name name-method" id="getSpotAttenuation" translate="no">.<a href="#getSpotAttenuation">getSpotAttenuation</a><span class="signature">( builder : <span class="param-type"><a href="NodeBuilder.html">NodeBuilder</a></span> )</span><span class="type-signature"> : <a href="Node.html">Node</a>.&lt;float></span> </h3>
  27. <div class="method">
  28. <div class="description">
  29. <p>Overwrites the default implementation to compute projection attenuation.</p>
  30. </div>
  31. <table class="params">
  32. <tbody>
  33. <tr>
  34. <td class="name">
  35. <strong>builder</strong>
  36. </td>
  37. <td class="description last">
  38. <p>The node builder.</p>
  39. </td>
  40. </tr>
  41. </tbody>
  42. </table>
  43. <dl class="details">
  44. <dt class="tag-overrides"><strong>Overrides:</strong> <a href="SpotLightNode.html#getSpotAttenuation">SpotLightNode#getSpotAttenuation</a></dt>
  45. </dl>
  46. <dl class="details">
  47. <dt class="tag-returns"><strong>Returns:</strong> The spot attenuation.</dt>
  48. </dl>
  49. </div>
  50. <h2 class="subsection-title">Source</h2>
  51. <p>
  52. <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/lighting/ProjectorLightNode.js" translate="no" target="_blank" rel="noopener">src/nodes/lighting/ProjectorLightNode.js</a>
  53. </p>
  54. </article>
  55. </section>
  56. <script src="../scripts/linenumber.js"></script>
  57. <script src="../scripts/page.js"></script>
  58. </body>
  59. </html>
粤ICP备19079148号