移動先: 概要 戻り値 キーワード. フラグ. Python 例.
renderPassRegistry([channels=int], [isPassSupported=boolean], [passID=string], [passName=boolean], [renderer=string], [supportedChannelCounts=boolean], [supportedDataTypes=boolean], [supportedPassSemantics=boolean], [supportedRenderPassNames=boolean], [supportedRenderPasses=boolean])
注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。
renderPassRegistry は 「元に戻す」が不可能、「照会」が不可能、「編集」が不可能 です。
レンダー パスと関連する照会情報。
render, pass
channels, isPassSupported, passID, passName, renderer, supportedChannelCounts, supportedDataTypes, supportedPassSemantics, supportedRenderPassNames, supportedRenderPasses
: コマンドの作成モードで使用可能なフラグ
|
: コマンドの編集モードで使用可能なフラグ
|
: コマンドの照会モードで使用可能なフラグ
|
: タプルまたはリストとして渡された複数の引数を持てるフラグ
|
import maya.cmds as cmds
# Get supported channel counts supported by renderer mentalRay and the passID "DIFF".
cmds.renderPassRegistry(passID='DIFF',renderer='mentalRay', supportedChannelCounts=True)
#
# Get supported data types supported by renderer mentalRay, the passID "DIFF" and the channels "3".
cmds.renderPassRegistry(passID='DIFF', renderer='mentalRay', channels=3, supportedDataTypes=True)