|
Python API 2.0 Reference
|
Inheritance diagram for OpenMayaRender.MSelectionInfo:Public Member Functions | |
| def | __init__ () |
| def | selectForHilite () |
| def | selectable () |
| def | selectableComponent () |
Static Public Member Functions | |
| def | __new__ () |
Properties | |
| alignmentMatrix = property(...) | |
| cursorPoint = property(...) | |
| isRay = property(...) | |
| isSingleSelection = property(...) | |
| localRay = property(...) | |
| pointSnapping = property(...) | |
| selectClosest = property(...) | |
| selectOnHilitedOnly = property(...) | |
| selectRect = property(...) | |
This class gives informations on the selection.
| def OpenMayaRender.MSelectionInfo.__init__ | ( | ) |
Initialize self. See help(type(self)) for accurate signature.
|
static |
Create and return a new object. See help(type) for accurate signature.
| def OpenMayaRender.MSelectionInfo.selectable | ( | ) |
selectable(mask) -> bool Given the selection mask, determines if the shape is selectable. * mask (MSelectionMask) - The mask to test.
| def OpenMayaRender.MSelectionInfo.selectableComponent | ( | ) |
selectableComponent(displayed, mask) -> bool Given the selection mask, determines if the component is selectable. * displayed (bool) - Is the component displayed. * mask (MSelectionMask) - The mask to test.
| def OpenMayaRender.MSelectionInfo.selectForHilite | ( | ) |
selectForHilite(mask) -> bool Given the selection mask, determines if this shape can be selected for the hilite list. * mask (MSelectionMask) - The mask to test.
|
static |
The alignment matrix. This is used to find ray object intersection.
|
static |
The cursor point (x, y) relative to the lower left corner of the viewport.
|
static |
Whether or not there is a selection ray. This is used to find ray object intersection
|
static |
Whether or not we want to select a single shape or component.
|
static |
The selection ray (starting point and direction). This is used to find ray object intersection
|
static |
Whether or not selection is launched to find snap points.
|
static |
Whether or not we want to select the closest shape or component.
|
static |
Whether or not the components can only be selected if the shape is hilited.
|
static |
The current selection rectangle dimensions (x, y, width, height).