Base class for all tools that function in concert with a 3D viewport.
Inherits :
Inherited By : DzPickTool and polygonselectiontool_dz
DAZ Script | |
---|---|
DzActionMenu | getOptionsMenu () |
void | activated () |
void | deactivated () |
void | drawnDataChanged () |
void | rebuildMenu () |
A DzViewTool is a tool that functions in concert with a 3D viewport. View tools are registered with the DzViewportMgr singleton and can be accessed/modified via script.
DzActionMenu : getOptionsMenu()
Derived classes can return a popup menu that will be displayed when the user selects the options menu for the “Tool Settings” pane.
Return Value:
void : activated()
Signature:“activated()”
Emitted when the view tool becomes the active tool in the viewport.
void : deactivated()
Signature:“deactivated()”
Emitted when the view tool stops being the active tool in the viewport.
void : drawnDataChanged()
Signature:“drawnDataChanged()”
Emitted when the view tool needs to be redrawn in the viewport.
void : rebuildMenu()
Signature:“rebuildMenu()”
Emitted when the option menu for the “Tool Settings” pane should be rebuilt to reflect options for the active tool.