Go to: Synopsis. Flags. Return value. MEL examples.

Synopsis

polyFlipUV [-constructionHistory boolean] [-createNewMap boolean] [-flipType int] [-insertBeforeDeformers boolean] [-local boolean] [-name string] [-uvSetName string]

polyFlipUV is undoable, queryable, and editable.

Flip (mirror) the UVs (in texture space) of input polyFaces, about either the U or V axis..

Flags

constructionHistory, createNewMap, flipType, insertBeforeDeformers, local, name, uvSetName
Long name (short name) [argument types] Properties
-createNewMap(-cm) boolean createquery
Create a new UV set, as opposed to editing the current one, or the one given by the uvSetName flag.

In query mode, this flag needs a value.

-uvSetName(-uvs) string createquery
Specifies the name of the UV set to edit uvs on. If not specified will use the current UV set if it exists.
When createNewMap is on, the name is used to generate a new unique UV set name.

In query mode, this flag needs a value.

-insertBeforeDeformers(-ibd) boolean create
This flag specifies if the polyFlipUV node should be inserted before or after deformer nodes already applied to the shape. Inserting the node after the deformer leads to texture swimming during animation and is most often undesirable.
C: Default is on.
-flipType(-ft) int createqueryedit
Flip along U or V direction.
0 Horizontal
1 Vertical

C: Default is 0.
Q: When queried returns an int.

In query mode, this flag needs a value.

-local(-l) boolean createqueryedit
Flips in the local space of the input faces.
C: Default is on.
Q: When queried returns an int.

In query mode, this flag needs a value.

-name(-n) string create
Name the resulting object.
-constructionHistory(-ch) boolean createquery
Turn the construction history on or off (where applicable).
Q: When queried, this flag returns an integer.

In query mode, this flag needs a value.


Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

Return value


string The node name.

MEL examples

// Create a poly sphere with default UVs.
polySphere -n sph;

// Flip uvs on all faces of the sphere shape.
polyFlipUV "sphShape.f[*]";