Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

ModelImporterClipAnimation.maskNeedsUpdating

Switch to Manual
public var maskNeedsUpdating: bool;

Description

Returns true when the source AvatarMask has changed. This only happens when ModelImporterClipAnimation.maskType is set to ClipAnimationMaskType.CopyFromOther To force a reload of the mask, simply set ModelImporterClipAnimation.maskSource to the desired AvatarMask.