移動先: 概要 戻り値 関連項目. Python 例.

概要

devicePanel()

注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。

devicePanel は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。

入力デバイスのアタッチメントの作成や修正に使用する、エディタを含むパネルが作成されます。

戻り値

stringパネル名

戻り値の型は照会モードでは照会フラグが基になります。

関連項目

assignInputDevice, attachDeviceAttr, detachDeviceAttr, getInputDeviceRange, getModifiers, listDeviceAttachments, listInputDeviceAxes, listInputDeviceButtons, listInputDevices, recordAttr, setAttrMapping, setInputDeviceMapping, unassignInputDevice

Python 例

import maya.cmds as cmds

# This example creates a new device panel in its own window
window = cmds.window()
cmds.paneLayout()
cmds.devicePanel()
cmds.showWindow( window )