Go to: Related nodes. Attributes.
The formulaic version of this node:
pcPrev = blender * input[0] + (1-blender)*previewData(time)
output = deviceBlend * deviceValue + (1-deviceBlend) * pcPrev
where previewData(time) represents the lookup in data of the current
preview value based on time, data, timeStamp, et. al. The previewData
value is a linear interpolation at the current time.
In order to support correct unit conversion the input and ouput
connections have angular, linear, and unitless versions. Evaluation
of an output draws input values only from the input attribute
of the matching type.
The effect on the node's behavior can be seen by substituting inputLinear
and outputLinear or inputAngle and outputAngle in the equations above
for input and output, respectively.
Notes:
While each of the inputs is a multi attribute, only the 0th entry
is ever considered in evaluating the output value.
Remember that device data is considered to be in internal unit and
is not subject to unit conversion. Thus if a rotational device channel
is attached to a linear attribute, the rotations in radian will be assigned
to the linear unit in cm.
Preview data is not stored in a saved filed.
While this node could possibly be used for other purposes
than functioning as the arbiter of various device and animation
data, it is not supported for use in any other role.
Node name | Parents | MFn type | Compatible function sets |
---|---|---|---|
blendDevice | blend | kBlendDevice | kBase kNamedObject kDependencyNode kBlend kBlendDevice |
plusMinusAverage, reverse, vectorProduct, chooser, choice, blend, blendTwoAttr, blendWeighted
blender, data, deviceBlender, deviceValue, inputAngle, inputLinear, minTime, offset, outputAngle, outputLinear, period, stride, time, timeStamp
Long name (short name) | Type | Default | Flags | ||
---|---|---|---|---|---|
time
(t )
| time | 0film | |||
deviceValue
(dv )
| double | 0.0 | |||
deviceBlender
(db )
| float | 0.0 | |||
inputAngle
(ia )
| angle (double) | 0.0deg | |||
outputAngle
(oa )
| angle (double) | 0.0deg | |||
inputLinear
(il )
| distance (double) | 0.0cm | |||
outputLinear
(ol )
| distance (double) | 0.0cm | |||
blender
(b )
| float | 1.0 | |||
minTime
(mnt )
| double | 0.0 | |||
period
(p )
| double | 0.0 | |||
timeStamp
(ts )
| doubleArray | empty | |||
data
(d )
| doubleArray | empty | |||
stride
(st )
| integer | 1 | |||
offset
(off )
| integer | 0 | |||