Go to: Related nodes. Attributes.

The pairBlend node was designed with the goal of allowing constraints and animation to be blended. The setKeyframe command and constraint commands understand the pairBlend node and will automatically create it when the user tries to keyframe a constrained object, or vice versa.

The pairBlend supports translate and rotate inputs and outputs.
Node name Parents MFn type Compatible function sets
pairBlend node kPairBlend kBase
kNamedObject
kDependencyNode
kCreate
kPairBlend

Related nodes

blendWeighted, blendColors, blendTwoAttr

Attributes (32)

currentDriver, inRotate1, inRotate2, inRotateX1, inRotateX2, inRotateY1, inRotateY2, inRotateZ1, inRotateZ2, inTranslate1, inTranslate2, inTranslateX1, inTranslateX2, inTranslateY1, inTranslateY2, inTranslateZ1, inTranslateZ2, outRotate, outRotateX, outRotateY, outRotateZ, outTranslate, outTranslateX, outTranslateY, outTranslateZ, rotInterpolation, rotateMode, rotateOrder, translateXMode, translateYMode, translateZMode, weight

Long name (short name) Type Default Flags
currentDriver (c) enum 0 outputinputstorable
Index of the current input driver
inTranslate1 (it1) double3 outputinputconnectablestorable
Input translation 1
inTranslateX1 (itx1) distance (double) 0.0cm outputinputconnectablestorable
Input translate x 1
inTranslateY1 (ity1) distance (double) 0.0cm outputinputconnectablestorable
Input translate y 1
inTranslateZ1 (itz1) distance (double) 0.0cm outputinputconnectablestorable
Input translate z 1
inRotate1 (ir1) double3 outputinputconnectablestorable
Input rotation 1
inRotateX1 (irx1) angle (double) 0.0deg outputinputconnectablestorable
Input rotate x 1
inRotateY1 (iry1) angle (double) 0.0deg outputinputconnectablestorable
Input rotate y 1
inRotateZ1 (irz1) angle (double) 0.0deg outputinputconnectablestorable
Input rotate z 1
inTranslate2 (it2) double3 outputinputconnectablestorable
Input translation 2
inTranslateX2 (itx2) distance (double) 0.0cm outputinputconnectablestorable
Input translate x 2
inTranslateY2 (ity2) distance (double) 0.0cm outputinputconnectablestorable
Input translate y 2
inTranslateZ2 (itz2) distance (double) 0.0cm outputinputconnectablestorable
Input translate z 2
inRotate2 (ir2) double3 outputinputconnectablestorable
Input rotation 2
inRotateX2 (irx2) angle (double) 0.0deg outputinputconnectablestorable
Input rotate x 2
inRotateY2 (iry2) angle (double) 0.0deg outputinputconnectablestorable
Input rotate y 2
inRotateZ2 (irz2) angle (double) 0.0deg outputinputconnectablestorable
Input rotate z 2
weight (w) double 1.0 outputinputconnectablestorablekeyable
Weight between inputs 1 and 2. Weight 0 = all input 1; weight 1 = all input 2; weight 1.5 = half of each.
rotateOrder (ro) enum 0 outputinputconnectablestorablehidden
This attribute lets us know the order in which rx, ry, and rz are applied from the driven object so that we can output rotation values appropriately.
translateXMode (txm) enum 0 outputinputstorablekeyable
Allows output translate x to be set to only input 1, only input 2, or the blended value
translateYMode (tym) enum 0 outputinputstorablekeyable
Allows output translate y to be set to only input 1, only input 2, or the blended value
translateZMode (tzm) enum 0 outputinputstorablekeyable
Allows output translate z to be set to only input 1, only input 2, or the blended value
rotateMode (rm) enum 0 outputinputstorablekeyable
Allows output rotation to be set to only input 1, only input 2, or the blended value
rotInterpolation (ri) enum 0 outputinputstorablekeyable
Determines if rotation is calculated by linearly interpolating between Euler rotation values, or spherically interplating between quaternion values.
outTranslate (ot) double3 outputconnectable
Output translation
outTranslateX (otx) distance (double) 0.0cm outputconnectable
Output translate x
outTranslateY (oty) distance (double) 0.0cm outputconnectable
Output translate y
outTranslateZ (otz) distance (double) 0.0cm outputconnectable
Output translate z
outRotate (or) double3 outputconnectable
Output rotation
outRotateX (orx) angle (double) 0.0deg outputconnectable
Output rotate x
outRotateY (ory) angle (double) 0.0deg outputconnectable
Output rotate y
outRotateZ (orz) angle (double) 0.0deg outputconnectable
Output rotate z