移動先: 概要 戻り値 キーワード. フラグ. Python 例.
polyCacheMonitor([cacheValue=boolean], [nodeName=string])
注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。
polyCacheMonitor は 「元に戻す」が不可能、「照会」が不可能、「編集」が不可能 です。
cacheInput アトリビュートが正の値を持つ場合、midModifier ノードは出力メッシュをキャッシュして、下流ノードの計算を改善します。 カウンタの値がゼロの場合、midModifier はキャシュされたデータをリリースします。なし
ロング ネーム(ショート ネーム) | 引数型 | プロパティ | ||
---|---|---|---|---|
nodeName(nm)
|
string
|
![]() |
||
|
||||
cacheValue(chv)
|
boolean
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
import maya.cmds as cmds # increment cache counter on polyExtrudeFace1 node cmds.polyCacheMonitor( nodeName='polyExtrudeFace1' ) # update/edit manipulate nodes which are present downstream # with respect to polyExtrudeFace1 # decrement cache counter on polyExtrudeFace1 node # so that the cache is set free cmds.polyCacheMonitor( nodeName='polyExtrudeFace1', cacheValue=False )