ジャンプ先: 概要. 戻り値. フラグ. Python 例.
performanceOptions([clusterResolution=float], [disableStitch=string], [disableTrimDisplay=string], [latticeResolution=float], [passThroughBindSkinAndFlexors=string], [passThroughBlendShape=string], [passThroughCluster=string], [passThroughDeltaMush=string], [passThroughFlexors=string], [passThroughLattice=string], [passThroughPaintEffects=string], [passThroughSculpt=string], [passThroughWire=string], [skipHierarchyTraversal=boolean], [useClusterResolution=string], [useLatticeResolution=string])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
performanceOptions は、取り消し可能、照会可能、および編集不可能です。
アプリケーションのグローバル パフォーマンス オプションを設定します。オプションを使用すると、サーフェスのステッチやデフォーマなどの機能を無効にして、シーンの計算時間を短縮できます。 有効なパフォーマンス オプションは、常時オンにしたり、インタラクションのみでオンに切り替えたりすることができます。インタラクションのみでオンに切り替える場合、オプションは、UI でのインタラクション中か再生中のみで有効になります。 このパフォーマンス オプションが、レンダリングに影響しないことに注意してください。| string | 「オン」、「オフ」、「インタラクティブ」のオプションの状態を指定します |
| float | グローバル解像度の値 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
| ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
|---|---|---|---|---|
clusterResolution(cr)
|
float
|
|
||
|
||||
disableStitch(ds)
|
string
|
|
||
|
||||
disableTrimDisplay(dt)
|
string
|
|
||
|
||||
latticeResolution(lr)
|
float
|
|
||
|
||||
passThroughBindSkinAndFlexors(pbf)
|
string
|
|
||
|
||||
passThroughBlendShape(pbs)
|
string
|
|
||
|
||||
passThroughCluster(pc)
|
string
|
|
||
|
||||
passThroughDeltaMush(pdm)
|
string
|
|
||
|
||||
passThroughFlexors(pf)
|
string
|
|
||
|
||||
passThroughLattice(pl)
|
string
|
|
||
|
||||
passThroughPaintEffects(pp)
|
string
|
|
||
|
||||
passThroughSculpt(ps)
|
string
|
|
||
|
||||
passThroughWire(pw)
|
string
|
|
||
|
||||
skipHierarchyTraversal(sht)
|
boolean
|
|
||
|
||||
useClusterResolution(ucr)
|
string
|
|
||
|
||||
useLatticeResolution(ulr)
|
string
|
|
||
|
||||
import maya.cmds as cmds # Disable the generation of stitch surfaces cmds.performanceOptions( ds=1 ) # Put sculpt deformers into pass-through mode during interaction/playback cmds.performanceOptions( ps='interactive' )