AxesHelper.html 1.3 KB
Newer Older
1 2 3
<!DOCTYPE html>
<html lang="en">
	<head>
W
WestLangley 已提交
4
		<meta charset="utf-8" />
K
Kevan Stannard 已提交
5
		<base href="../../" />
M
Mr.doob 已提交
6 7 8
		<script src="list.js"></script>
		<script src="page.js"></script>
		<link type="text/css" rel="stylesheet" href="page.css" />
9 10
	</head>
	<body>
L
looeee 已提交
11
		[page:LineSegments] &rarr;
M
Mr.doob 已提交
12

13
		<h1>[name]</h1>
M
Mr.doob 已提交
14

G
gero3 已提交
15 16
		<div class="desc">An axis object to visualize the the 3 axes in a simple way. <br />
			The X axis is red. The Y axis is green. The Z axis is blue.</div>
M
Mr.doob 已提交
17 18


J
jox81 已提交
19
		<h2>Example</h2>
M
Mr.doob 已提交
20

L
looeee 已提交
21 22 23 24 25 26 27 28
		<div>[example:webgl_geometries WebGL / geometries]</div>
		<div>[example:webgl_geometries2 WebGL / geometries2]</div>
		<div>[example:webgl_geometry_convex WebGL / geometry / convex]</div>
		<div>[example:webgl_geometry_spline_editor WebGL / geometry / spline / editor]</div>



		<code>
W
WestLangley 已提交
29 30
var axesHelper = new THREE.AxesHelper( 5 );
scene.add( axesHelper );
L
looeee 已提交
31
    </code>
M
Mr.doob 已提交
32

33
		<h2>Constructor</h2>
M
Mr.doob 已提交
34 35


L
looeee 已提交
36
		<h3>[name]( [page:Number size] )</h3>
C
cjshannon 已提交
37
		<div>
L
looeee 已提交
38
		[page:Number size] -- (optional )size of the lines representing the axes. Default is *1*.
C
cjshannon 已提交
39
		</div>
M
Mr.doob 已提交
40

L
looeee 已提交
41 42 43 44 45 46
		<h2>Properties</h2>
		<div>See the base [page:LineSegments] class for common properties.</div>

		<h2>Methods</h2>
		<div>See the base [page:LineSegments] class for common methods.</div>

47
		<h2>Source</h2>
M
Mr.doob 已提交
48

49 50 51
		[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
	</body>
</html>