#include <MPxPolyTweakUVCommand.h>
This is the base class for UV editing commands on polygonal objects.
The purpose of this command class is to simplify the process of moving UVs on a polygonal object. The use is only required to provide the new positions of the UVs that have been modified.
Public Member Functions | |
MPxPolyTweakUVCommand () | |
virtual | ~MPxPolyTweakUVCommand () |
virtual MStatus | parseSyntax (MArgDatabase &argData) |
virtual MStatus | getTweakedUVs (const MObject &mesh, MIntArray &uvList, MFloatArray &uPos, MFloatArray &vPos) |
Static Public Member Functions | |
static MSyntax | newSyntax () |
MPxPolyTweakUVCommand::MPxPolyTweakUVCommand | ( | ) |
Class constructor.
MPxPolyTweakUVCommand::~MPxPolyTweakUVCommand | ( | ) | [virtual] |
Class destructor.
MStatus MPxPolyTweakUVCommand::parseSyntax | ( | MArgDatabase & | argData | ) | [virtual] |
This method parses the additionnal flags before the command is executed.
MStatus MPxPolyTweakUVCommand::getTweakedUVs | ( | const MObject & | mesh, | |
MIntArray & | uvList, | |||
MFloatArray & | uPos, | |||
MFloatArray & | vPos | |||
) | [virtual] |
This computes and returns modified UVs.
[in] | mesh | The mesh object to be modified |
[in] | uvList | The list of UV Ids selected by the user. The method is allowed to change uvList on output. |
[out] | uPos | The new u values corresponding to the indices listed in uvList. |
[out] | vPos | The new v values corresponding to the indices listed in uvList. |
MSyntax MPxPolyTweakUVCommand::newSyntax | ( | ) | [static] |
This method creates and returns an MSyntax object required for the poly tweak UV proxy command.
Autodesk® Maya® 2009 © 1997-2008 Autodesk, Inc. All rights reserved. | Generated with 1.5.6 |