x.__init__(...) initializes x; see help(type(x)) for signature
Member Function Documentation
OpenMayaRender.MHUDRender.addUIDrawables
(
)
addUIDrawables(drawManager2D, frameContext) -> self
Provides access to the 2D version of MUIDrawManager, which can be used to queue up operations to draw simple UI shapes like lines, circles, text, etc.
This method will only be called when hasUIDrawables() is overridden to return true.
* drawManager2D (MUIDrawManager) - A UI draw manager which can be used to draw simple 2D geometry, including text. When passing coordinates to the draw manager's methods, only X and Y have meaning. The origin (0, 0) is in the lower-left corner of the view.
* frameContext (MFrameContext) - Frame level context information.
OpenMayaRender.MHUDRender.hasUIDrawables
(
)
hasUIDrawables() -> bool
Query whether addUIDrawables() should be called or not.
OpenMayaRender.MHUDRender.name
(
)
name() -> string
Returns the unique name for a hud render operation.
Note that all HUD operations share the same name since they need not be distinguished from one another.
The documentation for this class was generated from the following file: