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)
Since: 5.0
Syntaxpublic bool SetColor(
MeshFace face,
Color color
)
Public Function SetColor (
face As MeshFace,
color As Color
) As Boolean
Parameters
- face
- Type: Rhino.GeometryMeshFace
A face to use to retrieve indices. - color
- Type: System.DrawingColor
A color.
Return Value
Type:
Booleantrue on success; false on error.
See Also