Face3
Triangle face.
Example
var normal = new THREE.Vector3( 0, 1, 0 ); var color = new THREE.Color( 0xffaa00 ); var face = new THREE.Face3( 0, 1, 2, normal, color, 0 );
Constructor
a — Vertex A index.
b — Vertex B index.
c — Vertex C index.
normal — Face normal or array of vertex normals.
color — Face color or array of vertex colors.
materialIndex — Material index.
Properties
Vertex A index.
Vertex B index.
Vertex C index.
Face normal.
Face color.
Array of 3 vertex normals.
Array of 3 vertex colors.
Methods
Creates a new clone of the Face3 object.
Source
src/core/Face3.js
Edit