c4d.modules.bodypaint.TempUVHandle
¶
New in version R18.011.
c4d.modules.bodypaint.
TempUVHandle
¶
TempUVHandle.GetMode()
TempUVHandle.GetPoints()
TempUVHandle.GetPolys()
TempUVHandle.GetPolySel()
TempUVHandle.GetPolyHid()
TempUVHandle.GetUVPointSel()
TempUVHandle.GetPointCount()
TempUVHandle.GetPolyCount()
TempUVHandle.GetBaseObject()
TempUVHandle.IsEditable()
TempUVHandle.GetUVW()
TempUVHandle.SetUVW()
TempUVHandle.SetUVWFromTextureView()
TempUVHandle.
GetMode
(
)
¶
Retrieves the current UV editor mode.
| Return type: | int | ||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Returns: |
The UV editor mode:
|
TempUVHandle.
GetPoints
(
)
¶
Retrieves the read-only points array.
| Return type: |
list of
c4d.Vector
|
|---|---|
| Returns: | The points. |
TempUVHandle.
GetPolys
(
)
¶
Retrieves the read-only polygons array.
| Return type: |
list of
c4d.CPolygon
|
|---|---|
| Returns: | The polygons. |
TempUVHandle.
GetPolySel
(
)
¶
Retrieves the selected polygons.
| Return type: |
c4d.BaseSelect
|
|---|---|
| Returns: | The polygons selection. |
TempUVHandle.
GetPolyHid
(
)
¶
Retrieves the hidden polygons.
| Return type: |
c4d.BaseSelect
|
|---|---|
| Returns: | The hidden polygons selection. |
TempUVHandle.
GetUVPointSel
(
)
¶
Retrieves the selected UV points. The points are indexed by 4 * polygon + point where polygon is the polygon index and point is the point index between 0 and 3 .
| Return type: |
c4d.BaseSelect
|
|---|---|
| Returns: | The hidden polygons selection. |
TempUVHandle.
GetPointCount
(
)
¶
Retrieves the point count.
| Return type: | int |
|---|---|
| Returns: | The point count. |
TempUVHandle.
GetPolyCount
(
)
¶
Retrieves the polygon count.
| Return type: | int |
|---|---|
| Returns: | The polygon count. |
TempUVHandle.
GetBaseObject
(
)
¶
Retrieves the object of the UV set.
| Return type: |
c4d.BaseObject
|
|---|---|
| Returns: | The object of the UV set. |
TempUVHandle.
IsEditable
(
)
¶
Checks if UVs are editable or not. Polygon objects have editable UVs, object generators usually not.
| Return type: |
c4d.BaseObject
|
|---|---|
| Returns: | The object of the UV set. |
TempUVHandle.
GetUVW
(
)
¶
Retrieves the UV list.
| Return type: | list of dict(‘a’,’b’,’c’,’d’) |
|---|---|
| Returns: | The UV list. |
TempUVHandle.
SetUVW
(
uvw
)
¶
Applies changes of the UV set to the object.
| Parameters: | uvw ( list of dict ( ‘a’ , ’b’ , ’c’ , ’d’ ) ) – The UV list to set. |
|---|---|
| Return type: | bool |
| Returns: | True if successful, otherwise False . |
TempUVHandle.
SetUVWFromTextureView
(
uvw
,
ignoreHidden
,
ignoreUnselected
,
autoSelectAll
,
registerUndo
)
¶
Applies changes of the UV set to the object.
| Parameters: |
|
|---|---|
| Return type: |
bool |
| Returns: |
True if successful, otherwise False . |