Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateDefaultMaskForClip(ModelImporterClipAnimation)

Creates a mask that matches the model hierarchy, and applies it to the provided ModelImporterClipAnimation.
Read time 1 minuteLast updated 4 days ago

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.