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 nameParentsMFn typeCompatible function sets

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)TypeDefaultFlags
currentDriver (c) enum0outputinputstorable
Index of the current input driver
inTranslate1 (it1) double3outputinputconnectablestorable
Input translation 1
inTranslateX1 (itx1) distance (double)0.0cmoutputinputconnectablestorable
Input translate x 1
inTranslateY1 (ity1) distance (double)0.0cmoutputinputconnectablestorable
Input translate y 1
inTranslateZ1 (itz1) distance (double)0.0cmoutputinputconnectablestorable
Input translate z 1
inRotate1 (ir1) double3outputinputconnectablestorable
Input rotation 1
inRotateX1 (irx1) angle (double)0.0degoutputinputconnectablestorable
Input rotate x 1
inRotateY1 (iry1) angle (double)0.0degoutputinputconnectablestorable
Input rotate y 1
inRotateZ1 (irz1) angle (double)0.0degoutputinputconnectablestorable
Input rotate z 1
inTranslate2 (it2) double3outputinputconnectablestorable
Input translation 2
inTranslateX2 (itx2) distance (double)0.0cmoutputinputconnectablestorable
Input translate x 2
inTranslateY2 (ity2) distance (double)0.0cmoutputinputconnectablestorable
Input translate y 2
inTranslateZ2 (itz2) distance (double)0.0cmoutputinputconnectablestorable
Input translate z 2
inRotate2 (ir2) double3outputinputconnectablestorable
Input rotation 2
inRotateX2 (irx2) angle (double)0.0degoutputinputconnectablestorable
Input rotate x 2
inRotateY2 (iry2) angle (double)0.0degoutputinputconnectablestorable
Input rotate y 2
inRotateZ2 (irz2) angle (double)0.0degoutputinputconnectablestorable
Input rotate z 2
weight (w) double1.0outputinputconnectablestorablekeyable
Weight between inputs 1 and 2. Weight 0 = all input 1; weight 1 = all input 2; weight 1.5 = half of each.
rotateOrder (ro) enum0outputinputconnectablestorablehidden
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) enum0outputinputstorablekeyable
Allows output translate x to be set to only input 1, only input 2, or the blended value
translateYMode (tym) enum0outputinputstorablekeyable
Allows output translate y to be set to only input 1, only input 2, or the blended value
translateZMode (tzm) enum0outputinputstorablekeyable
Allows output translate z to be set to only input 1, only input 2, or the blended value
rotateMode (rm) enum0outputinputstorablekeyable
Allows output rotation to be set to only input 1, only input 2, or the blended value
rotInterpolation (ri) enum0outputinputstorablekeyable
Determines if rotation is caclulated by linearly interpolating between Euler rotation values, or spherically interplating between quaternion values.
outTranslate (ot) double3outputconnectable
Output translation
outTranslateX (otx) distance (double)0.0cmoutputconnectable
Output translate x
outTranslateY (oty) distance (double)0.0cmoutputconnectable
Output translate y
outTranslateZ (otz) distance (double)0.0cmoutputconnectable
Output translate z
outRotate (or) double3outputconnectable
Output rotation
outRotateX (orx) angle (double)0.0degoutputconnectable
Output rotate x
outRotateY (ory) angle (double)0.0degoutputconnectable
Output rotate y
outRotateZ (orz) angle (double)0.0degoutputconnectable
Output rotate z