|
@@ -1,26 +1,38 @@
|
|
|
|
+[page:Object3D] →
|
|
<h1>[name]</h1>
|
|
<h1>[name]</h1>
|
|
|
|
|
|
-<div class="desc">todo</div>
|
|
|
|
|
|
+<div class="desc">Base class for Mesh objects, such as [page:MorphAnimMesh] and [page:SkinnedMesh].</div>
|
|
|
|
|
|
|
|
|
|
<h2>Constructor</h2>
|
|
<h2>Constructor</h2>
|
|
|
|
|
|
-<h3>[name]()</h3>
|
|
|
|
|
|
+<h3>[name]( [page:Geometry geometry], [page:Material material] )</h3>
|
|
|
|
|
|
|
|
+<div>
|
|
|
|
+geometry — An instance of [page:Geometry].<br />
|
|
|
|
+material — An instance of [page:Material] (optional).
|
|
|
|
+</div>
|
|
|
|
|
|
<h2>Properties</h2>
|
|
<h2>Properties</h2>
|
|
|
|
|
|
-<h3>.[page:Vector3 todo]</h3>
|
|
|
|
|
|
+<h3>.[page:Geometry geometry]</h3>
|
|
|
|
+
|
|
|
|
+<div>An instance of [page:Geometry], defining the object's structure.</div>
|
|
|
|
|
|
|
|
+<h3>.[page:Material material]</h3>
|
|
|
|
+
|
|
|
|
+<div>An instance of [page:Material], defining the object's appearance. Default is a [page:MeshBasicMaterial] with wireframe mode enabled and randomised colour.</div>
|
|
|
|
|
|
<h2>Methods</h2>
|
|
<h2>Methods</h2>
|
|
|
|
|
|
-<h3>.todo( [page:Vector3 todo] )</h3>
|
|
|
|
|
|
+<h3>.getMorphTargetIndexByName( [page:String name] )</h3>
|
|
<div>
|
|
<div>
|
|
-todo — todo<br />
|
|
|
|
|
|
+name — a morph target name<br />
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
+Returns the index of a morph target defined by name.
|
|
|
|
+
|
|
|
|
|
|
<h2>Source</h2>
|
|
<h2>Source</h2>
|
|
|
|
|
|
-[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
|
|
|
|
|
+[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|