C# Class UnityEditor.ModelImporter

Model importer lets you modify import settings from editor scripts.

Inheritance: AssetImporter
显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Private Properties

Property Type Description
CalculateBestFittingPreviewGameObject string
GetPreviewAnimationClipForTake UnityEngine.AnimationClip
INTERNAL_get_humanDescription void
INTERNAL_set_humanDescription void
UpdateSkeletonPose void
UpdateTransformMask void

Public Methods

Method Description
CreateDefaultMaskForClip ( ModelImporterClipAnimation clip ) : void

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

Private Methods

Method Description
CalculateBestFittingPreviewGameObject ( ) : string
GetPreviewAnimationClipForTake ( string takeName ) : AnimationClip
INTERNAL_get_humanDescription ( HumanDescription &value ) : void
INTERNAL_set_humanDescription ( HumanDescription &value ) : void
UpdateSkeletonPose ( SkeletonBone skeletonBones, UnityEditor.SerializedProperty serializedProperty ) : void
UpdateTransformMask ( AvatarMask mask, UnityEditor.SerializedProperty serializedProperty ) : void

Method Details

CreateDefaultMaskForClip() public method

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

public CreateDefaultMaskForClip ( ModelImporterClipAnimation clip ) : void
clip ModelImporterClipAnimation Clip to which the mask will be applied.
return void