Go to: Synopsis. Return value. Keywords. Flags. MEL examples.
visor [-addFolder] [-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] [-refreshAllSwatches] [-refreshSelectedSwatches] [-refreshSwatch string] [-reset] [-restrictPanAndZoom boolean] [-saveSwatches] [-scrollBar string] [-scrollPercent float] [-selectedGadgets string] [-showDividers boolean] [-showFiles boolean] [-showFolders boolean] [-showNodes boolean] [-stateString] [-style string] [-transform string] [-type string]
visor is undoable, queryable, and NOT editable.
Command for the creation and manipulation of a Visor UI element. The Visor is used to display the contents of a scene (rendering related nodes in particular), as well as files on disk which the user may wish to bring into the scene (shader and texture libraries for example).string |
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-addFolder(-add)
|
|
|||
|
||||
-addNodes(-adn)
|
string
|
|||
|
||||
-allowPanningInX(-apx)
|
boolean
|
|||
|
||||
-allowPanningInY(-apy)
|
boolean
|
|||
|
||||
-allowZooming(-az)
|
boolean
|
|||
|
||||
-command(-cmd)
|
string
|
|||
|
||||
-deleteFolder(-del)
|
string
|
|||
|
||||
-editFolder(-edf)
|
string
|
|||
|
||||
-folderList(-fl)
|
string
|
|||
|
||||
-menu(-mn)
|
string
|
|||
|
||||
-name(-n)
|
string
|
|||
|
||||
-nodeType(-ntp)
|
string
|
|||
|
||||
-openDirectories(-opd)
|
boolean
|
|||
|
||||
-openFolder(-opf)
|
boolean
|
|||
|
||||
-parent(-p)
|
string
|
|||
|
||||
-path(-pth)
|
string
|
|||
|
||||
-popupMenuScript(-pms)
|
string
|
|||
|
||||
-rebuild(-re)
|
|
|||
|
||||
-refreshAllSwatches(-ras)
|
|
|||
|
||||
-refreshSelectedSwatches(-rss)
|
|
|||
|
||||
-refreshSwatch(-rs)
|
string
|
|||
|
||||
-reset(-rst)
|
|
|||
|
||||
-restrictPanAndZoom(-rpz)
|
boolean
|
|||
|
||||
-saveSwatches(-ss)
|
|
|||
|
||||
-scrollBar(-sb)
|
string
|
|||
|
||||
-scrollPercent(-sp)
|
float
|
|||
|
||||
-selectedGadgets(-sg)
|
string
|
|||
|
||||
-showDividers(-sd)
|
boolean
|
|||
|
||||
-showFiles(-sfi)
|
boolean
|
|||
|
||||
-showFolders(-sfo)
|
boolean
|
|||
|
||||
-showNodes(-sn)
|
boolean
|
|||
|
||||
-stateString(-sts)
|
|
|||
|
||||
-style(-stl)
|
string
|
|||
|
||||
-transform(-trn)
|
string
|
|||
|
||||
-type(-typ)
|
string
|
|||
|
Flag can appear in Create mode of command | Flag can appear in Edit mode of command |
Flag can appear in Query mode of command | Flag can be used more than once in a command. |
// 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.