source: other-projects/playing-in-the-street/summer-2013/trunk/Playing-in-the-Street-WPF/Content/Web/mrdoob-three.js-4862f5f/docs/api/objects/Mesh.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.3 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 [page:Object3D] &rarr;
11
12 <h1>[name]</h1>
13
14 <div class="desc">Base class for Mesh objects, such as [page:MorphAnimMesh] and [page:SkinnedMesh].</div>
15
16
17 <h2>Constructor</h2>
18
19 <h3>[name]( [page:Geometry geometry], [page:Material material] )</h3>
20
21 <div>
22 geometry — An instance of [page:Geometry].<br />
23 material — An instance of [page:Material] (optional).
24 </div>
25
26
27 <h2>Properties</h2>
28
29 <h3>.[page:Geometry geometry]</h3>
30
31 <div>An instance of [page:Geometry], defining the object's structure.</div>
32
33 <h3>.[page:Material material]</h3>
34
35 <div>An instance of [page:Material], defining the object's appearance. Default is a [page:MeshBasicMaterial] with wireframe mode enabled and randomised colour.</div>
36
37
38 <h2>Methods</h2>
39
40 <h3>.getMorphTargetIndexByName( [page:String name] )</h3>
41 <div>
42 name — a morph target name<br />
43 </div>
44
45 Returns the index of a morph target defined by name.
46
47 <h3>.updateMorphTargets() [page:todo]</h3>
48 <div>
49 todo
50 </div>
51
52 <h2>Source</h2>
53
54 [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
55 </body>
56</html>
Note: See TracBrowser for help on using the repository browser.