Z.FacePaint
Inherits from Z.Group
Description
Z.FacePaint describes the data type of Face Paint objects instanced in the project Hierarchy.
This data type wraps Z.FaceFinder and Z.FaceInstance, and cannot be constructed separately.
To recreate Face Paint functionality, use the example shown in the objectType( )
function's scripting reference.
Provided by Z.FacePaint
Events
lefteyeclose |
Emitted when the FacePaint's left eye is closed. |
lefteyeopen |
Emitted when the FacePaint's left eye is opened. |
mouthclose |
Emitted when the FacePaint's mouth is closed. |
mouthopen |
Emitted when the FacePaint's mouth is opened. |
notseen |
Emitted when the given FacePaint is no longer detected in the camera feed. |
righteyeclose |
Emitted when the FacePaint's right eye is closed. |
righteyeopen |
Emitted when the FacePaint's right eye is opened. |
seen |
Emitted when the given FacePaint is detected in the camera feed. |
Functions
Inherited from Z.Group
Constructor
Functions
child(...) |
Gets the child node at the specified index. |
children( ) |
Gets the children of the group. |
clear( ) |
Removes all children from the group. |
insert(...) |
Inserts a node into the group at the specified index. |
push(...) |
Inserts a node as the last child of the group. |
remove(...) |
Removes a node from the group. |
Inherited from Z.Node
Functions
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. |