ジャンプ先: 概要. 戻り値. 関連. フラグ. Python 例.
listInputDevices([free=boolean], [primary=boolean], [secondary=boolean])
注: オブジェクトの名前と引数を表す文字列は、カンマで区切る必要があります。これはシノプシスに示されていません。
listInputDevices は、取り消し可能、照会不可能、および編集不可能です。
Maya が認識しているすべての入力デバイスがすべてリスト表示されます。
assignInputDevice, attachDeviceAttr, detachDeviceAttr, devicePanel, getInputDeviceRange, getModifiers, listDeviceAttachments, listInputDeviceAxes, listInputDeviceButtons, recordAttr, setAttrMapping, setInputDeviceMapping, unassignInputDevice
free, primary, secondary
フラグはコマンドの作成モードで表示できます
|
フラグはコマンドの編集モードで表示できます
|
フラグはコマンドの照会モードで表示できます
|
フラグに複数の引数を指定し、タプルまたはリストとして渡すことができます。
|
import maya.cmds as cmds
# Returns a list of devices.
cmds.listInputDevices()