Version: 2019.1

ModelImporter.CreateDefaultMaskForClip

Switch to Manual
public void CreateDefaultMaskForClip (ModelImporterClipAnimation clip);

Parameters

clipClip 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.