Click or drag to resize

TextureEvaluatorGetColor Method (Point3d, Vector3d, Vector3d)

Get the color of the texture at a particular point in uvw space. May be called from within a rendering shade pipeline. note For ray differentials see Pharr Humphreys, "Physically Based Rendering", chapter 11.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.1
Syntax
public virtual Color4f GetColor(
	Point3d uvw,
	Vector3d duvwdx,
	Vector3d duvwdy
)

Parameters

uvw
Type: Rhino.GeometryPoint3d
is the point for which to evaluate the texture.
duvwdx
Type: Rhino.GeometryVector3d
duvwdx is a ray differential.
duvwdy
Type: Rhino.GeometryVector3d
duvwdy is a ray differential.

Return Value

Type: Color4f
The texture color at this point in UV space.
See Also