Go to: Synopsis. Return value. Keywords. Flags. MEL examples.
polyPinUV [-createHistory boolean] [-operation uint] [-uvSetName string] [-value float]
polyPinUV is undoable, queryable, and editable.
This command is used to pin and unpin UVs. A "pinned" UV is one which should not be modified.
Each UV has an associated pin weight, that defaults to 0.0 meaning that the UV is not pinned. If pin weight is set to 1.0 then it becomes fully pinned and UV tools should not modify that UV. If the pin weight is set to a value between 0.0 and 1.0 then UV tools should weight their changes to that UV accordingly.
UV pinning is not enforced by the shape node: it is up to each tool to decide whether it will obey the pin weights.
boolean | Success or Failure. |
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-createHistory(-ch)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-operation(-op)
|
uint
|
![]() ![]() ![]() |
||
|
||||
-uvSetName(-uvs)
|
string
|
![]() ![]() ![]() |
||
|
||||
-value(-v)
|
float
|
![]() ![]() ![]() ![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// To set a pin value of 0.9 on the selected UVs polyPinUV -value 0.9;