Skip to content

M_Rhino_Geometry_Mesh_ColorAt

Will Pearson edited this page Aug 12, 2016 · 2 revisions

Mesh.ColorAt Method (MeshPoint)

Evaluate a mesh color at a set of barycentric coordinates.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public Color ColorAt(
	MeshPoint meshPoint
)

VB

Public Function ColorAt ( 
	meshPoint As MeshPoint
) As Color

Parameters

 

meshPoint
Type: Rhino.Geometry.MeshPoint
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.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Mesh Class
ColorAt Overload
Rhino.Geometry Namespace

Clone this wiki locally