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)
Since: 5.0
Syntaxpublic int Add(
int red,
int green,
int blue
)
Public Function Add (
red As Integer,
green As Integer,
blue As Integer
) As Integer
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:
Int32The index of the newly added color.
See Also