InworldFacialEmotion
This scriptable object contains all the facial animation related classes.
Variable | Description |
---|---|
emotion | The list of the FacialAnimation this map stored. |
Functions | Description | Parameters |
---|---|---|
this[] | This scriptable Object also supports using [] to get the FacialAnimation | emoName: the string of the emotion name to acquire the data. |
Classes
MorphState
Module: Inworld.Assets. Namespace: Inworld.Assets.
This class represents a morph state, which defines how specific morph targets (e.g., "eyeClosed") should be adjusted to a certain weight (e.g., 0.7) when an emotion is triggered.
Variable | Description |
---|---|
morphName | The name of the blendshape morph. |
morphWeight | The target weight for the morph when an emotion is triggered. |
FacialAnimation
Module: Inworld.Assets. Namespace: Inworld.Assets.
This class stores data for mapping emotion enums to icons and a list of associated MorphStates.
Inspector Variables
Variable | Description |
---|---|
emotion | The emotion enum received from the server. |
icon | The emoji icon used for 3D Inworld characters. |
morphStates | A list of MorphStates processed for the emotion enum. |