| Package | com.acapela.vaas.advanced.events |
| Class | public class MouthPositionEvent |
| Inheritance | MouthPositionEvent flash.events.Event |
MouthPositionEvent instances are dispatched by the Player class to listeners registered for SYNCHRO_MOUTH_POSITION event type.
See also
| Property | Defined by | ||
|---|---|---|---|
| jawOpen : Number [read-only]
Shortcut to upper jaw oppening
| MouthPositionEvent | ||
| lipTension : Number [read-only]
Shortcut to lip tension.
| MouthPositionEvent | ||
| mouthHeight : Number [read-only]
Shortcut to height of the mouth or lips.
| MouthPositionEvent | ||
| mouthUpturn : Number [read-only]
Shortcut to which the mouth turns up at the corners (that is, how much
it smiles).
| MouthPositionEvent | ||
| mouthWidth : Number [read-only]
Shortcut to width of the mouth or lips.
| MouthPositionEvent | ||
| position : MouthPosition
[read-only]
the complete MouthPosition corresponding to this event
| MouthPositionEvent | ||
| teethLowerVisible : Number [read-only]
Shortcut to lower teeth visibility
| MouthPositionEvent | ||
| teethUpperVisible : Number [read-only]
Shortcut to upper teeth visibility
| MouthPositionEvent | ||
| tonguePosn : Number [read-only]
Shortcut to tongue position.
| MouthPositionEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| SYNCHRO_MOUTH_POSITION : String = "synchroMouthPosition" [static]
The MouthPositionEvent.SYNCHRO_MOUTH_POSITION constant defines the value of the type property of an
synchroMouthPosition event object. | MouthPositionEvent | ||
| jawOpen | property |
jawOpen:Number [read-only]Shortcut to upper jaw oppening
Implementation public function get jawOpen():Number
| lipTension | property |
lipTension:Number [read-only]Shortcut to lip tension.
Implementation public function get lipTension():Number
| mouthHeight | property |
mouthHeight:Number [read-only]Shortcut to height of the mouth or lips.
Implementation public function get mouthHeight():Number
| mouthUpturn | property |
mouthUpturn:Number [read-only]Shortcut to which the mouth turns up at the corners (that is, how much it smiles).
Implementation public function get mouthUpturn():Number
| mouthWidth | property |
mouthWidth:Number [read-only]Shortcut to width of the mouth or lips.
Implementation public function get mouthWidth():Number
| position | property |
position:MouthPosition [read-only]the complete MouthPosition corresponding to this event
Implementation public function get position():MouthPosition
| teethLowerVisible | property |
teethLowerVisible:Number [read-only]Shortcut to lower teeth visibility
Implementation public function get teethLowerVisible():Number
| teethUpperVisible | property |
teethUpperVisible:Number [read-only]Shortcut to upper teeth visibility
Implementation public function get teethUpperVisible():Number
| tonguePosn | property |
tonguePosn:Number [read-only]Shortcut to tongue position.
Implementation public function get tonguePosn():Number
| SYNCHRO_MOUTH_POSITION | constant |
public static const SYNCHRO_MOUTH_POSITION:String = "synchroMouthPosition"
The MouthPositionEvent.SYNCHRO_MOUTH_POSITION constant defines the value of the type property of an synchroMouthPosition event object.
The synchroMouthPosition event is suitable to animate the mouth of an avatar for example.
This event has the following properties:
| Property | Description |
|---|---|
| mouthHeight | a Number representing the height of the mouth or lips. |
| mouthWidth | a Number representing the width of the mouth or lips. |
| mouthUpturn | a Number representing the mouth turns up at the corners
(that is, how much it smiles). |
| jawOpen | a Number representing the upper jaw oppening. |
| teethUpperVisible | a Number representing the upper teeth visibility. |
| teethLowerVisible | a Number representing the upper teeth visibility. |
| tonguePosn | a Number representing the tongue position. |
| lipTension | a Number representing the lip tension. |
| position | the the complete MouthPosition instance associated to this event. |
| bubbles | false |
| cancelable | false |
| target | The Player instance or the other object instance that generated it. |
See also