MeshVertexColorList
- class rhino3dm.MeshVertexColorList
- Count
int: Gets or sets the number of mesh colors.
- Capacity
int: Gets or sets the total number of vertex colors the internal data structure can hold without resizing.
- __len__()
[todo] add documentation
- __getitem__()
[todo] add documentation
- __setitem__()
[todo] add documentation
- Clear()
Clears the vertex color list on the mesh.
- Return type:
void
- Add(red, green, blue)
Adds a new vertex color to the end of the color list.
- Parameters:
red (int) – Red component of color, must be in the 0~255 range.
green (int) – Green component of color, must be in the 0~255 range.
blue (int) – Blue component of color, must be in the 0~255 range.
- Returns:
The index of the newly added color.
- Return type:
int