ジャンプ先: 概要. 戻り値. キーワード. フラグ. 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
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
コマンド内でフラグを複数回使用できます。
|
// 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;