AcModule
The AcModule class controls the facial animations of a character. It provides methods to set the character's mood, the intensity of their facial movements, and the speed and frequency of those animations.
Methods
public void SetMood(string mood)
Description: Sets the character's mood.
Parameters:
string mood: A string representing the desired mood. Allowed values are 'neutral', 'positive', 'negative', 'acknowledge', and 'thinking'.
public void SetScale(float scale)
Description: Adjusts the scale of the facial animations. A higher value results in more pronounced movements.
Parameters:
float scale: The animation scale, typically a value between 0 and 2.
public void SetFrequency(float frequency)
Description: Sets the frequency of animation changes. A higher value causes animations to change more rapidly.
Parameters:
float frequency: The animation frequency, typically a value between 0 and 2.
public void SetSpeed(float speed)
Description: Controls the playback speed of animations. A higher value makes animations play faster.
Parameters:
float speed: The animation speed, typically a value between 0 and 2.