Click or drag to resize

DecalTryGetColor Method

Note: This API is now obsolete.

Blend color with the decal color at a given point.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.10
Syntax
[ObsoleteAttribute("Incredibly slow call")]
public bool TryGetColor(
	Point3d point,
	Vector3d normal,
	ref Color4f colInOut,
	ref Point2d uvOut
)

Parameters

point
Type: Rhino.GeometryPoint3d
The point in space or, if the decal is uv-mapped, the uv-coordinate of that point.
normal
Type: Rhino.GeometryVector3d
The face normal of the given point.
colInOut
Type: Rhino.DisplayColor4f
The color to blend the decal color to.
uvOut
Type: Rhino.GeometryPoint2d
the UV on the texture that the color point was read from.

Return Value

Type: Boolean
true if the given point hits the decal, else false.
See Also