移動先: 概要 戻り値 フラグ. Python 例.
performanceOptions([clusterResolution=float], [disableStitch=string], [disableTrimDisplay=string], [latticeResolution=float], [passThroughBindSkinAndFlexors=string], [passThroughBlendShape=string], [passThroughCluster=string], [passThroughFlexors=string], [passThroughLattice=string], [passThroughPaintEffects=string], [passThroughSculpt=string], [passThroughWire=string], [useClusterResolution=string], [useLatticeResolution=string])
注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。
performanceOptions は 「元に戻す」が可能、「照会」が可能、「編集」が不可能 です。
アプリケーションのグローバル パフォーマンス オプションを設定します。オプションを使用すると、サーフェスのステッチやデフォーマなどの機能を無効にして、シーンの計算時間を短縮できます。
有効なパフォーマンス オプションは、常時オンにしたり、インタラクションのみでオンに切り替えたりすることができます。インタラクションのみでオンに切り替える場合、オプションは、UI でのインタラクション中か再生中のみで有効になります。
このパフォーマンス オプションが、レンダリングに影響しないことに注意してください。
string | 「オン」、「オフ」、「インタラクティブ」のオプションの状態を指定します |
float | グローバル解像度の値 |
戻り値の型は照会モードでは照会フラグが基になります。
clusterResolution, disableStitch, disableTrimDisplay, latticeResolution, passThroughBindSkinAndFlexors, passThroughBlendShape, passThroughCluster, passThroughFlexors, passThroughLattice, passThroughPaintEffects, passThroughSculpt, passThroughWire, useClusterResolution, useLatticeResolution
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: タプルまたはリストとして渡された複数の引数を持てるフラグ
|
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' )