FaceTrackingEvent
Lens Studio v1.5.0+
Scripting Name: FaceTrackingEvent
Inherits from SceneEvent
Child Classes: BrowsLoweredEvent
, BrowsRaisedEvent
, BrowsReturnedToNormalEvent
, FaceFoundEvent
, FaceLostEvent
, KissFinishedEvent
, KissStartedEvent
, MouthClosedEvent
, MouthOpenedEvent
, SmileFinishedEvent
, SmileStartedEvent
Description
This is the base class for all face tracking events. This event won’t actually get triggered itself, so use one of the child classes instead.
Properties
faceIndex
: Number
The index of the face this event is tracking. Change this value to control which face the event tracks.
Inherited Methods
bind(function evCallback)
: void
Binds a callback function to this event.
getTypeName()
: String
Returns the typename of the SceneEvent.
getTypeName()
: String
Returns the name of this object’s type.
isOfType(String type)
: Boolean
Returns true if the object matches or derives from the passed in type.
Inherited Properties
enabled
: Boolean
If true, the event is able to trigger. If false, the event will not trigger.
Still Looking for help?
Visit Support