Python API 2.0 Reference
|
Public Member Functions | |
def | __init__ () |
def | planeColor () |
def | setPlaneColor () |
Static Public Member Functions | |
def | __new__ () |
Properties | |
color = property(...) | |
component = property(...) | |
displayCullOpposite = property(...) | |
displayCulling = property(...) | |
displayStatus = property(...) | |
displayStyle = property(...) | |
drawData = property(...) | |
drawLast = property(...) | |
isTransparent = property(...) | |
material = property(...) | |
matrix = property(...) | |
multiPath = property(...) | |
token = property(...) | |
view = property(...) | |
This class encapsulates all the information needed to fulfill a request to draw an object or part of an object. This class is used by the draw methods of MPxSurfaceShapeUI derived objects.
def OpenMayaUI.MDrawRequest.__init__ | ( | ) |
Initialize self. See help(type(self)) for accurate signature.
|
static |
Create and return a new object. See help(type) for accurate signature.
def OpenMayaUI.MDrawRequest.planeColor | ( | ) |
planeColor(table) -> int Get which color is used for the specified color table. * table (int) - color table See M3dView.colorAtIndex() for a list of color tables.
def OpenMayaUI.MDrawRequest.setPlaneColor | ( | ) |
setPlaneColor(value, table) -> self Set which color to use for the specified color table. * value (int) - index into the color table * table (int) - color table See M3dView.colorAtIndex() for a list of color tables.
|
static |
The RGBA wireframe display color.
|
static |
An optional component. If set draw the components that are specified, otherwise draw all components of this type for the object.
|
static |
The state of the culling flag for the object.
|
static |
The state of the opposite culling flag for the object.
|
static |
The state of object (active, dormant, etc.). See M3dView.displayStatus() for a list of display status.
|
static |
How the object should be drawn (wireframe, shaded, etc.). See M3dView.displayStyle() for a list of display styles.
|
static |
The object specific draw data.
|
static |
The order in which this object will be drawn.
|
static |
The transparency state of the object.
|
static |
The shaded material.
|
static |
The draw matrix.
|
static |
The path to the object to be drawn.
|
static |
The user-defined draw token for this request. The token is used to identify a particular part of an object to draw. It is also used to distinguish draw requests generated by derived UI objects from those generated by base classes. It some cases, it provides a way of indicating that a component should be displayed without creating a component MObject.
|
static |
The view where drawing will be done.