Go to: Synopsis. Return value. Flags. MEL examples.
polyUVCoverage [-uvRange float float float float]
selectionItem[]
polyUVCoverage is undoable, NOT queryable, and NOT editable.
Return the UV space coverage of the specified components.
If no objects are specified in the command line, then components from selection list will be used.
float[] | UV space coverage percentage |
uvRange
Long name (short name) |
Argument types |
Properties |
|
-uvRange(-ur)
|
float float float float
|
|
|
UV space range for calculating the coverage
The 4 values specify the minimum U, V and maximum U, V in that order. Default is 0.0 0.0 1.0 1.0.
|
|
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 UV coverage from selection list
//
polyUVCoverage;
// Result: 0.38 //
// Return UV coverage from specified components with specified range
//
polyUVCoverage -uvRange 0 0 2 2 pCube1.f[0:5];
// Result: 0.0979 //