ImvuAnimator

Description: Both the avatar GameObject and the associated attachment GameObjects will be assigned a ImvuAnimator component, which lets you control the animations on that avatar or attachement.

Methods:

  • void SetBlinksActive(bool state) - Enables or disables the blink animation. The Automatically run blink animations option will determine whether blinks are active by default, but this function will allow you to toggle this at runtime. Note that if you want to enable or disable blinking on the avatar and all it's attachements at once, you should use the function on AssetInfo. This function allows you to toggle it for just the avatar or a specific attachment. Blinking is most often relevant only for the avatar, but some attachments, particularly pets, may also have the ability to blink.
  • bool GetBlinksActive() - Returns true if the blink animations are currently active on this avatar or attachment.
  • bool HasIdleActions() - Returns true if this avatar or attachment has idle animations.
  • void SetDefaultIdlesActive(bool state) - Enables or disables the idle animations. The Automatically run idle animations option will determine whether idles are active by default, but this function will allow you to toggle this at runtime. Note that if you want to enable or disable idles on all attachments at once, you should use the function on AssetInfo. This function allows you to toggle it for just a specific attachment. For now, idles do not function on the main avatar, only on attachments.
  • bool GetDefaultIdlesActive() - Returns true if the idle animations are currently active for this avatar or attachment.
  • bool IsActive() - Returns true if any animations are currently active for this avatar or attachment.
  • void Reset() - Reset all active animations to the first frame of the first clip.
  • bool IsPaused() - Returns true if the animations are currently paused on this avatar or attachement.
  • void SetPaused() - Pauses or unpauses all animations on this avatar or attachment.