Constructs a new FaceMesh.
The indices of the mesh.
The normals of the mesh.
The UVs of the mesh.
The vertices of the mesh.
Destroys the face mesh.
Loads the data for a face mesh.
A URL or ArrayBuffer of the source mesh data.
If true, fills this face feature with polygons.
If true, fills this face feature with polygons.
If true, fills this face feature with polygons.
If true, fills this face feature with polygons.
A promise that's resolved once the data is loaded.
Loads the default face mesh data.
A promise that's resolved once the data is loaded.
Loads the default face mesh.
If true, fills this face feature with polygons.
If true, fills this face feature with polygons.
If true, fills this face feature with polygons.
A promise that's resolved once the data is loaded.
The full head simplified mesh covers the whole of the user's head, including some neck. It's ideal for drawing into the depth buffer in order to mask out the back of 3D models placed on the user's head.
If true, fills this face feature with polygons.
If true, fills this face feature with polygons.
If true, fills this face feature with polygons.
If true, fills this face feature with polygons.
A promise that's resolved once the data is loaded.
Update the face mesh directly from a FaceAnchor.
The face anchor.
Pass true
to mirror the location in the X-axis.
Updates the face mesh directly from a identity and expression coefficients.
The identity coefficients.
The expression coefficients.
Pass true
to mirror the location in the X-axis.
Generated using TypeDoc
A mesh that fits to the user's face and deforms as the user's expression changes.
https://docs.zap.works/universal-ar/javascript/face-tracking/