Go to: Synopsis. Return value. Flags. Python examples.
polyUVCoverage(
selectionItem[]
, [uvRange=[float, float, float, float]])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
polyUVCoverage is undoable, NOT queryable, and NOT editable.
Return the UV space coverage of the specified components.| float[] | UV space coverage percentage |
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
uvRange(ur)
|
[float, float, float, float]
|
|
||
|
||||
import maya.cmds as cmds
# Return UV coverage from selection list
cmds.polyUVCoverage()
# Result: [0.3799999952316284] #
# Return UV coverage from specified components with specified range
cmds.polyUVCoverage('pCube1.f[0:5]', usr=(0,0,2,2));
# Result: [0.09749999642372131] #