Python API 2.0 Reference
|
Public Member Functions | |
def | __init__ () |
Static Public Member Functions | |
def | __new__ () |
Static Public Attributes | |
int | kComponent = 2 |
int | kEdge = 4 |
int | kFace = 3 |
int | kNone = 0 |
int | kObject = 1 |
int | kVertex = 5 |
Properties | |
selectionLevel = property(...) | |
This class gives control on the viewport 2.0 selection behavior.
def OpenMayaRender.MSelectionContext.__init__ | ( | ) |
Initialize self. See help(type(self)) for accurate signature.
|
static |
Create and return a new object. See help(type) for accurate signature.
|
static |
The selection level used to pick items. kNone No selection available. kObject Object level. Objects are selected as a whole. Components are not directly accessible. kComponent Component level. Components such as vertices, edges and faces are selectable. Selection level of each individual MIntersection object is determined by primitive type of the render item. kFace Face level. kEdge Edge level. kVertex Vertex level.