Version: 2023.2
언어: 한국어

ModelImporter

class in UnityEditor

/

다음으로부터 상속:AssetImporter

매뉴얼로 전환

설명

Model importer lets you modify model import settings from editor scripts.

Settings of this class match the ones exposed in Mesh Import Settings.

변수

addColliderAdd mesh colliders to imported meshes.
animationCompressionAnimation compression setting.
animationPositionErrorAllowed error of animation position compression.
animationRotationErrorAllowed error of animation rotation compression.
animationScaleErrorAllowed error of animation scale compression.
animationTypeAnimator generation mode.
animationWrapModeThe default wrap mode for the generated animation clips.
autoGenerateAvatarMappingIfUnspecifiedGenerate auto mapping if no avatarSetup is provided when importing humanoid animation.
avatarSetupThe Avatar generation of the imported model.
bakeAxisConversionComputes the axis conversion on geometry and animation for Models defined in an axis system that differs from Unity's (left handed, Z forward, Y-up). When enabled, Unity transforms the geometry and animation data in order to convert the axis. When disabled, Unity transforms the root GameObject of the hierarchy in order to convert the axis.
bakeIKBake Inverse Kinematics (IK) when importing.
clipAnimationsAnimation clips to split animation into. Additional resources: ModelImporterClipAnimation.
defaultClipAnimationsGenerate a list of all default animation clip based on TakeInfo.
extraExposedTransformPathsAnimation optimization setting.
extraUserPropertiesA list of default FBX properties to treat as user properties during OnPostprocessGameObjectWithUserProperties.
fileScaleScaling factor used when useFileScale is set to true (Read-only).
generateAnimationsAnimation generation options.
generateSecondaryUVGenerate secondary UV set for lightmapping.
globalScaleGlobal scale factor for importing.
humanDescriptionThe human description that is used to generate an Avatar during the import process.
humanoidOversamplingControls how much oversampling is used when importing humanoid animations for retargeting.
importAnimatedCustomPropertiesImport animated custom properties from file.
importAnimationImport animation from file.
importBlendShapeDeformPercentImport BlendShapes deform percent.
importBlendShapeNormalsBlend shape normal import options.
importBlendShapesControls import of BlendShapes.
importCamerasControls import of cameras. Basic properties like field of view, near plane distance and far plane distance can be animated.
importConstraintsImport animation constraints.
importedTakeInfosGenerates the list of all imported take.
importLightsControls import of lights. Note that because light are defined differently in DCC tools, some light types or properties may not be exported. Basic properties like color and intensity can be animated.