Click or drag to resize

RenderWindowSetRGBAChannelColors Method (Rectangle, Color4f)

Call this method to open the RenderWindow.StandardChannels.RGBA channel and set a block of color values

Namespace:  Rhino.Render
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public void SetRGBAChannelColors(
	Rectangle rectangle,
	Color4f[] colors
)

Parameters

rectangle
Type: System.DrawingRectangle
rectangle.X is the horizontal pixel position of the left edge. No validation is done on this value. The caller is responsible for ensuring that it is within the frame buffer. rectangle.Y is the vertical pixel position of the top edge. No validation is done on this value. The caller is responsible for ensuring that it is within the frame buffer. rectangle.Width is the width of the rectangle in pixels. No validation is done on this value. rectangle.Height is the height of the rectangle in pixels. No validation is done on this value.
colors
Type: Rhino.DisplayColor4f
Array of Color4f values used to set the RenderWindow.StandardChannels.RGBA
Version Information

Rhino for Windows

Supported in: 6.2
See Also