Click or drag to resize

MeshColorAt Method (MeshPoint)

Evaluate a mesh color at a set of barycentric coordinates.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
public Color ColorAt(
	MeshPoint meshPoint


Type: Rhino.GeometryMeshPoint
MeshPoint instance containing a valid Face Index and Barycentric coordinates.

Return Value

Type: Color
The interpolated vertex color on the mesh or Color.Transparent if the faceIndex is not valid, if the barycentric coordinates could not be evaluated, or if there are no colors defined on the mesh.
See Also