M_Rhino_Geometry_Mesh_ColorAt - mcneel/rhinocommon-api-docs GitHub Wiki
Evaluate a mesh color at a set of barycentric coordinates.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public Color ColorAt(
MeshPoint meshPoint
)
VB
Public Function ColorAt (
meshPoint As MeshPoint
) As Color
- meshPoint
- Type: Rhino.Geometry.MeshPoint
MeshPoint instance contiaining a valid Face Index and Barycentric coordinates.
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.
Supported in: 6.0.16224.21491, 5D58w