FrontFacingNode.html 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>FrontFacingNode - 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> → </p>
  13. <h1 translate="no">FrontFacingNode</h1>
  14. <section>
  15. <header>
  16. <div class="class-description"><p>This node can be used to evaluate whether a primitive is front or back facing.</p></div>
  17. </header>
  18. <article>
  19. <div class="container-overview">
  20. <h2>Constructor</h2>
  21. <h3 class="name name-method" id="FrontFacingNode" translate="no">new <a href="#FrontFacingNode">FrontFacingNode</a><span class="signature">()</span> </h3>
  22. <div class="method">
  23. <div class="description">
  24. <p>Constructs a new front facing node.</p>
  25. </div>
  26. </div>
  27. </div>
  28. <h2 class="subsection-title">Properties</h2>
  29. <div class="member">
  30. <h3 class="name" id="isFrontFacingNode" translate="no">.<a href="#isFrontFacingNode">isFrontFacingNode</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.</p>
  33. <p>Default is <code>true</code>.</p>
  34. </div>
  35. </div>
  36. <h2 class="subsection-title">Source</h2>
  37. <p>
  38. <a href="https://github.com/mrdoob/three.js/blob/master/src/nodes/display/FrontFacingNode.js" translate="no" target="_blank" rel="noopener">src/nodes/display/FrontFacingNode.js</a>
  39. </p>
  40. </article>
  41. </section>
  42. <script src="../scripts/linenumber.js"></script>
  43. <script src="../scripts/page.js"></script>
  44. </body>
  45. </html>
粤ICP备19079148号