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 nameParentsMFn typeCompatible function sets
cacheBlendcacheBasekCacheTrackkBase
kNamedObject
kDependencyNode
kCacheBase
kCacheTrack

Related nodes

cacheFile, cacheBlend

Attributes (9)

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

Long name (short name)TypeDefaultFlags
cacheData (cd) compoundn/aarrayoutputinputconnectablestorablehidden
Parent attribute for per-cache data.
start (st) time0filmoutputinputconnectablestorablehidden
The actual start frame for the associated inVector, taking into account holds, scales, trims, etcetera.
end (e) time0filmoutputinputconnectablestorablehidden
The actual end frame for the associated inVector, taking into account holds, scales, trims, etcetera.
range (ra) boolfalseoutputinputconnectablestorablehidden
Whether the input clip is in range.
weight (w) double1.0outputinputconnectablestorable
Weight for the cache. This weight will be normalized against any other caches on the track at the current time.
disableAll (da) bool0outputinputconnectablestorablehidden
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.
inCache (ic) compoundn/aarrayoutputinputconnectablestorablehidden
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) Genericn/aarrayoutputinputconnectablestorablehidden
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) doubleArrayemptyarrayoutputinputconnectablestorable
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.