source: other-projects/playing-in-the-street/summer-2013/trunk/Playing-in-the-Street-WPF/Content/Web/mrdoob-three.js-4862f5f/docs/api/extras/helpers/ArrowHelper.html@ 28897

Last change on this file since 28897 was 28897, checked in by davidb, 10 years ago

GUI front-end to server base plus web page content

File size: 1.4 KB
Line 
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
12 <div class="desc">todo</div>
13
14
15 <h2>Example</h2>
16
17 <code>var dir = new THREE.Vector3( 1, 0, 0 );
18 var origin = new THREE.Vector3( 0, 0, 0 );
19 var length = 1;
20 var hex = 0xffff00;
21
22 var arrowHelper = new THREE.ArrowHelper( dir, origin, length, hex );
23 scene.add( arrowHelper );
24 </code>
25
26
27
28 <h2>Constructor</h2>
29
30
31 <h3>[name]([page:todo dir], [page:todo origin], [page:todo length], [page:todo hex])</h3>
32 <div>
33 dir -- Vector3 -- direction from origin <br />
34 origin -- Vector3 <br />
35 length -- scalar <br />
36 hex -- hexadecimal value to define color ex:0xffff00
37 </div>
38 <div>
39 todo
40 </div>
41
42
43 <h2>Properties</h2>
44
45
46
47 <h3>.[page:Line line]</h3>
48 <div>
49 todo
50 </div>
51
52 <h3>.[page:Mesh cone]</h3>
53 <div>
54 todo
55 </div>
56
57 <h2>Methods</h2>
58
59
60
61 <h3>.setColor([page:todo hex]) [page:todo]</h3>
62 <div>
63 hex -- todo
64 </div>
65 <div>
66 todo
67 </div>
68
69 <h3>.setLength([page:todo length]) [page:todo]</h3>
70 <div>
71 length -- todo
72 </div>
73 <div>
74 todo
75 </div>
76
77 <h3>.setDirection([page:todo dir]) [page:todo]</h3>
78 <div>
79 dir -- todo
80 </div>
81 <div>
82 todo
83 </div>
84
85 <h2>Source</h2>
86
87 [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
88 </body>
89</html>
Note: See TracBrowser for help on using the repository browser.