AxisHelper.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="list.js"></script>
  7. <script src="page.js"></script>
  8. <link type="text/css" rel="stylesheet" href="page.css" />
  9. </head>
  10. <body>
  11. [page:LineSegments] &rarr;
  12. <h1>[name]</h1>
  13. <div class="desc">An axis object to visualize the the 3 axes in a simple way. <br />
  14. The X axis is red. The Y axis is green. The Z axis is blue.</div>
  15. <h2>Example</h2>
  16. <div>[example:webgl_geometries WebGL / geometries]</div>
  17. <div>[example:webgl_geometries2 WebGL / geometries2]</div>
  18. <div>[example:webgl_geometry_convex WebGL / geometry / convex]</div>
  19. <div>[example:webgl_geometry_spline_editor WebGL / geometry / spline / editor]</div>
  20. <code>
  21. var axisHelper = new THREE.AxisHelper( 5 );
  22. scene.add( axisHelper );
  23. </code>
  24. <h2>Constructor</h2>
  25. <h3>[name]( [page:Number size] )</h3>
  26. <div>
  27. [page:Number size] -- Define the size of the lines representing the axes.<br /><br />
  28. Creates an axisHelper with lines of length [page:Number size].
  29. </div>
  30. <h2>Properties</h2>
  31. <div>See the base [page:LineSegments] class for common properties.</div>
  32. <h2>Methods</h2>
  33. <div>See the base [page:LineSegments] class for common methods.</div>
  34. <h2>Source</h2>
  35. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  36. </body>
  37. </html>