|
AvatarReady
|
Facial animation feature - API, set values (blendshapes / action units / visemes / emotions) More...
Classes | |
| class | BlendshapeData |
Public Member Functions | |
| void | SetBlendshape (string blendshapeName, float weight) |
| Call this method every frame to set the Blendshape to the given weight. The weight is between 0 and 100. | |
| void | SetActionUnit (ActionUnits actionUnit, float weight) |
| Call this method every frame to set the ActionUnit to the given weight. The weight is between 0 and 100. | |
| void | SetEmotion (Emotions emotion, float weight) |
| Call this method every frame to set the Emotion to the given weight. The weight is between 0 and 100. | |
| void | SetViseme (Visemes viseme, float weight) |
| Call this method every frame to set the Viseme to the given weight. The weight is between 0 and 100. | |
| void | SetViseme (float[] visemesWeights) |
| Call this method every frame to set all the Visemes to their given weights. The weight is between 0 and 1. | |
| override void | InitFeature (AvatarReady avatar) |
| Initialize the feature. | |
Public Member Functions inherited from Inria.Avatar.AvatarReady.AvatarFeature | |
| virtual void | ResetFeature () |
Protected Member Functions | |
| virtual void | AwakeData () |
Private Attributes | |
| AvatarReady | avatarReady |
| List< SkinnedMeshRenderer > | skinnedMeshRenderers |
| Dictionary< string, BlendshapeData > | blendshapesWeight = new Dictionary<string, BlendshapeData>() |
| readonly Dictionary< Emotions, List< Tuple< ActionUnits, float > > > | emotionToActionUnits |
| Link between an Emotion and the corresponding ActionUnits (with associated Intensity) | |
| Animator | animator |
| float | nextBlink |
| Transform | leftEye |
| Transform | rightEye |
| Vector3 | leftInitialRotation |
| Vector3 | rightInitialRotation |
| float | nextEyeMovement |
| float | nextMicroExpressionPulse |
| bool | launchedContinuousCoroutine = false |
Facial animation feature - API, set values (blendshapes / action units / visemes / emotions)
Facial animation feature - Main logic.
Facial animation feature - Data.
Facial animation feature - behaviour calls.
|
inlinevirtual |
Initialize the feature.
| avatar | Avatar Ready Component on which the feature is initialized |
Reimplemented from Inria.Avatar.AvatarReady.AvatarFeature.