#include
<MTextureEditorDrawInfo.h>
This class is used by drawUV method of MPxSurfaceShapeUI to specify the current UV drawing state for a user defined shape. API users must override the canDrawUV method on MPxSurfaceShapeUI to recieve drawUV calls. The only situation where the drawing style can change is during a selection event. However, selection events are currently not passed onto the API user. Therefore, most of the functionality in this class is place holder for future work.
Public Types |
|
| enum |
DrawingFunction { kDrawFunctionFirst = 1, kDrawWireframe = kDrawFunctionFirst, kDrawEverything, kDrawVertexForSelect, kDrawEdgeForSelect, kDrawFacetForSelect, kDrawUVForSelect, kDrawFunctionLast = kDrawUVForSelect } |
| Draw modes.
More... |
|
Public Member Functions |
|
| MTextureEditorDrawInfo () | |
| MTextureEditorDrawInfo (const MTextureEditorDrawInfo &in) | |
| virtual | ~MTextureEditorDrawInfo () |
| DrawingFunction | drawingFunction () const |
| void | setDrawingFunction ( DrawingFunction func) |
Draw modes.
| MTextureEditorDrawInfo::MTextureEditorDrawInfo | ( | ) |
Constructor.
| MTextureEditorDrawInfo::MTextureEditorDrawInfo | ( | const MTextureEditorDrawInfo & | other | ) |
Copy constructor.
| [in] | other | texture draw info object to copy |
| MTextureEditorDrawInfo::~MTextureEditorDrawInfo | ( | ) | [virtual] |
Destructor.
| MTextureEditorDrawInfo::DrawingFunction MTextureEditorDrawInfo::drawingFunction | ( | ) | const |
Indicates the current drawing state for a drawUV method call.
| void MTextureEditorDrawInfo::setDrawingFunction | ( | MTextureEditorDrawInfo::DrawingFunction | func | ) |
Sets the current drawing state. Currently the API user is unable to set these values. All drawing state values are determined internally and passed onto the API programmer.
| [in] | func | drawing function. |
| Autodesk® Maya® 2011 © 1997-2010 Autodesk, Inc. All rights reserved. | Generated with |