Version: 2020.1
言語: 日本語
public ModelImporterAvatarSetup avatarSetup ;

説明

The Avatar generation of the imported model.

This property depends on the value of ModelImporter.animationType:

- ModelImporterAnimationType.None or ModelImporterAnimationType.Legacy sets this property to ModelImporterAvatarSetup.NoAvatar because Avatar generation does not support the None or Legacy animation types.

- ModelImporterAnimationType.Generic supports any value.

- ModelImporterAnimationType.Human requires an avatar to import its animation. You must use either ModelImporterAvatarSetup.CreateFromThisModel, ModelImporterAvatarSetup.CopyFromOther or set ModelImporterAvatarSetup.autoGenerateAvatarMappingIfUnspecified to true .