Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Blend(animation: string, targetWeight: float = 1.0F, fadeLength: float = 0.3F): void;
void Blend(string animation, float targetWeight = 1.0F, float fadeLength = 0.3F);
def Blend(animation as string, targetWeight as float = 1.0F, fadeLength as float = 0.3F) as void

Description

Blends the animation named animation towards targetWeight over the next time seconds.

Playback of other animations will not be affected.