ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.

概要

displayCull( [objects] , [backFaceCulling=boolean])

注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。

displayCull は、取り消し可能、照会可能、および 編集不可能 です。

サーフェスのバックフェースのカリング プロパティ表示が設定されます。

戻り値

なし

照会モードでは、戻り値のタイプは照会されたフラグに基づきます。

関連

currentUnit, displayAffected, displayColor, displayLevelOfDetail, displayPref, displayRGBColor, displaySmoothness, displayStats, displaySurface, hide, refresh, showHidden, toggle

フラグ

backFaceCulling
ロング ネーム(ショート ネーム) 引数タイプ プロパティ
backFaceCulling(bfc) boolean createquery
バック フェースのカリングを有効化/無効化します。

フラグはコマンドの作成モードで表示できます フラグはコマンドの編集モードで表示できます
フラグはコマンドの照会モードで表示できます フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。

Python 例

import maya.cmds as cmds

cmds.displayCull( bfc=True )
cmds.displayCull( bfc=False )
cmds.displayCull( q=True, bfc=True )
# Returns 0 if the back-face-culling on the selected object is false.
# Returns 1 if the back-face-culling on the selected object is true.