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.

AnimationState.RemoveMixingTransform

RemoveMixingTransform(mix: Transform): void;
void RemoveMixingTransform(Transform mix);
def RemoveMixingTransform(mix as Transform) as void

Description

Removes a transform which should be animated.

You can only pass transforms that have been added through AddMixingTransform function. If transform has been added as recursive, then it will be removed as recursive. Once you remove all mixing transforms added to animation state all curves become animated again. See Also: AddMixingTransform function.