| MPxContext () | |
| ~MPxContext () | |
| toolOnSetup ( MEvent & event ) | |
| toolOffCleanup () | |
| doPress ( MEvent & event ) | |
| doRelease ( MEvent & event ) | |
| doDrag ( MEvent & event ) | |
| doHold ( MEvent & event ) | |
| doEnterRegion ( MEvent & event ) | |
| helpStateHasChanged ( MEvent & event ) | |
| deleteAction () | |
| completeAction () | |
| addManipulator ( const MObject & manipulator ) | |
| deleteManipulators () | |
| setImage ( const MString & image , ImageIndex index ) | |
| image ( ImageIndex index, MStatus * ReturnStatus = NULL ) const | |
| abortAction () | |
| processNumericalInput ( const MDoubleArray &values, const MIntArray &flags, bool isAbsolute ) | |
| feedbackNumericalInput () const | |
| argTypeNumericalInput ( unsigned int index ) const | |
| stringClassName () const | |
| getClassName ( MString & name ) const NO SCRIPT SUPPORT | |
| getImage ( MString & image , ImageIndex index ) const NO SCRIPT SUPPORT |
| setHelpString ( const MString & str ) USE _setHelpString() IN SCRIPT | |
| setTitleString ( const MString & str ) USE _setTitleString() IN SCRIPT | |
| setCursor ( const MCursor & cursor ) USE _setCursor() IN SCRIPT | |
| beginMarquee ( MEvent & event ) USE _beginMarquee() IN SCRIPT | |
| dragMarquee ( MEvent & event ) USE _dragMarquee() IN SCRIPT | |
| releaseMarquee ( MEvent & event, short& top, short& left, short& bottom, short& right ) USE _releaseMarquee() IN SCRIPT | |
| newToolCommand () CALL _newToolCommand() IN SCRIPT | |
| ignoreEntry ( const MIntArray &flags, unsigned int entry ) USE _ignoreEntry() IN SCRIPT |
void MPxExampleContext::getClassName(MString &name) const
{ name.set("exampleTool"); }
This name is used by Maya to call the appropriate
tool property sheet MEL scripts, specifically:
MString MPxExampleContext::stringClassName() const
{ return "exampleTool"; }
This name is used by Maya to call the appropriate
tool property sheet MEL scripts, specifically:
MFnPlugin::registerContextCommand( contextCommand, contextCommandCreator,
toolCommand, toolCommandCreator )
Return Value | Autodesk® Maya® 2008 © 1997-2007 Autodesk, Inc. All rights reserved. | doc++ Copyright |