Click or drag to resize

TextureEvaluatorGetColor Method (Point3d, Vector3d, Vector3d, Color4f)

Optimized version of GetColor for callers. Much faster in the case of a native (C++) evaluator.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.0
Syntax
public bool GetColor(
	Point3d uvw,
	Vector3d duvwdx,
	Vector3d duvwdy,
	ref Color4f color
)

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.
color
Type: Rhino.DisplayColor4f
The texture color at this point in UV space.

Return Value

Type: Boolean
True if the evaluator returned a valid color. Otherwise false.
See Also