Go to: Related nodes. Attributes.

The cacheBlend node corresponds to a nonlinear track. It can contain any number of cacheFiles over time, and controls their evaluation and weighting over time.

To evaluate at a given time, the node determines which caches are active. It then does a normalized weighted blend of the active caches based on their weight and per-point cacheWeight values.
Node name Parents MFn type Compatible function sets
cacheBlend cacheBase kCacheTrack kBase
kNamedObject
kDependencyNode
kCacheBase
kCacheTrack

Related nodes

cacheFile, cacheBlend

Attributes (9)

cacheData, disableAll, end, inCache, perPtWeights, range, start, vectorArray, weight

Long name (short name) Type Default Flags
inCache (ic) compound n/a arrayoutputinputconnectablestorablehidden
Parent attribute for the input data being cached. The index of the inCache attribute indicates the index of the channel to be blended. There is a one-to-one correspondence between the inCache index and the outCacheData output index.
vectorArray (va) Generic n/a arrayoutputinputconnectablestorablehidden
The input data to be blended is attached here. The index of the vectorArray attribute corresponds to the index of the attached cache. For example, if 2 caches each with only one channel are being blended, they would be attached to: inCache[0].vectorArray[0] and inCache[0].vectorArray[1].
perPtWeights (ppw) doubleArray empty arrayoutputinputconnectablestorable
Per-point weights for the cache. If unset, treated as all 1.0. The per-point weights are multiplied by the per-cache weight attribute and normalized against the weights of any other active caches.
disableAll (da) bool 0 outputinputconnectablestorablehidden
This attribute can be used to disable the blend entirely so that it does not evaluate any of the input caches at all. It does not modify the enable attributes on the input caches themselves.
cacheData (cd) compound n/a arrayoutputinputconnectablestorablehidden
Parent attribute for per-cache data.
start (st) time 0film outputinputconnectablestorablehidden
The actual start frame for the associated inVector, taking into account holds, scales, trims, etcetera.
end (e) time 0film outputinputconnectablestorablehidden
The actual end frame for the associated inVector, taking into account holds, scales, trims, etcetera.
range (ra) bool false outputinputconnectablestorablehidden
Whether the input clip is in range.
weight (w) double 1.0 outputinputconnectablestorable
Weight for the cache. This weight will be normalized against any other caches on the track at the current time.