addIntersection(intersection) -> self
Maya calls this function for every selection hit on the render item.
The intersection gives information on the component that was hit.
* intersection (MIntersection) - The selection intersection.
OpenMayaRender.MPxComponentConverter.component
(
)
component() -> MObject
Once all of the geometry hits have been passed to the converter through calls to addIntersection(), Maya will call this method to retrieve the components corresponding to those hits.
Returns the component selection.
OpenMayaRender.MPxComponentConverter.initialize
(
)
initialize(renderItem) -> self
Maya calls this function to allow the converter to initialize itself for the selection on the given render item.
* renderItem (MRenderItem) - The render item.
selectionMask() -> MSelectionMask
Maya calls this function to allow the converter to specify the type of components it can handle..
Returns the selection mask.
The documentation for this class was generated from the following file: