Click or drag to resize

DecalTryGetColor Method

Blend color with the decal color at a given point.

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
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.
Version Information

Rhino for Windows

Supported in: 6.1 BETA
See Also