Skip to main content

EmotionMap

Module: Inworld.Assets. Namespace: Inworld.Assets.

This scriptable Object class maps emotion enums received from the server to animation enums for various animation components.

VariableDescription
dataThe list of the EmotionMapData this map stored.
FunctionsDescriptionParameters
this[]This scriptable Object also supports using [] to get the EmotionMapDataemoName: the string of the emotion name to acquire the data.

EmotionMapData

Module: Inworld.Assets. Namespace: Inworld.Assets.

This class stores the actual data for emotion mapping.

VariableDescription
nameThe name of the emotion enum.
bodyEmotionMaps this emotion enum to the body animation in InworldBodyAnimation.
bodyGestureMaps this emotion enum to the body animation in InworldBodyAnimation.
emoteAnimationMaps this emotion enum to the Emote animation. Used for Innequin avatars.
facialEmotionMaps this emotion enum to facial blendshape changes. Used for Ready Player Me avatars.