AxisHelper.html 892 B

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