Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

ModelImporterClipAnimation

Namespace: UnityEditor

Description

Animation clips to split animation into.

Variables

cycleOffsetOffset to the cycle of a looping animation, if a different time in it is desired to be the start.
firstFrameFirst frame of the clip.
heightFromFeetKeeps the feet aligned with the root transform position.
heightOffsetOffset to the vertical root position.
keepOriginalOrientationKeeps the vertical position as it is authored in the source file.
keepOriginalPositionXZKeeps the vertical position as it is authored in the source file.
keepOriginalPositionYKeeps the vertical position as it is authored in the source file.
lastFrameLast frame of the clip.
lockRootHeightYEnable to make vertical root motion be baked into the movement of the bones. Disable to make vertical root motion be stored as root motion.
lockRootPositionXZEnable to make horizontal root motion be baked into the movement of the bones. Disable to make horizontal root motion be stored as root motion.
lockRootRotationEnable to make root rotation be baked into the movement of the bones. Disable to make root rotation be stored as root motion.
loopIs the clip a looping animation?
loopPoseEnable to make the motion loop seamlessly.
loopTimeEnable to make the clip loop.
maskSourceThe AvatarMask used to mask transforms during the import process.
maskTypeDefine mask type.
mirrorMirror left and right in this clip.
nameClip name.
rotationOffsetOffset in degrees to the root rotation.
takeNameTake name.
wrapModeThe wrap mode of the animation.