Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

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

ChildMotion

struct in UnityEditor.Animations

Description

Structure that represents a motion in the context of its parent blend tree.

Properties

cycleOffsetNormalized time offset of the child.
directBlendParameterThe parameter used by the child when used in a BlendTree of type BlendTreeType.Direct.
mirrorMirror of the child.
motionThe motion itself.
positionThe position of the child. Used in 2D blend trees.
thresholdThe threshold of the child. Used in 1D blend trees.
timeScaleThe relative speed of the child.

Did you find this page useful? Please give it a rating: