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.

var maskSource: AvatarMask;
AvatarMask maskSource;
maskSource as AvatarMask

Description

The AvatarMask used to mask transforms during the import process.

A mask can be used to discard transform when importing a clip to reduce memory footprint for this clip. A source mask is only needed if ModelImporterClipAnimation.maskType is set to ClipAnimationMaskType.CopyFromOther See Also: ClipAnimationMaskType.