Click or drag to resize
MeshVertexColorListAdd Method (Int32, Int32, Int32)
Adds a new vertex color to the end of the color list.

Namespace: Rhino.Geometry.Collections
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public int Add(
	int red,
	int green,
	int blue
)

Parameters

red
Type: SystemInt32
Red component of color, must be in the 0~255 range.
green
Type: SystemInt32
Green component of color, must be in the 0~255 range.
blue
Type: SystemInt32
Blue component of color, must be in the 0~255 range.

Return Value

Type: Int32
The index of the newly added color.
See Also