Skip to main content

facecontroller

Face Effects dispatch the following events on the the global eid (world.events.globalId):

Events

EventDescription
faceloadingThis event is emitted when loading begins for additional face AR resources.
facescanningThis event is emitted when AR resources have been loaded and scanning has begun.
facefoundThis event is emitted when a face is first found.
faceupdatedThis event is emitted when face is subsequently found.
facelostThis event is emitted when a face is no longer being tracked.
mouthopenedThis event is emitted when a tracked face's mouth opens.
mouthclosedThis event is emitted when a tracked face's mouth closes.
lefteyeopenedThis event is emitted when a tracked face's left eye opens.
lefteyeclosedThis event is emitted when a tracked face's left eye closes.
righteyeopenedThis event is emitted when a tracked face's right eye opens.
righteyeclosedThis event is emitted when a tracked face's right eye closes.
lefteyebrowraisedThis event is emitted when a tracked face's left eyebrow is raised from its initial position when the face was found.
lefteyebrowloweredThis event is emitted when a tracked face's left eyebrow is lowered to its initial position when the face was found.
righteyebrowraisedThis event is emitted when a tracked face's right eyebrow is raised from its initial position when the face was found.
righteyebrowloweredThis event is emitted when a tracked face's right eyebrow is lowered to its initial position when the face was found.
lefteyewinkedThis event is emitted when a tracked face's left eye closes and opens within 750ms while the right eye remains open.
righteyewinkedThis event is emitted when a tracked face's right eye closes and opens within 750ms while the left eye remains open.
blinkedThis event is emitted when a tracked face's eyes blink.
interpupillarydistanceThis event is emitted when a tracked face's distance in millimeters between the centers of each pupil is first detected.
earpointfoundThis event is emitted when an ear point is found.
earpointlostThis event is emitted when an ear point is lost.