Skip to main content
Skip table of contents

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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.