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.

ModelImporterGenerateAnimations

Description

Animation generation options for ModelImporter. These options relate to the legacy Animation system, they should only be used when ModelImporter.animationType==ModelImporterAnimationType.Legacy.

See Also: ModelImporter.generateAnimations.

Variables

NoneDo not generate animations.
GenerateAnimationsDefault animation import mode (All animations are stored in the root object).
InRootGenerate animations in the transform root objects.
InOriginalRootsGenerate animations in the root objects of the animation package.
InNodesGenerate animations in the objects that animate.