Projector.html 968 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <script src="../../list.js"></script>
  6. <script src="../../page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="../../page.css" />
  8. </head>
  9. <body>
  10. <h1>[name]</h1>
  11. <div class="desc">Projects points between spaces.</div>
  12. <h2>Constructor</h2>
  13. <h3>[name]()</h3>
  14. <div>
  15. Creates a new projector Object. It initializes a lot of variables that the projector uses to project the points.
  16. </div>
  17. <h2>Properties</h2>
  18. <h2>Methods</h2>
  19. <h3>.pickingRay( [page:Vector3 vector], [page:Camera camera] ) [page:Raycaster]</h3>
  20. <div>
  21. Translates a 2D point from NDC (<em>Normalized Device Coordinates</em>) to a [page:Raycaster] that can be used for picking. NDC range from [-1..1] in x (left to right) and [1.0 .. -1.0] in y (top to bottom).
  22. </div>
  23. <h2>Source</h2>
  24. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  25. </body>
  26. </html>