CreateDefaultMaskForClip(ModelImporterClipAnimation)
Creates a mask that matches the model hierarchy, and applies it to the provided ModelImporterClipAnimation.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public void CreateDefaultMaskForClip(ModelImporterClipAnimation clip)
Parameters
Clip to which the mask will be applied.
Remarks
When writing an AssetPostprocessor, use this method with your created clips to apply a mask that matches the transform hierarchy in the ModelImporter.