Z.FaceInstance

Inherits from Z.Base

Description

When a face is detected by a FaceFinder, a FaceInstance is created.

Provided by Z.FaceInstance

Enumerations

AttachmentPoint The attachment points supported by a Face Instance.

Events

lefteyeclose Emitted when the FaceInstance's left eye is closed.
lefteyeopen Emitted when the FaceInstance's left eye is opened.
mouthclose Emitted when the FaceInstance's mouth is closed.
mouthopen Emitted when the FaceInstance's mouth is opened.
notseen Emitted when the given FaceInstance is no longer detected in the camera feed.
righteyeclose Emitted when the FaceInstance's right eye is closed.
righteyeopen Emitted when the FaceInstance's right eye is opened.
seen Emitted when the given FaceInstance is detected in the camera feed.

Functions

attachmentPoint(...) Returns a node that content can be placed relative to.
objectType( ) Describes a 3D object which adapts to the shape of the user's face, and deforms to movement.

Inherited from Z.Base

Functions

emit(...) Calls the handler functions attached to an event.
hasTag(...) Returns true if this object has the specified tag.
off(...) Removes a handler function from an event.
on(...) Attaches a handler function to an event.
one(...) Attaches a single-use handler function to an event.
pushTag(...) Adds a tag to this object.
removeTag(...) Removes a tag from this object.
tags( ) Gets an array of the tags that this object belongs to.
tags(...) Sets the array of the tags that this object belongs to.
zapcode branded_zapcode i