Click or drag to resize

TextureSetRGBBlendValues Method

If the TextureCombineMode is Blend, then the blending function for RGB is determined by

new rgb = colorcolor + a0[0]*(current RGB) + a1[1]*(texture RGB) + a2[2]*min(current RGB,texture RGB) + a3[3]*max(current RGB,texture RGB)

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public void SetRGBBlendValues(
	Color color,
	double a0,
	double a1,
	double a2,
	double a3
)

Parameters

color
Type: System.DrawingColor

[Missing <param name="color"/> documentation for "M:Rhino.DocObjects.Texture.SetRGBBlendValues(System.Drawing.Color,System.Double,System.Double,System.Double,System.Double)"]

a0
Type: SystemDouble

[Missing <param name="a0"/> documentation for "M:Rhino.DocObjects.Texture.SetRGBBlendValues(System.Drawing.Color,System.Double,System.Double,System.Double,System.Double)"]

a1
Type: SystemDouble

[Missing <param name="a1"/> documentation for "M:Rhino.DocObjects.Texture.SetRGBBlendValues(System.Drawing.Color,System.Double,System.Double,System.Double,System.Double)"]

a2
Type: SystemDouble

[Missing <param name="a2"/> documentation for "M:Rhino.DocObjects.Texture.SetRGBBlendValues(System.Drawing.Color,System.Double,System.Double,System.Double,System.Double)"]

a3
Type: SystemDouble

[Missing <param name="a3"/> documentation for "M:Rhino.DocObjects.Texture.SetRGBBlendValues(System.Drawing.Color,System.Double,System.Double,System.Double,System.Double)"]

See Also