Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ModelImporterClipAnimation

Namespace: UnityEditor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Animation clips to split animation into.

Variables

cycleOffset Offset to the cycle of a looping animation, if a different time in it is desired to be the start.
firstFrame First frame of the clip.
heightFromFeet Keeps the feet aligned with the root transform position.
heightOffset Offset to the vertical root position.
keepOriginalOrientation Keeps the vertical position as it is authored in the source file.
keepOriginalPositionXZ Keeps the vertical position as it is authored in the source file.
keepOriginalPositionY Keeps the vertical position as it is authored in the source file.
lastFrame Last frame of the clip.
lockRootHeightY Enable to make vertical root motion be baked into the movement of the bones. Disable to make vertical root motion be stored as root motion.
lockRootPositionXZ Enable to make horizontal root motion be baked into the movement of the bones. Disable to make horizontal root motion be stored as root motion.
lockRootRotation Enable to make root rotation be baked into the movement of the bones. Disable to make root rotation be stored as root motion.
loop Is the clip a looping animation?
loopPose Enable to make the motion loop seamlessly.
loopTime Enable to make the clip loop.
maskSource The AvatarMask used to mask transforms during the import process.
maskType Define mask type.
mirror Mirror left and right in this clip.
name Clip name.
rotationOffset Offset in degrees to the root rotation.
takeName Take name.
wrapMode The wrap mode of the animation.