移動先: 概要 戻り値 キーワード. フラグ. Python 例.
visor([addFolder=boolean], [addNodes=string], [allowPanningInX=boolean], [allowPanningInY=boolean], [allowZooming=boolean], [command=string], [deleteFolder=string], [editFolder=string], [folderList=string], [menu=string], [name=string], [nodeType=string], [openDirectories=boolean], [openFolder=boolean], [parent=string], [path=string], [popupMenuScript=string], [rebuild=boolean], [refreshAllSwatches=boolean], [refreshSelectedSwatches=boolean], [refreshSwatch=string], [reset=boolean], [restrictPanAndZoom=boolean], [saveSwatches=boolean], [scrollBar=string], [scrollPercent=float], [selectedGadgets=string], [showDividers=boolean], [showFiles=boolean], [showFolders=boolean], [showNodes=boolean], [stateString=boolean], [style=string], [transform=string], [type=string])
注意: オブジェクト名や引数を表す文字列はカンマで区切ります。これは概要には示されていません。
visor は 「元に戻す」が可能、「照会」が可能、「編集」が不可能 です。
バイザー(Visor)の UI 要素を作成または操作します。バイザーを使用して、シーンの内容、特にレンダリング関連ノードを表示し、またシェーダ ライブラリやテクスチャ ライブラリなど、ディスク上にあるファイルをシーンに読み込んで表示します。string |
戻り値の型は照会モードでは照会フラグが基になります。
ロング ネーム(ショート ネーム) | 引数型 | プロパティ | ||
---|---|---|---|---|
reset(rst)
|
boolean
|
![]() ![]() |
||
|
||||
addFolder(add)
|
boolean
|
![]() ![]() |
||
|
||||
deleteFolder(deleteFolder)
|
string
|
![]() ![]() |
||
|
||||
addNodes(adn)
|
string
|
![]() ![]() |
||
|
||||
openFolder(opf)
|
boolean
|
![]() ![]() |
||
|
||||
openDirectories(opd)
|
boolean
|
![]() ![]() |
||
|
||||
editFolder(edf)
|
string
|
![]() ![]() |
||
|
||||
name(n)
|
string
|
![]() ![]() |
||
|
||||
parent(p)
|
string
|
![]() ![]() |
||
|
||||
command(cmd)
|
string
|
![]() ![]() |
||
|
||||
transform(trn)
|
string
|
![]() ![]() |
||
|
||||
nodeType(ntp)
|
string
|
![]() ![]() |
||
|
||||
path(pth)
|
string
|
![]() ![]() |
||
|
||||
rebuild(re)
|
boolean
|
![]() ![]() |
||
|
||||
scrollBar(sb)
|
string
|
![]() ![]() |
||
|
||||
stateString(sts)
|
boolean
|
![]() ![]() |
||
|
||||
scrollPercent(sp)
|
float
|
![]() ![]() |
||
|
||||
type(typ)
|
string
|
![]() ![]() |
||
|
||||
menu(mn)
|
string
|
![]() ![]() |
||
|
||||
style(stl)
|
string
|
![]() ![]() |
||
|
||||
allowZooming(az)
|
boolean
|
![]() ![]() |
||
|
||||
allowPanningInX(apx)
|
boolean
|
![]() ![]() |
||
|
||||
allowPanningInY(apy)
|
boolean
|
![]() ![]() |
||
|
||||
showFolders(sfo)
|
boolean
|
![]() ![]() |
||
|
||||
showNodes(sn)
|
boolean
|
![]() ![]() |
||
|
||||
showFiles(sfi)
|
boolean
|
![]() ![]() |
||
|
||||
showDividers(sd)
|
boolean
|
![]() ![]() |
||
|
||||
popupMenuScript(pms)
|
string
|
![]() ![]() |
||
|
||||
selectedGadgets(sg)
|
string
|
![]() |
||
|
||||
folderList(fl)
|
string
|
![]() |
||
|
||||
restrictPanAndZoom(rpz)
|
boolean
|
![]() ![]() |
||
|
||||
saveSwatches(ss)
|
boolean
|
![]() ![]() |
||
|
||||
refreshAllSwatches(ras)
|
boolean
|
![]() ![]() |
||
|
||||
refreshSelectedSwatches(rss)
|
boolean
|
![]() ![]() |
||
|
||||
refreshSwatch(rs)
|
string
|
![]() ![]() |
||
|
![]() |
![]() |
![]() |
![]() |
import maya.cmds as cmds # The visor command is not one which would commonly be used by the user. # For examples of its use, refer to visorPanel.mel and addVisorFolders.mel.