Go to: Synopsis. Flags. Return value. Python examples.
hardwareRenderPanel(
panelName
, [camera=string], [control=boolean], [copy=string], [defineTemplate=string], [docTag=string], [edit=boolean], [exists=boolean], [glRenderEditor=boolean], [init=boolean], [isUnique=boolean], [label=string], [menuBarVisible=boolean], [needsInit=boolean], [parent=string], [popupMenuProcedure=string], [query=boolean], [replacePanel=string], [tearOff=boolean], [tearOffCopy=string], [unParent=boolean], [useTemplate=string])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
hardwareRenderPanel is undoable, queryable, and editable.
This command creates, edit and queries hardware render panels which contain
only a hardware render editor.
camera, control, copy, defineTemplate, docTag, edit, exists, glRenderEditor, init, isUnique, label, menuBarVisible, needsInit, parent, popupMenuProcedure, query, replacePanel, tearOff, tearOffCopy, unParent, useTemplate
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 have multiple arguments, passed either as a tuple or a list.
|
string
import maya.cmds as cmds
cmds.window( width=500 )
theLayout = cmds.formLayout()
theHWbuffer = cmds.hardwareRenderPanel()
cmds.formLayout( theLayout, e=True, af=((theHWbuffer, 'top', 0), (theHWbuffer, 'left', 0), (theHWbuffer, 'bottom', 0), (theHWbuffer, 'right', 0)) )
cmds.showWindow()
Return to Autodesk Index