移動先: 概要 戻り値 キーワード. フラグ. MEL 例.
cacheFileCombine [-cacheIndex] [-channelName string] [-connectCache string] [-keepWeights] [-layerNode] [-nextAvailable] [-object string] [-objectIndex int]
cacheFileCombine は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
指定したオブジェクトに対して複数の cacheFiles を結合、レイヤまたはブレンドするために使用できる cacheBlend ノードを作成します。
string | 作成されるキャッシュ レイヤ ノードの名前 |
戻り値の型は照会モードでは照会フラグが基になります。
cache, file, disk, blend
cacheIndex, channelName, connectCache, keepWeights, layerNode, nextAvailable, object, objectIndex
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: 1 つのコマンドで複数回使用可能なフラグ
|
// Create a cacheBlend node so that additional caches can be added to
// the shape. This will attach the existing cacheFile on the shape
// to the new cacheBlend node.
//
select -r cachedShape;
string $newBlend[] = `cacheFileCombine`;
// attach an additional cacheFile to the cacheBlend node
//
cacheFileCombine -e -cc cacheFile2 $newBlend[0];
// query the index of the newly connected cache
//
cacheFileCombine -cc cacheFile2 -q -cacheIndex $newBlend[0];
// When more than one object is driven by the caches connected
// to the cacheBlend node, the -channelName and -objectIndex flags can be
// used to control which is connected.
//
// Query the objectIndex for the armShape geometry driven by cacheBlend3:
//
string $index = `cacheFileCombine -object armShape -q -objectIndex cacheBlend3`;
// Connect another cache up to drive the armShape
//
cacheFileCombine -channelName "myChannel" -objectIndex $index -e -cc cacheFile2 cacheBlend3;