import * as Zappar from '@zappar/zappar'; import * as THREE from 'three'; /** * The features which may be filled with polygons. * @property fillMouth - If true, fills this face feature with polygons. * @property fillEyeLeft - If true, fills this face feature with polygons. * @property fillEyeRight - If true, fills this face feature with polygons. * @property fillNeck - If true, fills this face feature with polygons. */ export interface FaceBufferGeometryOptions { fillMouth?: boolean; fillEyeLeft?: boolean; fillEyeRight?: boolean; fillNeck?: boolean; } export declare class FaceBufferGeometry extends THREE.BufferGeometry { private _generator; private _hasSetIndices; private _hasSetUVs; private _vertices; private _verticesAttribute; private _normals; private _normalsAttribute; private _recalculateNormals; constructor(); loadFullHeadSimplified(options?: FaceBufferGeometryOptions): Promise; loadDefaultFace(options?: FaceBufferGeometryOptions): Promise; loadDefault(): Promise; private _updateIndices; private _updateUVs; /** * @ignore */ get calculateNormals(): boolean; /** * @ignore */ set calculateNormals(b: boolean); updateFromFaceAnchor(f: Zappar.FaceAnchor, mirror: boolean): void; updateFromIdentityExpression(identity: Float32Array, expression: Float32Array, mirrored: boolean): void; }