AxisHelper.html 909 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. [page:Line] &rarr;
  11. <h1>[name]</h1>
  12. <div class="desc">An axis object to visualize the the 3 axes in a simple way. <br />
  13. The X axis is red. The Y axis is green. The Z axis is blue.</div>
  14. <h2>Example</h2>
  15. <code>var axisHelper = new THREE.AxisHelper( 5 );
  16. scene.add( axisHelper );
  17. </code>
  18. <h2>Constructor</h2>
  19. <h3>[name]([page:Number size])</h3>
  20. <div>
  21. size -- Define the size of the line representing the axes.
  22. </div>
  23. <div>
  24. Creates an axisHelper with lines of length size.
  25. </div>
  26. <h2>Source</h2>
  27. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  28. </body>
  29. </html>