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) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public Color ColorAt(
	MeshPoint meshPoint
)

Parameters

meshPoint
Type: Rhino.GeometryMeshPoint
MeshPoint instance contiaining 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