Version: 5.5

ModelImporter.CreateDefaultMaskForClip

Switch to Manual
public void CreateDefaultMaskForClip (ModelImporterClipAnimation clip);

Parameters

clip Clip to which the mask will be applied.

Description

Creates a mask that matches the model hierarchy, and applies it to the provided ModelImporterClipAnimation.

When writing an AssetPostprocessor, use this method with your created clips to apply a mask that matches the transform hierarchy in the ModelImporter.