Click or drag to resize

MeshVertexColorListSetColor Method (MeshFace, Color)

Sets a color at the three or four vertex indices of a specified face.

Namespace:  Rhino.Geometry.Collections
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool SetColor(
	MeshFace face,
	Color color
)

Parameters

face
Type: Rhino.GeometryMeshFace
A face to use to retrieve indices.
color
Type: System.DrawingColor
A color.

Return Value

Type: Boolean
true on success; false on error.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also