IESSpotLightNode.html 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>IESSpotLightNode - 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">IESSpotLightNode</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>An IES version of the default spot light node.</p></div>
  17. </header>
  18. <article>
  19. <div class="container-overview">
  20. <h2>Constructor</h2>
  21. <h3 class="name name-method" id="IESSpotLightNode" translate="no">new <a href="#IESSpotLightNode">IESSpotLightNode</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>, angleCosine : <span class="param-type"><a href="Node.html">Node</a>.&lt;float></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 an IES conform spot 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. <tr>
  42. <td class="name">
  43. <strong>angleCosine</strong>
  44. </td>
  45. <td class="description last">
  46. <p>The angle to compute the spot attenuation for.</p>
  47. </td>
  48. </tr>
  49. </tbody>
  50. </table>
  51. <dl class="details">
  52. <dt class="tag-overrides"><strong>Overrides:</strong> <a href="SpotLightNode.html#getSpotAttenuation">SpotLightNode#getSpotAttenuation</a></dt>
  53. </dl>
  54. <dl class="details">
  55. <dt class="tag-returns"><strong>Returns:</strong> The spot attenuation.</dt>
  56. </dl>
  57. </div>
  58. <h2 class="subsection-title">Source</h2>
  59. <p>
  60. <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/lighting/IESSpotLightNode.js" translate="no" target="_blank" rel="noopener">src/nodes/lighting/IESSpotLightNode.js</a>
  61. </p>
  62. </article>
  63. </section>
  64. <script src="../scripts/linenumber.js"></script>
  65. <script src="../scripts/page.js"></script>
  66. </body>
  67. </html>
粤ICP备19079148号