x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Member Function Documentation
OpenMayaRender.MSelectionInfo.selectable
(
)
selectable(mask) -> bool
Given the selection mask, determines if the shape is selectable.
* mask (MSelectionMask) - The mask to test.
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.
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.
Property Documentation
OpenMayaRender.MSelectionInfo.alignmentMatrix
static
The alignment matrix.
This is used to find ray object intersection.
OpenMayaRender.MSelectionInfo.cursorPoint
static
The cursor point (x, y) relative to the lower left corner of the viewport.
OpenMayaRender.MSelectionInfo.isRay
static
Whether or not there is a selection ray.
This is used to find ray object intersection
OpenMayaRender.MSelectionInfo.isSingleSelection
static
Whether or not we want to select a single shape or component.
OpenMayaRender.MSelectionInfo.localRay
static
The selection ray (starting point and direction).
This is used to find ray object intersection
OpenMayaRender.MSelectionInfo.pointSnapping
static
Whether or not selection is launched to find snap points.
OpenMayaRender.MSelectionInfo.selectClosest
static
Whether or not we want to select the closest shape or component.
OpenMayaRender.MSelectionInfo.selectOnHilitedOnly
static
Whether or not the components can only be selected if the shape is hilited.
OpenMayaRender.MSelectionInfo.selectRect
static
The current selection rectangle dimensions (x, y, width, height).