|
@@ -13,7 +13,7 @@
|
|
<div class="desc">
|
|
<div class="desc">
|
|
Triangular face used in [page:Geometry]. These are created automatically for all
|
|
Triangular face used in [page:Geometry]. These are created automatically for all
|
|
standard geometry types, however if you are building a custom geometry you will have to
|
|
standard geometry types, however if you are building a custom geometry you will have to
|
|
- create these manually.
|
|
|
|
|
|
+ create them manually.
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
@@ -60,14 +60,14 @@ scene.add( new THREE.Mesh( geometry, material ) );
|
|
c — Vertex C index.<br /><br />
|
|
c — Vertex C index.<br /><br />
|
|
|
|
|
|
normal — (optional) Face normal ([page:Vector3 Vector3]) or array of vertex normals.
|
|
normal — (optional) Face normal ([page:Vector3 Vector3]) or array of vertex normals.
|
|
- If a single vector is passed in, this sets [page:.normal], otherwise if and array of three
|
|
|
|
|
|
+ If a single vector is passed in, this sets [page:.normal], otherwise if an array of three
|
|
vectors is passed in this sets [page:.vertexNormals]<br /><br />
|
|
vectors is passed in this sets [page:.vertexNormals]<br /><br />
|
|
|
|
|
|
color — (optional) Face [page:Color color] or array of vertex [page:Color colors].
|
|
color — (optional) Face [page:Color color] or array of vertex [page:Color colors].
|
|
- If a single vector is passed in, this sets [page:.color], otherwise if and array of three
|
|
|
|
|
|
+ If a single vector is passed in, this sets [page:.color], otherwise if an array of three
|
|
vectors is passed in this sets [page:.vertexColors]<br /><br />
|
|
vectors is passed in this sets [page:.vertexColors]<br /><br />
|
|
|
|
|
|
- materialIndex — (optional) Material index - which index of a [page:MultiMaterial] to associate
|
|
|
|
|
|
+ materialIndex — (optional) which index of a [page:MultiMaterial] to associate
|
|
with the face.
|
|
with the face.
|
|
</div>
|
|
</div>
|
|
|
|
|