c4d.UVWTag

Inheritance

Members

UVWTag.__init__(count)
Parameters: count (int) – The count of elements
Return type: UVWTag
Returns: A new UVW tag.
UVWTag.GetSlow(i)

Get the UVW coordinates for a polygon.

Parameters: i (int) – The index of the polygon to get the coordinates for.
Return type: c4d.Vector
Returns: The UVW coordinates.
UVWTag.GetSlow(i)

Get the UVW coordinate for a polygon:

for i in xrange(uvwtag.GetDataCount()):
    uvwdict = uvwtag.GetSlow(i)
    print uvwdict["a"]
    print uvwdict["b"]
    print uvwdict["c"]
    print uvwdict["d"]
Raises IndexError:
  Checks if i is out of range. 0<=i < VariableTag.GetDataCount()
Return type: dict{a: c4d.Vector, b: c4d.Vector, c: c4d.Vector, d: c4d.Vector}
Returns: The UVW coordinates.
UVWTag.SetSlow(i, a, b, c, d)

Set the UVW coordinates of a polygon.

Raises IndexError:
 

Checks if i is out of range. 0<=i < VariableTag.GetDataCount()

Parameters:
  • i (int) – The index of the polygon to set the coordinates for.
  • a (c4d.Vector) – The coordinate of the first point.
  • b (c4d.Vector) – The coordinate of the second point.
  • c (c4d.Vector) – The coordinate of the third point.
  • d (c4d.Vector) – The coordinate of the fourth point.
UVWTag.CpySlow(i, srctag, src)

Copy a UVW coordinate.

Raises IndexError:
 

Checks if i is out of range for self and/or src. The value i must be 0<=i < VariableTag.GetDataCount()

Parameters:
  • i (int) – The destinate polygon index in this UVWTag.
  • srctag (UVWTag) – The UVWTag for the source polygon.
  • src (int) – The source polygon index in this UVWTag.

Table Of Contents